Skip to content

Commit 3d1d6f4

Browse files
authored
Merge pull request The-OpenROAD-Project#2663 from Pinata-Consulting/mock-array-fixes
Mock array fixes
2 parents 8c08a12 + d78c3c4 commit 3d1d6f4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

flow/designs/asap7/mock-array/simulate.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ cp $FLOW_HOME/results/asap7/mock-array_Element/base/6_final.v $POST_DIR/MockArra
1818

1919
# Run simulation and have Verilator write the output files to the objects area
2020
verilator -Wall --cc \
21+
--timescale 1ps/1ps \
2122
-Wno-DECLFILENAME \
2223
-Wno-UNUSEDSIGNAL \
2324
-Wno-PINMISSING \
@@ -35,7 +36,7 @@ verilator -Wall --cc \
3536
$FLOW_HOME/designs/src/mock-array/simulate.cpp
3637

3738
# Link the generated object files into the VMockArray executable
38-
make -j -C $OBJ_DIR -f VMockArray.mk
39+
make -j16 -C $OBJ_DIR -f VMockArray.mk
3940

4041
# Run the simulation
4142
$OBJ_DIR/VMockArray

flow/designs/src/mock-array/simulate.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ int main(int argc, char** argv) {
8080

8181
for (int k = 0; k < 2; k++) {
8282
top->eval();
83-
vcd->dump(tick++);
83+
vcd->dump(tick++ * 125);
8484
top->clock = !top->clock;
8585
}
8686
}

0 commit comments

Comments
 (0)