S
Stephane
Guest
how can a component perform a self-check on its generic map at
instanciation?
for example
entity mycomp is
generic(
param1 : integer := 1;
param2 : integer := 2);
.....
architecture...
....
begin...
....
let's say, I want to be sure that param2 is greater than param1 and
detect this assertion? "assert" does the job too late.
instanciation?
for example
entity mycomp is
generic(
param1 : integer := 1;
param2 : integer := 2);
.....
architecture...
....
begin...
....
let's say, I want to be sure that param2 is greater than param1 and
detect this assertion? "assert" does the job too late.