L
Luc
Guest
Hi,
I have a reference design in Verilog, that I'm translating in VHDL.
The problem is that the Verilog design uses 'include files to load
some parameters.
If it were real numbers, I guess this won't be a big issue as one can
use CONSTANT .... in stead.
The problem is that the Verilog file uses a form like
parameter CLK_WAIT = (CLK_tPD <3) ? 0 : CLK_tPD - 3);
translating in something like :
if( CLK-tPD < 3) then 0 ELSE (CLK-tPD -3)
but as far as I know this can't be done in VHDL, simple
multiplications or divisions yes, but decisive ... I don't know
Any Ideas are much apreciated
Best regards,
Luc
I have a reference design in Verilog, that I'm translating in VHDL.
The problem is that the Verilog design uses 'include files to load
some parameters.
If it were real numbers, I guess this won't be a big issue as one can
use CONSTANT .... in stead.
The problem is that the Verilog file uses a form like
parameter CLK_WAIT = (CLK_tPD <3) ? 0 : CLK_tPD - 3);
translating in something like :
if( CLK-tPD < 3) then 0 ELSE (CLK-tPD -3)
but as far as I know this can't be done in VHDL, simple
multiplications or divisions yes, but decisive ... I don't know
Any Ideas are much apreciated
Best regards,
Luc