mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-18 20:03:39 +00:00
machxo2: Improve help_mode output in synth_machxo2.
This commit is contained in:
parent
3674eb34d4
commit
120404bfda
1 changed files with 5 additions and 5 deletions
|
@ -160,7 +160,7 @@ struct SynthMachXO2Pass : public ScriptPass
|
||||||
|
|
||||||
if (check_label("flatten", "(unless -noflatten)"))
|
if (check_label("flatten", "(unless -noflatten)"))
|
||||||
{
|
{
|
||||||
if (flatten) {
|
if (flatten || help_mode) {
|
||||||
run("proc");
|
run("proc");
|
||||||
run("flatten");
|
run("flatten");
|
||||||
run("tribuf -logic");
|
run("tribuf -logic");
|
||||||
|
@ -181,13 +181,13 @@ struct SynthMachXO2Pass : public ScriptPass
|
||||||
run("opt -fast");
|
run("opt -fast");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_label("map_ios"))
|
if (check_label("map_ios", "(unless -noiopad)"))
|
||||||
{
|
{
|
||||||
if (!noiopad || help_mode)
|
if (!noiopad || help_mode)
|
||||||
{
|
{
|
||||||
run("iopadmap -bits -outpad $__FACADE_OUTPAD I:O -inpad $__FACADE_INPAD O:I -toutpad $__FACADE_TOUTPAD OE:I:O -tinoutpad $__FACADE_TINOUTPAD OE:O:I:B A:top", "(skip if '-noiopad')");
|
run("iopadmap -bits -outpad $__FACADE_OUTPAD I:O -inpad $__FACADE_INPAD O:I -toutpad $__FACADE_TOUTPAD OE:I:O -tinoutpad $__FACADE_TINOUTPAD OE:O:I:B A:top");
|
||||||
run("attrmvcp -attr src -attr LOC t:$__FACADE_OUTPAD %x:+[O] t:$__FACADE_TOUTPAD %x:+[O] t:$__FACADE_TINOUTPAD %x:+[B]", "(skip if '-noiopad')");
|
run("attrmvcp -attr src -attr LOC t:$__FACADE_OUTPAD %x:+[O] t:$__FACADE_TOUTPAD %x:+[O] t:$__FACADE_TINOUTPAD %x:+[B]");
|
||||||
run("attrmvcp -attr src -attr LOC -driven t:$__FACADE_INPAD %x:+[I]", "(skip if '-noiopad')");
|
run("attrmvcp -attr src -attr LOC -driven t:$__FACADE_INPAD %x:+[I]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue