From: gatecat Date: Wed, 19 Jan 2022 16:04:55 +0000 (+0000) Subject: nexus: Fix BB sim model X-Git-Tag: yosys-0.14~25 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f699c4ba5828bc5352068fa536e48b8046dc44d9;p=yosys.git nexus: Fix BB sim model Signed-off-by: gatecat --- diff --git a/techlibs/nexus/cells_sim.v b/techlibs/nexus/cells_sim.v index 1e876a210..d1c8bf0d7 100644 --- a/techlibs/nexus/cells_sim.v +++ b/techlibs/nexus/cells_sim.v @@ -54,8 +54,8 @@ endmodule // Bidirectional IO buffer module BB(input T, I, output O, (* iopad_external_pin *) inout B); - assign B = T ? 1'bz : O; - assign I = B; + assign B = T ? 1'bz : I; + assign O = B; endmodule // Input buffer