er.akhilkumar
Full Member level 2
Hello All,
I am observing a synthesis error while compiling VHDL code using Synopsis design compiler. Actually it is fully generic code in which parameters are like this:
ENTITY abc IS
GENERIC (
A : natural := 4;
B : int_vector(0 TO A-1)
);
PORT (
----
---
--
);
int_vector is an unconstrained array of integers
When I sythesize the code, tool reports "[Error] Name A is unknown". Is this type of generic implementation not synthesizable. The above type of code works fine with simulation tool. Please provide a solution.
Thanx
I am observing a synthesis error while compiling VHDL code using Synopsis design compiler. Actually it is fully generic code in which parameters are like this:
ENTITY abc IS
GENERIC (
A : natural := 4;
B : int_vector(0 TO A-1)
);
PORT (
----
---
--
);
int_vector is an unconstrained array of integers
When I sythesize the code, tool reports "[Error] Name A is unknown". Is this type of generic implementation not synthesizable. The above type of code works fine with simulation tool. Please provide a solution.
Thanx
Last edited: