From f699c4ba5828bc5352068fa536e48b8046dc44d9 Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 19 Jan 2022 16:04:55 +0000 Subject: [PATCH] nexus: Fix BB sim model Signed-off-by: gatecat --- techlibs/nexus/cells_sim.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2