diff options
author | Andrew Zonenberg <azonenberg@drawersteak.com> | 2016-05-03 22:53:29 -0700 |
---|---|---|
committer | Andrew Zonenberg <azonenberg@drawersteak.com> | 2016-05-03 22:53:29 -0700 |
commit | dcee3256d59907c474542e0dfd24df7c047e6f50 (patch) | |
tree | 1857cc6054324bd3e6b96694fb0d8f3d41142931 /techlibs/greenpak4/cells_map.v | |
parent | 66095153fd6110dbe84552175d4919f4f5fd75fc (diff) | |
download | yosys-dcee3256d59907c474542e0dfd24df7c047e6f50.tar.gz yosys-dcee3256d59907c474542e0dfd24df7c047e6f50.tar.bz2 yosys-dcee3256d59907c474542e0dfd24df7c047e6f50.zip |
Added tri-state I/O extraction for GreenPak
Diffstat (limited to 'techlibs/greenpak4/cells_map.v')
-rw-r--r-- | techlibs/greenpak4/cells_map.v | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/techlibs/greenpak4/cells_map.v b/techlibs/greenpak4/cells_map.v index 1bc0bcda4..b7d750ae0 100644 --- a/techlibs/greenpak4/cells_map.v +++ b/techlibs/greenpak4/cells_map.v @@ -24,6 +24,15 @@ module GP_DFFR(input D, CLK, nRST, output reg Q); ); endmodule +module GP_OBUFT(input IN, input OE, output OUT); + GP_IOBUF _TECHMAP_REPLACE_ ( + .IN(IN), + .OE(OE), + .IO(OUT), + .OUT() + ); +endmodule + module \$lut (A, Y); parameter WIDTH = 0; parameter LUT = 0; |