Forum Discussion
Raeiu
New Contributor
2 years agoReduce inner counter dimension in modelsim
Hello everyone. I need a way to reduce a inner 8bit counter of my device. This counter counts to 255, i need to reduce it to 64 for simulation purposes. N.B: cannot touch source code Can someone h...
ShengN_altera
Super Contributor
2 years agoHi,
Probably can do like for example below in the testbench:
always @(posedge clk) begin
if (counter == 64) begin
$display(" ");
$finish;
end
end
Thanks,
Best Regards,
sheng