mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #657 from mithro/xilinx-vpr
xilinx: Still map LUT7/LUT8 to Xilinx specific primitives when using `-vpr`
This commit is contained in:
commit
24a5c65856
|
@ -235,10 +235,9 @@ struct SynthXilinxPass : public Pass
|
|||
|
||||
if (check_label(active, run_from, run_to, "map_cells"))
|
||||
{
|
||||
Pass::call(design, "techmap -map +/xilinx/cells_map.v");
|
||||
if (vpr)
|
||||
Pass::call(design, "techmap -D NO_LUT -map +/xilinx/cells_map.v");
|
||||
else
|
||||
Pass::call(design, "techmap -map +/xilinx/cells_map.v");
|
||||
Pass::call(design, "techmap -map +/xilinx/lut2lut.v");
|
||||
Pass::call(design, "dffinit -ff FDRE Q INIT -ff FDCE Q INIT -ff FDPE Q INIT");
|
||||
Pass::call(design, "clean");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue