Commit 995413fd by René

init units and bins, fix 5

parent 07f20af7
Showing with 7 additions and 1 deletions
...@@ -20,7 +20,13 @@ covergroup cg @(posedge clk); ...@@ -20,7 +20,13 @@ covergroup cg @(posedge clk);
bins S_MUL = {3}; bins S_MUL = {3};
bins S_DIV = {4}; bins S_DIV = {4};
} }
c2: coverpoint calc_dut.STATE_C; c2: coverpoint calc_dut.STATE_C {
bins S_IDLE = {0};
bins S_ADD = {1};
bins S_SUB = {2};
bins S_MUL = {3};
bins S_DIV = {4};
}
endgroup: cg endgroup: cg
cg cover_inst = new; // instatiate the cover model cg cover_inst = new; // instatiate the cover model
......
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