diff options
Diffstat (limited to 'tests/arch/anlogic/tribuf.v')
-rw-r--r-- | tests/arch/anlogic/tribuf.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/arch/anlogic/tribuf.v b/tests/arch/anlogic/tribuf.v new file mode 100644 index 000000000..90dd314e4 --- /dev/null +++ b/tests/arch/anlogic/tribuf.v @@ -0,0 +1,8 @@ +module tristate (en, i, o); + input en; + input i; + output o; + + assign o = en ? i : 1'bz; + +endmodule |