mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 01:54:10 +00:00
Merge pull request #4215 from povik/xprop-race
Address race in `xprop` tests
This commit is contained in:
commit
edd154e3cd
1
.github/workflows/test-linux.yml
vendored
1
.github/workflows/test-linux.yml
vendored
|
@ -86,7 +86,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/steveicarus/iverilog.git
|
git clone https://github.com/steveicarus/iverilog.git
|
||||||
cd iverilog
|
cd iverilog
|
||||||
git checkout 192b6aec96fde982e6ddcb28b346d5893aa8e874
|
|
||||||
echo "IVERILOG_GIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
echo "IVERILOG_GIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Cache iverilog
|
- name: Cache iverilog
|
||||||
|
|
1
.github/workflows/test-macos.yml
vendored
1
.github/workflows/test-macos.yml
vendored
|
@ -42,7 +42,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/steveicarus/iverilog.git
|
git clone https://github.com/steveicarus/iverilog.git
|
||||||
cd iverilog
|
cd iverilog
|
||||||
git checkout 192b6aec96fde982e6ddcb28b346d5893aa8e874
|
|
||||||
echo "IVERILOG_GIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
echo "IVERILOG_GIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Cache iverilog
|
- name: Cache iverilog
|
||||||
|
|
|
@ -270,8 +270,9 @@ if "prepare" in steps:
|
||||||
print("initial begin", file=tb_file)
|
print("initial begin", file=tb_file)
|
||||||
|
|
||||||
for pattern in patterns:
|
for pattern in patterns:
|
||||||
|
# A[0] might be the clock which requires special sequencing
|
||||||
print(
|
print(
|
||||||
f' gclk = 1; #0; A[0] = 1\'b{pattern[-1]}; #0; A = {input_width}\'b{pattern}; #5; gclk = 0; $display("%b %b", A, Y); #5',
|
f' #0; gclk = 1; #0; A[0] = 1\'b{pattern[-1]}; #0; A = {input_width}\'b{pattern}; #5; gclk = 0; $display("%b %b", A, Y); #5',
|
||||||
file=tb_file,
|
file=tb_file,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue