aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/riscv-mini/Core.fir10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/riscv-mini/Core.fir b/test/riscv-mini/Core.fir
index 06010573..eaa5697e 100644
--- a/test/riscv-mini/Core.fir
+++ b/test/riscv-mini/Core.fir
@@ -1,4 +1,4 @@
-; RUN: firrtl -i %s -o %s.v -X verilog -p c | tee %s.out | FileCheck %s
+; RUN: firrtl -i %s -o %s.v -X verilog -p cwT | tee %s.out | FileCheck %s
;CHECK: Done!
circuit Core :
@@ -195,12 +195,12 @@ circuit Core :
when T_1346 :
node T_1347 = eq(addr, UInt<12>(1310))
when T_1347 :
- node T_1348 = dshl(UInt<1>(1), src)
+ node T_1348 = dshl(UInt<1>(1), bits(src,5,0))
node T_1349 = bit-or(data, T_1348)
reg_tohost := T_1349
node T_1350 = eq(addr, UInt<12>(1290))
when T_1350 :
- node T_1351 = dshl(UInt<1>(1), src)
+ node T_1351 = dshl(UInt<1>(1), bits(src,5,0))
node T_1352 = bit-or(data, T_1351)
reg_status := T_1352
node T_1353 = eq(cmd, UInt<2>(3))
@@ -209,12 +209,12 @@ circuit Core :
when T_1355 :
node T_1356 = eq(addr, UInt<12>(1310))
when T_1356 :
- node T_1357 = dshl(UInt<1>(0), src)
+ node T_1357 = dshl(UInt<1>(0), bits(src,5,0))
node T_1358 = bit-and(data, T_1357)
reg_tohost := T_1358
node T_1359 = eq(addr, UInt<12>(1290))
when T_1359 :
- node T_1360 = dshl(UInt<1>(0), src)
+ node T_1360 = dshl(UInt<1>(0), bits(src,5,0))
node T_1361 = bit-and(data, T_1360)
reg_status := T_1361
module Datapath :