jmountney
Newbie level 2
- Joined
- Sep 3, 2013
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 14
Is there a maximum value $display can print to console window? I am running a 'for loop' and I want the console window to display some large values (e.g. 3.5 * 10^9). However, these numbers are getting displayed as large negative values. Does $display possibly interpret values as signed integers or two's compliment with a maximum bit width? Thanks in advance ...
Code:
for (k = 35000; k > 0; k = k - 1) begin
#100000
$display("Sector Erase finished in ", k*100000, " ns.");
end