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:
parent
66095153fd
commit
dcee3256d5
5 changed files with 29 additions and 2 deletions
15
techlibs/greenpak4/cells_extract.v
Normal file
15
techlibs/greenpak4/cells_extract.v
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue