diff options
author | clairexen <claire@symbioticeda.com> | 2020-07-16 18:33:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 18:33:56 +0200 |
commit | 9a5d6e178976a43ff3f875ea8630f94b6abb64c0 (patch) | |
tree | a335b8c51d5fa96443bf43c9aedfe65057c87f51 /techlibs/sf2/synth_sf2.cc | |
parent | f3d7e9a1df9cef87f51c8f5a8fb0b4f47ddcb2af (diff) | |
parent | 7dc0439de426483013a445122643e930b0bd0fa2 (diff) | |
download | yosys-9a5d6e178976a43ff3f875ea8630f94b6abb64c0.tar.gz yosys-9a5d6e178976a43ff3f875ea8630f94b6abb64c0.tar.bz2 yosys-9a5d6e178976a43ff3f875ea8630f94b6abb64c0.zip |
Merge pull request #2229 from Ravenslofty/sf2_remove_sf2_iobs
sf2: replace sf2_iobs with {clkbuf,iopad}map
Diffstat (limited to 'techlibs/sf2/synth_sf2.cc')
-rw-r--r-- | techlibs/sf2/synth_sf2.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/techlibs/sf2/synth_sf2.cc b/techlibs/sf2/synth_sf2.cc index e0c2a64fe..cd29a9c21 100644 --- a/techlibs/sf2/synth_sf2.cc +++ b/techlibs/sf2/synth_sf2.cc @@ -210,10 +210,12 @@ struct SynthSf2Pass : public ScriptPass if (check_label("map_iobs")) { - if (help_mode) - run("sf2_iobs [-clkbuf]", "(unless -noiobs)"); - else if (iobs) - run(clkbuf ? "sf2_iobs -clkbuf" : "sf2_iobs"); + if (help_mode || iobs) { + if (help_mode || clkbuf) { + run("clkbufmap -buf CLKINT Y:A -inpad CLKBUF Y:PAD", "(if -clkbuf, unless -noiobs)"); + } + run("iopadmap -bits -inpad INBUF Y:PAD -outpad OUTBUF D:PAD -toutpad TRIBUFF E:D:PAD -tinoutpad BIBUF E:Y:D:PAD", "(unless -noiobs"); + } run("clean"); } |