-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add -blackbox flag to cutpoint pass, for substituting black/white box…
…es with $anyseq and removing their black/white attribute.
- Loading branch information
1 parent
72f77dd
commit 734ea52
Showing
2 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
read_verilog <<EOT | ||
module passthrough( | ||
input wire in, // Input signal | ||
output wire out // Output signal | ||
); | ||
|
||
// Assign the output to be the same as the input | ||
assign out = in; | ||
|
||
endmodule | ||
EOT | ||
cutpoint -blackbox =* | ||
select -assert-count 1 =t:$anyseq | ||
|
||
design -reset | ||
|
||
read_verilog <<EOT | ||
(* blackbox *) | ||
module passthrough( | ||
input wire in, // Input signal | ||
output wire out // Output signal | ||
); | ||
|
||
// Assign the output to be the same as the input | ||
assign out = in; | ||
|
||
endmodule | ||
EOT | ||
cutpoint -blackbox =* | ||
select -assert-count 1 =t:$anyseq |