You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"-e: Specify a example project. For example: -e counter. If not specified, the default directory \"cpu\" will be used."
11
11
echo"-b: Build project using verilator and make tools automatically. It will generate the \"build\"(difftest) or \"build_test\" subfolder under the project directory."
@@ -20,6 +20,8 @@ help() {
20
20
echo"-d: Connect to XiangShan difftest framework."
21
21
echo"-m: Parameters passed to the difftest makefile. For example: -m \"EMU_TRACE=1 EMU_THREADS=4\". Multiple parameters require double quotes."
22
22
echo"-r: Run all test cases of the specified directory in the \"bin\" directory. For example: -r \"case1 case2\". This option requires the project to be able to connect to difftest."
23
+
echo"-v: Parameters passed to verilator. For example: -v '--timescale \"1ns/1ns\"'"
24
+
echo"-y: Connect to ysyx SoC."
23
25
exit 0
24
26
}
25
27
@@ -115,31 +117,61 @@ build_diff_proj() {
115
117
compile_difftest
116
118
}
117
119
120
+
build_soc_proj() {
121
+
mkdir -p $BUILD_PATH/vsrc $BUILD_PATH/csrc
122
+
123
+
if [[ !-f"$PROJECT_PATH/$VSRC_FOLDER/ysyx_${ID:0-6}.v" ]];then
124
+
echo"$VSRC_FOLDER/ysyx_${ID:0-6}.v not detected. Please follow the README of ysyxSoC to get this file."
0 commit comments