Skip to content

Commit 2bee39e

Browse files
authored
Merge pull request #208 from hdl/delete_print_cells
Add a line to synth.tcl to remove Yosys $print cells.
2 parents 2d34013 + 45752ca commit 2bee39e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

synthesis/synth.tcl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ yosys proc -nomux
5252
yosys proc_mux
5353
yosys flatten
5454

55+
# Remove $print cells. These cells represent Verilog $display() tasks.
56+
# Some place and route tools cannot handle these in the output Verilog,
57+
# so remove them here.
58+
yosys delete {*/t:$print}
59+
5560
# Remove internal only aliases for public nets and then give created instances
5661
# useful names. At this stage it is mainly flipflops created by the `proc`
5762
# pass.

0 commit comments

Comments
 (0)