Re: Passing verilog Input File as a command line define
Kevin Neilson wrote:
>
> > $readmemb({INPUT_FILE,"00",4,INPUT_SUFFIX}, config_array);
>
By the way, I made a mistake above by not treating the number 4 as a
string. What I meant was
> $readmemb({INPUT_FILE,"00",(8'd4+8'h30),INPUT_SUFF IX}, config_array);
Adding 8'h30 to a decimal digit converts it to the proper ASCII code.
-Kevin
|