diff options
| author | azidar | 2016-01-07 17:15:31 -0800 |
|---|---|---|
| committer | azidar | 2016-01-16 14:28:18 -0800 |
| commit | 4569194392122ae4715549b2f0b9fffff051b278 (patch) | |
| tree | ecd079cefa6fb69d1f8c75bc0e75e38599bc0da4 /test/passes/jacktest/MemorySearch.fir | |
| parent | 2d583abda146dad8e0260928dcb19ad7136216b6 (diff) | |
Fixed a bunch of tests, and minor bugs
Diffstat (limited to 'test/passes/jacktest/MemorySearch.fir')
| -rw-r--r-- | test/passes/jacktest/MemorySearch.fir | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/passes/jacktest/MemorySearch.fir b/test/passes/jacktest/MemorySearch.fir index 1e07596c..1abc50a2 100644 --- a/test/passes/jacktest/MemorySearch.fir +++ b/test/passes/jacktest/MemorySearch.fir @@ -9,8 +9,7 @@ circuit MemorySearch : input reset : UInt<1> output done : UInt<1> - reg index : UInt<3>,clk,reset - onreset index <= UInt<3>(0) + reg index : UInt<3>,clk,reset,UInt<3>(0) wire elts : UInt<4>[7] elts[0] <= UInt<4>(0) elts[1] <= UInt<4>(4) @@ -19,7 +18,7 @@ circuit MemorySearch : elts[4] <= UInt<4>(2) elts[5] <= UInt<4>(5) elts[6] <= UInt<4>(13) - infer accessor elt = elts[index] + node elt = elts[index] node T_35 = not(en) node T_36 = eq(elt, target) node T_37 = eq(index, UInt<3>(7)) |
