Skip to content

Commit

Permalink
Update the path to the coverage file
Browse files Browse the repository at this point in the history
  • Loading branch information
gkamendje committed Jan 20, 2024
1 parent 6b908a2 commit 363d83a
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion test_regress/t/t_cover_else_points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ int main(int argc, char** argv, char**) {
topp->final();

#if VM_COVERAGE
contextp->coveragep()->write("obj_vlt/t_cover_else_points/coverage.dat");
contextp->coveragep()->write(VL_STRINGIFY(TEST_OBJ_DIR) "/coverage.dat");
#endif

return 0;
Expand Down
154 changes: 77 additions & 77 deletions test_regress/t/t_cover_else_points.out
Original file line number Diff line number Diff line change
Expand Up @@ -30,87 +30,87 @@
-000001 point: comment=cfg[6]
%000001 initial begin
-000001 point: comment=block
%000001 is_su_mode =1'b1;
%000001 is_su_mode =1'b1;
-000001 point: comment=block
%000001 is_em_emul =1'b0;
%000001 is_em_emul =1'b0;
-000001 point: comment=block
%000001 is_ata_emul =1'b0;
%000001 is_ata_emul =1'b0;
-000001 point: comment=block
%000001 page =1'b0;
%000001 page =1'b0;
-000001 point: comment=block
%000001 cfg =7'h05;
%000001 cfg =7'h05;
-000001 point: comment=block
%000001 #100;
-000001 point: comment=block
%000001 is_su_mode =1'b0;
%000001 is_su_mode =1'b0;
-000001 point: comment=block
%000001 is_em_emul =1'b1;
%000001 is_em_emul =1'b1;
-000001 point: comment=block
%000001 is_ata_emul =1'b0;
%000001 is_ata_emul =1'b0;
-000001 point: comment=block
%000001 page =1'b0;
%000001 page =1'b0;
-000001 point: comment=block
%000001 cfg =7'h06;
%000001 cfg =7'h06;
-000001 point: comment=block
%000001 #100;
-000001 point: comment=block
%000001 is_su_mode =1'b0;
%000001 is_su_mode =1'b0;
-000001 point: comment=block
%000001 is_em_emul =1'b0;
%000001 is_em_emul =1'b0;
-000001 point: comment=block
%000001 is_ata_emul =1'b1;
%000001 is_ata_emul =1'b1;
-000001 point: comment=block
%000001 page =1'b0;
%000001 page =1'b0;
-000001 point: comment=block
%000001 cfg =7'h10;
%000001 cfg =7'h10;
-000001 point: comment=block
%000001 #100;
-000001 point: comment=block
%000001 is_su_mode =1'b0;
%000001 is_su_mode =1'b0;
-000001 point: comment=block
%000001 is_em_emul =1'b0;
%000001 is_em_emul =1'b0;
-000001 point: comment=block
%000001 is_ata_emul =1'b1;
%000001 is_ata_emul =1'b1;
-000001 point: comment=block
%000001 page =1'b1;
%000001 page =1'b1;
-000001 point: comment=block
%000001 cfg =7'h60;
%000001 cfg =7'h60;
-000001 point: comment=block
%000001 #100;
-000001 point: comment=block
%000001 is_su_mode =1'b0;
%000001 is_su_mode =1'b0;
-000001 point: comment=block
%000001 is_em_emul =1'b0;
%000001 is_em_emul =1'b0;
-000001 point: comment=block
%000001 is_ata_emul =1'b1;
%000001 is_ata_emul =1'b1;
-000001 point: comment=block
%000001 page =1'b1;
%000001 page =1'b1;
-000001 point: comment=block
%000001 cfg =7'h60;
%000001 cfg =7'h60;
-000001 point: comment=block
%000001 #100;
-000001 point: comment=block
%000001 is_su_mode =1'b0;
%000001 is_su_mode =1'b0;
-000001 point: comment=block
%000001 is_em_emul =1'b0;
%000001 is_em_emul =1'b0;
-000001 point: comment=block
%000001 is_ata_emul =1'b1;
%000001 is_ata_emul =1'b1;
-000001 point: comment=block
%000001 page =1'b1;
%000001 page =1'b1;
-000001 point: comment=block
%000001 cfg =7'h40;
%000001 cfg =7'h40;
-000001 point: comment=block
%000001 #100;
-000001 point: comment=block
%000001 is_su_mode =1'b0;
%000001 is_su_mode =1'b0;
-000001 point: comment=block
%000001 is_em_emul =1'b0;
%000001 is_em_emul =1'b0;
-000001 point: comment=block
%000001 is_ata_emul =1'b1;
%000001 is_ata_emul =1'b1;
-000001 point: comment=block
%000001 page =1'b0;
%000001 page =1'b0;
-000001 point: comment=block
%000001 cfg =7'h50;
%000001 cfg =7'h50;
-000001 point: comment=block
%000001 #100;
-000001 point: comment=block
Expand All @@ -120,7 +120,7 @@
-000001 point: comment=block
end
a a_inst(
.i_is_su_mode ( is_su_mode ),
.i_is_su_mode ( is_su_mode ),
.i_page ( page ),
.i_cfg ( cfg ),
.i_is_em_emul ( is_em_emul ),
Expand All @@ -131,7 +131,7 @@
/* verilator lint_off DECLFILENAME */
module a (
/* verilator lint_on DECLFILENAME */
%000002 input logic i_is_su_mode ,
%000002 input logic i_is_su_mode ,
-000002 point: comment=i_is_su_mode
%000002 input logic i_page ,
-000002 point: comment=i_page
Expand Down Expand Up @@ -159,152 +159,152 @@
-000001 point: comment=block
%000001 if (i_is_su_mode == 1'b1) begin
-000001 point: comment=elsif
%000001 o_user_word_count = 4'b0000;
%000001 o_user_word_count = 4'b0000;
-000001 point: comment=elsif
end
%000002 else if (i_is_em_emul == 1'b1 ) begin
end
%000002 else if (i_is_em_emul == 1'b1 ) begin
-000002 point: comment=elsif
%000002 case(i_cfg[3:0])
-000002 point: comment=elsif
%000000 4'b0101: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0000;
%000000 o_user_word_count = 4'b0000;
-000000 point: comment=case
end
%000002 4'b0110: begin
-000002 point: comment=case
%000002 o_user_word_count = 4'b0001;
%000002 o_user_word_count = 4'b0001;
-000002 point: comment=case
end
%000000 4'b0111: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0010;
%000000 o_user_word_count = 4'b0010;
-000000 point: comment=case
end
%000000 4'b1000: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0011;
%000000 o_user_word_count = 4'b0011;
-000000 point: comment=case
end
%000000 4'b1001: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0100;
%000000 o_user_word_count = 4'b0100;
-000000 point: comment=case
end
%000000 4'b1010: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0101;
%000000 o_user_word_count = 4'b0101;
-000000 point: comment=case
end
%000000 4'b1011: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0110;
%000000 o_user_word_count = 4'b0110;
-000000 point: comment=case
end
%000000 4'b1100: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0111;
%000000 o_user_word_count = 4'b0111;
-000000 point: comment=case
end
%000000 4'b1101: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b1000;
%000000 o_user_word_count = 4'b1000;
-000000 point: comment=case
end
%000000 default: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0011;
%000000 o_user_word_count = 4'b0011;
-000000 point: comment=case
end
endcase
end
%000000 else if (i_is_ata_emul == 1'b1) begin
end
%000000 else if (i_is_ata_emul == 1'b1) begin
+000012 point: comment=if
-000000 point: comment=else
000012 case(i_cfg[6:4])
000012 case(i_cfg[6:4])
+000012 point: comment=if
%000000 3'b000: begin
%000000 3'b000: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0000;
%000000 o_user_word_count = 4'b0000;
-000000 point: comment=case
end
%000002 3'b001: begin
%000002 3'b001: begin
-000002 point: comment=case
%000002 o_user_word_count = 4'b0000;
%000002 o_user_word_count = 4'b0000;
-000002 point: comment=case
end
%000000 3'b010: begin
%000000 3'b010: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0001;
%000000 o_user_word_count = 4'b0001;
-000000 point: comment=case
end
%000000 3'b011: begin
%000000 3'b011: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0010;
%000000 o_user_word_count = 4'b0010;
-000000 point: comment=case
end
%000002 3'b100: begin
%000002 3'b100: begin
-000002 point: comment=case
%000000 if (i_page == 1'b1) begin
-000002 point: comment=if
-000000 point: comment=else
%000002 o_user_word_count = 4'b0010;
%000002 o_user_word_count = 4'b0010;
-000002 point: comment=if
%000000 end else begin
-000000 point: comment=else
%000000 o_user_word_count = 4'b0011;
%000000 o_user_word_count = 4'b0011;
-000000 point: comment=else
end
end
%000004 3'b101: begin
%000004 3'b101: begin
-000004 point: comment=case
%000004 if (i_page == 1'b1) begin
-000000 point: comment=if
-000004 point: comment=else
%000000 o_user_word_count = 4'b0010;
%000000 o_user_word_count = 4'b0010;
-000000 point: comment=if
%000004 end else begin
-000004 point: comment=else
%000004 o_user_word_count = 4'b0100;
%000004 o_user_word_count = 4'b0100;
-000004 point: comment=else
end
end
%000004 3'b110: begin
%000004 3'b110: begin
-000004 point: comment=case
%000000 if (i_page == 1'b1) begin
-000004 point: comment=if
-000000 point: comment=else
%000004 o_user_word_count = 4'b0010;
%000004 o_user_word_count = 4'b0010;
-000004 point: comment=if
%000000 end else begin
-000000 point: comment=else
%000000 o_user_word_count = 4'b0101;
%000000 o_user_word_count = 4'b0101;
-000000 point: comment=else
end
end
%000000 3'b111: begin
%000000 3'b111: begin
-000000 point: comment=case
%000000 if (i_page == 1'b1) begin
-000000 point: comment=if
-000000 point: comment=else
%000000 o_user_word_count = 4'b0010;
%000000 o_user_word_count = 4'b0010;
-000000 point: comment=if
%000000 end else begin
-000000 point: comment=else
%000000 o_user_word_count = 4'b0110;
%000000 o_user_word_count = 4'b0110;
-000000 point: comment=else
end
end
%000000 default: begin
%000000 default: begin
-000000 point: comment=case
%000000 o_user_word_count = 4'b0010;
%000000 o_user_word_count = 4'b0010;
-000000 point: comment=case
end
endcase
end
end
%000000 else begin // default
-000000 point: comment=else
%000000 o_user_word_count = 4'b0000;
%000000 o_user_word_count = 4'b0000;
-000000 point: comment=else
end
end
Expand Down

0 comments on commit 363d83a

Please sign in to comment.