Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- The problem is converting to an integer value that is not an exponent of 2, usually done through a function like $rtoi. --- Quote End --- The line
localparam integer COUNT = CLK_FREQ*BLINK_PERIOD;
Is a conversion from real to integer ... isn't that what you want? Cheers, Dave