From deb1eccab5bad3e5a090254e0d3a069a3c474d8b Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Wed, 4 May 2016 08:06:18 -0700 Subject: [PATCH] Fixed incorrect signal naming in GP_IOBUF --- techlibs/greenpak4/cells_sim.v | 4 ++-- 1 file 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); -- 2.30.2