Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Update RightShiftTests.fir to avoid buggy Counter pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-magyar committed Apr 14, 2020
1 parent 0407a53 commit 5b39a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/RightShiftTester.fir
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ circuit RightShiftTester :
dut.clock <= clock
dut.reset <= reset
reg T_6 : UInt<2>, clock with : (reset => (reset, UInt<2>("h00")))
node T_8 = eq(T_6, UInt<2>("h03"))
when UInt<1>("h01") :
node T_8 = eq(T_6, UInt<2>("h03"))
node T_10 = and(UInt<1>("h00"), T_8)
node T_13 = add(T_6, UInt<1>("h01"))
node T_14 = tail(T_13, 1)
Expand Down

0 comments on commit 5b39a7f

Please sign in to comment.