S
sandeep
Guest
Hi
Consider following size constant -- "temp = 10'd28".
Now I want to replace 10 with parameter TEN = 10;
i.e temp = TEN'd28.
But compiler is giving error for above expression. It is allowing me
to use `define TEN 10
and `TEN'd28.
I donot know my complain is valid or not but it is stupid thing. I
donot want to use `define construct instead my pref is parameter
construct.
Is there any way I can use parameter and write temp = {parameter'd28}
Regards
Consider following size constant -- "temp = 10'd28".
Now I want to replace 10 with parameter TEN = 10;
i.e temp = TEN'd28.
But compiler is giving error for above expression. It is allowing me
to use `define TEN 10
and `TEN'd28.
I donot know my complain is valid or not but it is stupid thing. I
donot want to use `define construct instead my pref is parameter
construct.
Is there any way I can use parameter and write temp = {parameter'd28}
Regards