mirror of https://github.com/YosysHQ/yosys.git
Merge mistake
This commit is contained in:
parent
f81a0ed92e
commit
23a73ca624
|
@ -259,13 +259,6 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
run("dff2dffe");
|
run("dff2dffe");
|
||||||
run("opt -full");
|
run("opt -full");
|
||||||
|
|
||||||
if (vpr && !nocarry && !help_mode)
|
|
||||||
run("techmap -map +/xilinx/arith_map.v -D _EXPLICIT_CARRY");
|
|
||||||
else if (abc == "abc9" && !nocarry && !help_mode)
|
|
||||||
run("techmap -map +/xilinx/arith_map.v -D _CLB_CARRY", "(skip if '-nocarry')");
|
|
||||||
else if (!nocarry || help_mode)
|
|
||||||
run("techmap -map +/xilinx/arith_map.v", "(skip if '-nocarry')");
|
|
||||||
|
|
||||||
if (!nosrl || help_mode) {
|
if (!nosrl || help_mode) {
|
||||||
// shregmap operates on bit-level flops, not word-level,
|
// shregmap operates on bit-level flops, not word-level,
|
||||||
// so break those down here
|
// so break those down here
|
||||||
|
@ -274,13 +267,12 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
run("shregmap -tech xilinx -minlen 3", "(skip if '-nosrl')");
|
run("shregmap -tech xilinx -minlen 3", "(skip if '-nosrl')");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!nomux || help_mode)
|
if (vpr && !nocarry && !help_mode)
|
||||||
run("techmap -map +/xilinx/cells_map.v");
|
run("techmap -map +/techmap.v -map +/xilinx/arith_map.v -D _EXPLICIT_CARRY");
|
||||||
|
else if (abc == "abc9" && !nocarry && !help_mode)
|
||||||
if (!vpr || help_mode)
|
run("techmap -map +/techmap.v -map +/xilinx/arith_map.v -D _CLB_CARRY", "(skip if '-nocarry')");
|
||||||
run("techmap -map +/techmap.v -map +/xilinx/arith_map.v");
|
else if (!nocarry || help_mode)
|
||||||
else
|
run("techmap -map +/techmap.v -map +/xilinx/arith_map.v", "(skip if '-nocarry')");
|
||||||
run("techmap -map +/techmap.v +/xilinx/arith_map.v -D _EXPLICIT_CARRY");
|
|
||||||
|
|
||||||
run("opt -fast");
|
run("opt -fast");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue