aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2016-05-04 08:06:18 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2016-05-04 08:06:18 -0700
commitdeb1eccab5bad3e5a090254e0d3a069a3c474d8b (patch)
tree736591df308433d89433090d1ba95df63b3b20a0 /techlibs
parent2db8dd6d354b8d29382054668ae34e7852b413a2 (diff)
downloadyosys-deb1eccab5bad3e5a090254e0d3a069a3c474d8b.tar.gz
yosys-deb1eccab5bad3e5a090254e0d3a069a3c474d8b.tar.bz2
yosys-deb1eccab5bad3e5a090254e0d3a069a3c474d8b.zip
Fixed incorrect signal naming in GP_IOBUF
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/greenpak4/cells_sim.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/greenpak4/cells_sim.v b/techlibs/greenpak4/cells_sim.v
index b419302fd..6c3ffcaa0 100644
--- a/techlibs/greenpak4/cells_sim.v
+++ b/techlibs/greenpak4/cells_sim.v
@@ -139,8 +139,8 @@ module GP_IBUF(input IN, output OUT);
endmodule
module GP_IOBUF(input IN, input OE, output OUT, inout IO);
- assign IN = IO;
- assign IO = OE ? OUT : 1'bz;
+ assign OUT = IO;
+ assign IO = OE ? IN : 1'bz;
endmodule
module GP_INV(input IN, output OUT);