Skip to content

Commit

Permalink
Merge pull request #208 from hdl/delete_print_cells
Browse files Browse the repository at this point in the history
Add a line to synth.tcl to remove Yosys $print cells.
  • Loading branch information
QuantamHD authored Oct 31, 2023
2 parents 2d34013 + 45752ca commit 2bee39e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synthesis/synth.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ yosys proc -nomux
yosys proc_mux
yosys flatten

# Remove $print cells. These cells represent Verilog $display() tasks.
# Some place and route tools cannot handle these in the output Verilog,
# so remove them here.
yosys delete {*/t:$print}

# Remove internal only aliases for public nets and then give created instances
# useful names. At this stage it is mainly flipflops created by the `proc`
# pass.
Expand Down

0 comments on commit 2bee39e

Please sign in to comment.