3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-13 01:16:16 +00:00

machxo2: synth_machxo2 now maps ports to FACADE_IO.

This commit is contained in:
William D. Jones 2020-11-26 13:39:40 -05:00 committed by Marcelina Kościelnicka
parent 03cbf1327d
commit c76f361b56
2 changed files with 12 additions and 0 deletions

View file

@ -173,6 +173,11 @@ struct SynthMachXO2Pass : public ScriptPass
run("opt -fast");
}
if (check_label("map_ios"))
{
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");
}
if (check_label("map_ffs"))
{
run("dfflegalize -cell $_DFF_P_ 0");