[Script] Patch the yosys rewrite script to avoid existing blif outputs

This commit is contained in:
tangxifan 2021-03-10 13:47:30 -07:00
parent 7adb78b159
commit 0e772bc3b4
1 changed files with 2 additions and 2 deletions

View File

@ -19,12 +19,12 @@ synth -run check
# Clean and output blif
opt_clean -purge
write_blif ${OUTPUT_BLIF}
write_blif rewritten_${OUTPUT_BLIF}
# Clear all the designs
design -reset
# Rewrite the .blif to Verilog
# so that the pin sequence matches
read_blif ${OUTPUT_BLIF}
read_blif rewritten_${OUTPUT_BLIF}
write_verilog ${OUTPUT_VERILOG}