M
mjl296@hotmail.com
Guest
Hi,
I have a parameterisable module and I would like to perform a sanity
check on the range of the parameters. For simulation I might do this:
generate
if (P_PARAM != 1)
begin
//synthesis translate_off
initial
begin
$display("P_PARAM out of range");
$stop;
end
//synthesis translate_on
end
endgenerate
Does anyone have a recommendation for a good way of getting the
synthesis tool to catch the parameterisation error as well?
Thanks.
I have a parameterisable module and I would like to perform a sanity
check on the range of the parameters. For simulation I might do this:
generate
if (P_PARAM != 1)
begin
//synthesis translate_off
initial
begin
$display("P_PARAM out of range");
$stop;
end
//synthesis translate_on
end
endgenerate
Does anyone have a recommendation for a good way of getting the
synthesis tool to catch the parameterisation error as well?
Thanks.