aboutsummaryrefslogtreecommitdiff
path: root/test/integration/RightShiftTester.fir
diff options
context:
space:
mode:
authorAlbert Magyar2020-07-27 10:14:52 -0700
committerGitHub2020-07-27 10:14:52 -0700
commit3099fc1721514838f04fbf310c6a14616fc4e99a (patch)
tree57e37d731f7f89b3cb0605e3588737644f816c70 /test/integration/RightShiftTester.fir
parent3fcfbf363e7e04c759f0523d8c4a43427ccdf4a9 (diff)
parent1220a23ac9dfc26dbf5475ef064b644cdd1d7983 (diff)
Merge pull request #1528 from freechipsproject/conditionally-scopes
Create new scopes for child statements of Conditionally
Diffstat (limited to 'test/integration/RightShiftTester.fir')
-rw-r--r--test/integration/RightShiftTester.fir2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/RightShiftTester.fir b/test/integration/RightShiftTester.fir
index f15a1239..d85757b8 100644
--- a/test/integration/RightShiftTester.fir
+++ b/test/integration/RightShiftTester.fir
@@ -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)