Fixed incorrect signal naming in GP_IOBUF

This commit is contained in:
Andrew Zonenberg 2016-05-04 08:06:18 -07:00
parent 2db8dd6d35
commit deb1eccab5
1 changed files with 2 additions and 2 deletions

View File

@ -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);