3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-06 11:20:27 +00:00

support other I/O configurations

This commit is contained in:
Miodrag Milanovic 2024-05-07 09:06:10 +02:00
parent 34f08bc639
commit 41ae513d60
3 changed files with 14 additions and 6 deletions

View file

@ -292,10 +292,10 @@ struct SynthNanoXplorePass : public ScriptPass
run("nx_carry");
}
if (help_mode || iopad) {
run("iopadmap -bits -outpad $__BEYOND_OBUF I:PAD -inpad $__BEYOND_IBUF O:PAD A:top", "(only if '-iopad')");
run("iopadmap -bits -outpad $__BEYOND_OBUF I:PAD -toutpad $__BEYOND_TOBUF C:I:PAD -inpad $__BEYOND_IBUF O:PAD -tinoutpad $__BEYOND_IOBUF C:O:I:PAD A:top", "(only if '-iopad')");
run("techmap -map +/nanoxplore/io_map.v");
run("attrmvcp -attr LOC t:NX_IOB_O n:*");
run("attrmvcp -attr LOC -driven t:NX_IOB_I n:*");
run("attrmvcp -attr LOC t:NX_IOB_O t:NX_IOB n:*");
run("attrmvcp -attr LOC -driven t:NX_IOB_I t:NX_IOB n:*");
}
run("opt -fast");
}