Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cv32e40p/dev #114

Merged
merged 3 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ class cv32e40p_xpulp_short_hwloop_stream extends cv32e40p_xpulp_hwloop_base_stre
if(gen_nested_loop) {
if(loop0_high_count) {
hwloop_counti[0] dist {[0:400] := 10, [401:1023] := 300, [1024:2047] := 150,
[2048:4095] := 50, 4095 := 300};
[2048:4094] := 50, 4095 := 300};

hwloop_count[0] dist {[0:400] := 10, [401:1023] := 300, [1024:2047] := 150,
[2048:4094] := 50, 4095 := 300};
Expand All @@ -1099,7 +1099,7 @@ class cv32e40p_xpulp_short_hwloop_stream extends cv32e40p_xpulp_hwloop_base_stre
hwloop_count[0] inside {[0:5]};

hwloop_counti[1] dist {[0:400] := 10, [401:1023] := 300, [1024:2047] := 150,
[2048:4095] := 50, 4095 := 300};
[2048:4094] := 50, 4095 := 300};

hwloop_count[1] dist {[0:400] := 10, [401:1023] := 300, [1024:2047] := 150,
[2048:4094] := 50, 4095 := 300};
Expand All @@ -1109,9 +1109,10 @@ class cv32e40p_xpulp_short_hwloop_stream extends cv32e40p_xpulp_hwloop_base_stre
} else {
foreach(hwloop_counti[i])
hwloop_counti[i] dist {[0:400] := 10, [401:1023] := 300, [1024:2047] := 150,
[2048:4095] := 50, 4095 := 300};
[2048:4094] := 50, 4095 := 300};

//TODO: for rs1 32 bit count ?
//For rs1 32 bit count, not planned to exercise whole range in these streams
//due to long run times
foreach(hwloop_count[i])
hwloop_count[i] dist {[0:400] := 10, [401:1023] := 300, [1024:2047] := 150,
[2048:4094] := 50, 4095 := 300};
Expand Down
2 changes: 1 addition & 1 deletion cv32e40p/tb/uvmt/uvmt_cv32e40p_dut_wrap.sv
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ module uvmt_cv32e40p_dut_wrap

assign irq = interrupt_if.irq_drv;
always @(irq) begin
`uvm_info("uvmt_cv32e40p_dut_wrap", $sformatf(" @%0t; irq = %8x", $time, irq), UVM_HIGH);
`uvm_info("uvmt_cv32e40p_dut_wrap", $sformatf("irq = %8x", irq), UVM_HIGH);
end

// -------------------------------------------------------------
Expand Down
Loading