aboutsummaryrefslogtreecommitdiff
path: root/bench/tb_core_full_512.v
diff options
context:
space:
mode:
Diffstat (limited to 'bench/tb_core_full_512.v')
-rw-r--r--bench/tb_core_full_512.v13
1 files changed, 12 insertions, 1 deletions
diff --git a/bench/tb_core_full_512.v b/bench/tb_core_full_512.v
index 6357d4e..b4bdfb3 100644
--- a/bench/tb_core_full_512.v
+++ b/bench/tb_core_full_512.v
@@ -177,7 +177,7 @@ module tb_core_full_512;
wire [ 1:0] bus_addr_sel = bus_addr[11:10];
wire [ 2:0] bus_addr_bank = bus_addr[9:7];
wire [ 6:0] bus_addr_data = bus_addr[6:0];
-
+
//
// UUT
@@ -531,4 +531,15 @@ module tb_core_full_512;
endtask
+ //
+ // Multiplier Load Calculator
+ //
+ integer cyc_total = 0;
+
+ always @(posedge clk)
+ //
+ if (!core_valid)
+ cyc_total <= cyc_total + 1'b1;
+
+
endmodule