Skip to content

Commit fc65592

Browse files
authored
Merge pull request #2709 from Pinata-Consulting/mock-array-no-coverage-toggles
Revert "mock-array: add --coverage-toggle report in simulation"
2 parents c51d17e + 5718aa8 commit fc65592

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ verilator -Wall --cc \
2222
-Wno-DECLFILENAME \
2323
-Wno-UNUSEDSIGNAL \
2424
-Wno-PINMISSING \
25-
--coverage-toggle \
26-
--coverage-underscore \
2725
--Mdir $OBJ_DIR \
2826
--top-module MockArray \
2927
--trace \
@@ -33,8 +31,8 @@ verilator -Wall --cc \
3331
$PLATFORM_DIR/verilog/stdcell/asap7sc7p5t_SIMPLE_RVT_TT_201020.v \
3432
$PLATFORM_DIR/verilog/stdcell/dff.v \
3533
$PLATFORM_DIR/verilog/stdcell/empty.v \
36-
$POST_DIR/MockArrayFinal.v \
37-
$POST_DIR/MockArrayElement.v \
34+
$FLOW_HOME/results/asap7/mock-array/base/6_final.v \
35+
$FLOW_HOME/results/asap7/mock-array_Element/base/6_final.v \
3836
--exe \
3937
$FLOW_HOME/designs/src/mock-array/simulate.cpp
4038

@@ -43,4 +41,3 @@ make -j16 -C $OBJ_DIR -f VMockArray.mk
4341

4442
# Run the simulation
4543
$OBJ_DIR/VMockArray
46-
verilator_coverage $RESULTS_DIR/coverage.dat --annotate $REPORTS_DIR/

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ int main(int argc, char** argv) {
8989
vcd->flush();
9090
vcd->close();
9191

92-
std::string coverage_file = std::string(getenv("RESULTS_DIR")) + "/coverage.dat";
93-
Verilated::threadContextp()->coveragep()->write(coverage_file.c_str());
94-
9592
top->final();
9693
delete top;
9794
return 0;

0 commit comments

Comments
 (0)