projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3648268
)
nexus: Fix BB sim model
author
gatecat
<gatecat@ds0.me>
Wed, 19 Jan 2022 16:04:55 +0000
(16:04 +0000)
committer
gatecat
<gatecat@ds0.me>
Wed, 19 Jan 2022 18:14:24 +0000
(18:14 +0000)
Signed-off-by: gatecat <gatecat@ds0.me>
techlibs/nexus/cells_sim.v
patch
|
blob
|
history
diff --git
a/techlibs/nexus/cells_sim.v
b/techlibs/nexus/cells_sim.v
index 1e876a210d61e2241ae63a62bff65627f9c81c55..d1c8bf0d7bf432421ab180e05cbd336a970cf23a 100644
(file)
--- 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