3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-23 11:37:55 +00:00

Added tri-state I/O extraction for GreenPak

This commit is contained in:
Andrew Zonenberg 2016-05-03 22:53:29 -07:00
parent 66095153fd
commit dcee3256d5
5 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,15 @@
//Wrapper module to patch up output of iopadmap
module GP_IOBUF(input IN, output OUT, input OE, inout IO);
GP_IBUF ibuf(
.IN(IO),
.OUT(OUT)
);
$_TBUF_ tbuf(
.A(IN),
.E(OE),
.Y(OUT)
);
endmodule