Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#2663 from Pinata-Consulting/m…
Browse files Browse the repository at this point in the history
…ock-array-fixes

Mock array fixes
  • Loading branch information
maliberty authored Jan 8, 2025
2 parents 8c08a12 + d78c3c4 commit 3d1d6f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion flow/designs/asap7/mock-array/simulate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ cp $FLOW_HOME/results/asap7/mock-array_Element/base/6_final.v $POST_DIR/MockArra

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

# Link the generated object files into the VMockArray executable
make -j -C $OBJ_DIR -f VMockArray.mk
make -j16 -C $OBJ_DIR -f VMockArray.mk

# Run the simulation
$OBJ_DIR/VMockArray
2 changes: 1 addition & 1 deletion flow/designs/src/mock-array/simulate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int main(int argc, char** argv) {

for (int k = 0; k < 2; k++) {
top->eval();
vcd->dump(tick++);
vcd->dump(tick++ * 125);
top->clock = !top->clock;
}
}
Expand Down

0 comments on commit 3d1d6f4

Please sign in to comment.