Skip to content

Commit f4e441d

Browse files
authored
Merge pull request #120 from os-fpga/bug_sim_status
Fix bug in python script related to sim status
2 parents dd1ffa8 + c9d4cdf commit f4e441d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/digest_sim.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ jobs:
142142
;;
143143
"fail")
144144
echo "updates are from ${{ matrix.scenarios }}"
145-
echo "email_ids=${{ secrets.EMAIL_IDS }}" >> $GITHUB_ENV
146-
#echo "email_ids=${{ secrets.ONLY_EMAIL_ID }}" >> $GITHUB_ENV
145+
#echo "email_ids=${{ secrets.EMAIL_IDS }}" >> $GITHUB_ENV
146+
echo "email_ids=${{ secrets.ONLY_EMAIL_ID }}" >> $GITHUB_ENV
147147
;;
148148
"no_tb")
149149
echo "updates are from ${{ matrix.scenarios }}"

primitive_parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ def diff_copy_parse(src_path, dest_path):
362362
print("-------------------------------Failure----------------------------------", sim_fail_list)# if not is_directory_empty(tb_directory):
363363
else:
364364
sim_fail_list.append(dest_path + prims + ".v")
365+
sim_status = False
365366
print("-------------------------------Simulation Compilation failure----------------------------------")
366367

367368

@@ -408,6 +409,7 @@ def diff_copy_parse(src_path, dest_path):
408409
else:
409410
print("-------------------------------Simulation Failure----------------------------------")
410411
else:
412+
sim_status = False
411413
print("-------------------------------Simulation Compilation failure----------------------------------")
412414

413415

0 commit comments

Comments
 (0)