read_verilog cells_box.v before techmap

This commit is contained in:
Eddie Hung 2019-04-16 12:41:56 -07:00
parent d259e6dc14
commit 5189695362
1 changed files with 1 additions and 1 deletions

View File

@ -282,8 +282,8 @@ struct SynthXilinxPass : public Pass
if (check_label(active, run_from, run_to, "map_luts"))
{
Pass::call(design, "opt -full");
Pass::call(design, "techmap -map +/techmap.v");
Pass::call(design, "read_verilog +/xilinx/cells_box.v");
Pass::call(design, "techmap -map +/techmap.v");
if (abc == "abc9")
Pass::call(design, abc + " -lut +/xilinx/cells.lut -box +/xilinx/cells.box" + string(retime ? " -dff" : ""));
else