mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-09 10:51:53 +00:00
synth_xilinx: error out if tristate without '-iopad'
This commit is contained in:
parent
abf99d4dae
commit
3bd623bb05
|
@ -306,6 +306,10 @@ struct SynthXilinxPass : public ScriptPass
|
|||
run("proc");
|
||||
if (flatten || help_mode)
|
||||
run("flatten", "(with '-flatten')");
|
||||
active_design->scratchpad_unset("tribuf.added_something");
|
||||
run("tribuf -logic");
|
||||
if (!do_iopad && active_design->scratchpad_get_bool("tribuf.added_something"))
|
||||
log_error("Tristate buffers are unsupported without the '-iopad' option.\n");
|
||||
run("tribuf -logic");
|
||||
run("deminout");
|
||||
run("opt_expr");
|
||||
|
|
Loading…
Reference in a new issue