diff --git a/system/system.v b/system/system.v index c788d0b..e348fc9 100644 --- a/system/system.v +++ b/system/system.v @@ -94,7 +94,7 @@ end `ifdef CALCULATE_IPC -integer instruction_count; +reg [128:0] instruction_count; always @(new_instruction) begin instruction_count<=instruction_count+1; end @@ -153,7 +153,7 @@ always @( ERROR ) begin end end -integer cycles; +reg [128:0] cycles; always @(negedge clock)begin if(reset==1)