File tree 4 files changed +10
-6
lines changed
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 8
8
.metals /
9
9
.vscode /
10
10
xs-issue-b-difftest-verilog /
11
+ xs-issue-e-b-difftest-verilog /
11
12
gen /
Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ test-top-chi-quadcore-2ul:
69
69
test-top-ut :
70
70
mill -i CoupledL2.test.runMain coupledL2.TestTopForUT -td $(BUILD_DIR ) /TestTop -e verilog
71
71
72
+ test-top-ut-release :
73
+ mill -i CoupledL2.test.runMain coupledL2.TestTopForUT -td $(BUILD_DIR ) /release/TestTop -e verilog
74
+
72
75
test-top-ut-mmio :
73
76
mill -i CoupledL2.test.runMain coupledL2.MMIOBridgeTop -td $(BUILD_DIR ) /MMIOBridgeTop -e verilog --no-dce
74
77
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- # RELEASE_RTL=1 make test-top-ut
6
- RELEASE_RTL=1 MMIOBRIDGE_TOP=1 make test-top-ut
5
+ RELEASE_RTL=1 make test-top-ut-release
6
+ # RELEASE_RTL=1 MMIOBRIDGE_TOP=1 make test-top-ut
7
7
8
- rtl_dir=$( pwd) /build/TestTop
8
+ rtl_dir=$( pwd) /build/release/ TestTop
9
9
gen_dir=$( pwd) /gen
10
10
mkdir -p $gen_dir
11
11
12
12
cp $rtl_dir /* .v $gen_dir
13
13
rm $gen_dir /ClockGate.v
14
14
15
- cp $( pwd) /xs-issue-b-difftest-verilog/rtl $gen_dir -r
15
+ cp $( pwd) /xs-issue-e- b-difftest-verilog/rtl $gen_dir -r
16
16
17
17
# Replace
18
18
sed -i ' s/TL2CHICoupledL2/bosc_TL2CHICoupledL2/g' $gen_dir /TestTop.v
@@ -38,10 +38,10 @@ sed -i '/\.io_l2_tlb_req_pmp_resp_st.*/d' $gen_dir/TestTop.v
38
38
sed -i ' /\.io_l2_tlb_req_pmp_resp_instr.*/d' $gen_dir /TestTop.v
39
39
sed -i ' /\.io_l2_tlb_req_pmp_resp_atomic.*/d' $gen_dir /TestTop.v
40
40
41
-
42
41
# Append
43
42
sed -i ' /\.auto_in_0_a_bits_echo_isKeyword(l2_nodes_auto_in_0_a_bits_echo_isKeyword),/a .auto_in_0_a_bits_user_reqSource(0),' $gen_dir /TestTop.v
44
43
sed -i ' /\.auto_in_1_a_bits_echo_isKeyword(l2_nodes_auto_in_1_a_bits_echo_isKeyword),/a .auto_in_1_a_bits_user_reqSource(0),' $gen_dir /TestTop.v
45
44
sed -i ' /\.auto_in_2_a_bits_echo_isKeyword(l2_nodes_auto_in_2_a_bits_echo_isKeyword),/a .auto_in_2_a_bits_user_reqSource(0),' $gen_dir /TestTop.v
46
45
sed -i ' /\.auto_in_3_a_bits_echo_isKeyword(l2_nodes_auto_in_3_a_bits_echo_isKeyword),/a .auto_in_3_a_bits_user_reqSource(0),' $gen_dir /TestTop.v
47
46
47
+ echo " gen.sh Finish"
Original file line number Diff line number Diff line change @@ -443,7 +443,7 @@ object TestTopForUT extends App {
443
443
444
444
// prefetch = Seq(BOPParameters()),
445
445
)
446
- case CHIIssue => if (isReleaseRTL) " B " else " E.b"
446
+ case CHIIssue => if (isReleaseRTL) " E.b " else " E.b"
447
447
})
448
448
449
449
val top = DisableMonitors (
You can’t perform that action at this time.
0 commit comments