T
Thanga
Guest
Hi all,
I have doubt on VHDL function synthesis....
my code structure is
entity rtl is
generic (
parameter : interger := [value];
);
port(
portlist
);
architecture
begin
function1;
function2;
function3;
function4;
end architecture;
All the fucntions are defined in package.
Depend on the generic parameter, one of four functions will be
invoked.
I have to optimize this logic for only one function.
Now my doubt is,
If I freeze the parameter to a constant value, during synthesis what
will happen?
ie) only the selected fuction will be synthesized or all the four
funcions will be synthesized?
I know one direct way is removing other functions.
Since i don't want disturb the code but have to optimize the logic,
asking this doubt....
Thanks in advance,
Thanga.
I have doubt on VHDL function synthesis....
my code structure is
entity rtl is
generic (
parameter : interger := [value];
);
port(
portlist
);
architecture
begin
function1;
function2;
function3;
function4;
end architecture;
All the fucntions are defined in package.
Depend on the generic parameter, one of four functions will be
invoked.
I have to optimize this logic for only one function.
Now my doubt is,
If I freeze the parameter to a constant value, during synthesis what
will happen?
ie) only the selected fuction will be synthesized or all the four
funcions will be synthesized?
I know one direct way is removing other functions.
Since i don't want disturb the code but have to optimize the logic,
asking this doubt....
Thanks in advance,
Thanga.