diff options
| author | jackbackrack | 2015-04-13 18:24:37 -0700 |
|---|---|---|
| committer | jackbackrack | 2015-04-13 18:24:37 -0700 |
| commit | e6beb7b3bbb745a7c7fde616bb349df1bdb7b764 (patch) | |
| tree | 392bc8ed6dc497aaa98329133bd135d729426e3d /test/chisel3/Tbl.fir | |
| parent | c140b1ffbcf7fb5b2bb05e93388b2c79f2ddf9f9 (diff) | |
new chisel3 tests
Diffstat (limited to 'test/chisel3/Tbl.fir')
| -rw-r--r-- | test/chisel3/Tbl.fir | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/chisel3/Tbl.fir b/test/chisel3/Tbl.fir new file mode 100644 index 00000000..273047b0 --- /dev/null +++ b/test/chisel3/Tbl.fir @@ -0,0 +1,16 @@ +circuit Tbl : + module Tbl : + output o : UInt(16) + input i : UInt(16) + input d : UInt(16) + input we : UInt(1) + + mem m : UInt(10)[256] + node T_13 : UInt(1) = UInt(0, 1) + o := T_13 + when we : + accessor T_14 = m[i] + T_14 := d + else : + accessor T_15 = m[i] + o := T_15
\ No newline at end of file |
