Skip to content

Commit 589567b

Browse files
committed
Optimize difftest compilation logic
1 parent 568357d commit 589567b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
VERSION="1.20"
3+
VERSION="1.21"
44

55
help() {
66
echo "Version v"$VERSION
@@ -110,7 +110,7 @@ build_diff_proj() {
110110
compile_chisel
111111

112112
# Refresh the modification time of the top file, otherwise some changes to the RTL source code will not take effect in next compilation.
113-
touch -m `find $BUILD_PATH -name $DIFFTEST_TOP_FILE` 1>/dev/null 2>&1
113+
touch -m `find $PROJECT_PATH/$VSRC_FOLDER -name $DIFFTEST_TOP_FILE` 1>/dev/null 2>&1
114114
# create soft link ($BUILD_PATH/*.v -> $PROJECT_PATH/$VSRC_FOLDER/*.v)
115115
create_soft_link $BUILD_PATH $PROJECT_PATH/$VSRC_FOLDER \"*.v\"
116116

0 commit comments

Comments
 (0)