Mar 11, 2010 #1 R raghava Member level 2 Joined Jul 31, 2008 Messages 51 Helped 3 Reputation 6 Reaction score 3 Trophy points 1,288 Activity points 1,870 HI all, GAUSS_33: if (K_SIZE = 3) generate signal x: std_logic; begin end generate GAUSS_33; Is the signal 'x' is visible to outside of generate statement. When I use signal 'x' outside, I am getting error message that signal not declared. How can I do.. Any help is appreciated. Regards
HI all, GAUSS_33: if (K_SIZE = 3) generate signal x: std_logic; begin end generate GAUSS_33; Is the signal 'x' is visible to outside of generate statement. When I use signal 'x' outside, I am getting error message that signal not declared. How can I do.. Any help is appreciated. Regards
Mar 11, 2010 #2 D dmk Full Member level 3 Joined Nov 14, 2005 Messages 187 Helped 44 Reputation 88 Reaction score 7 Trophy points 1,298 Location Bg Activity points 2,210 It is now allowed to define a signal inside FOR (or IF) - GENERATE operator. Just read "VHDL circuit design", by Pedroni, or something like that.
It is now allowed to define a signal inside FOR (or IF) - GENERATE operator. Just read "VHDL circuit design", by Pedroni, or something like that.