Commit 93ed2926 by René

init covergroup

parent 1ed17f81
Showing with 4 additions and 0 deletions
...@@ -12,6 +12,10 @@ parameter OP_IDLE = 0, OP_ADD = 1, OP_SUB = 2, OP_MUL = 3, OP_DIV = 4; ...@@ -12,6 +12,10 @@ parameter OP_IDLE = 0, OP_ADD = 1, OP_SUB = 2, OP_MUL = 3, OP_DIV = 4;
CALC_logic calc_dut (clk, rst, calc, A, B, OP, STATE_C, C, valid); CALC_logic calc_dut (clk, rst, calc, A, B, OP, STATE_C, C, valid);
covergroup cg @(posedge clk);
c1: coverpoint STATE_C;
endgroup: cg
initial begin initial begin
clk = 0; clk = 0;
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment