From: Andrew Zonenberg Date: Wed, 4 May 2016 15:06:18 +0000 (-0700) Subject: Fixed incorrect signal naming in GP_IOBUF X-Git-Tag: yosys-0.7~235^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=deb1eccab5bad3e5a090254e0d3a069a3c474d8b;p=yosys.git Fixed incorrect signal naming in GP_IOBUF --- 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);