diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2022-02-04 09:03:36 +1000 |
---|---|---|
committer | YRabbit <rabbit@yrabbit.cyou> | 2022-02-04 09:03:36 +1000 |
commit | eb5d3b3197b18b9bc3990dac85faee63f17f3f16 (patch) | |
tree | 71bb36fd895b888c1a01ea044b3ad4587d07ce9d /mistral/io.cc | |
parent | 604260a0d7344627cea82198512384319c705105 (diff) | |
parent | 5007cd3603d71f10924bb97acfe42d50d2ebcbd4 (diff) | |
download | nextpnr-eb5d3b3197b18b9bc3990dac85faee63f17f3f16.tar.gz nextpnr-eb5d3b3197b18b9bc3990dac85faee63f17f3f16.tar.bz2 nextpnr-eb5d3b3197b18b9bc3990dac85faee63f17f3f16.zip |
Merge branch 'master' into diff-locations
Diffstat (limited to 'mistral/io.cc')
-rw-r--r-- | mistral/io.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mistral/io.cc b/mistral/io.cc index a0a01af3..c8d0238d 100644 --- a/mistral/io.cc +++ b/mistral/io.cc @@ -30,7 +30,7 @@ void Arch::create_gpio(int x, int y) WireId pad = add_wire(x, y, id(stringf("PAD[%d]", z))); BelId bel = add_bel(x, y, id(stringf("IO[%d]", z)), id_MISTRAL_IO); add_bel_pin(bel, id_PAD, PORT_INOUT, pad); - if(has_port(CycloneV::GPIO, x, y, z, CycloneV::DATAOUT, 0)) { + if (has_port(CycloneV::GPIO, x, y, z, CycloneV::DATAOUT, 0)) { // FIXME: is the port index of zero always correct? add_bel_pin(bel, id_I, PORT_IN, get_port(CycloneV::GPIO, x, y, z, CycloneV::DATAOUT, 0)); add_bel_pin(bel, id_OE, PORT_IN, get_port(CycloneV::GPIO, x, y, z, CycloneV::OEIN, 0)); |