Oct 13, 2011 #1 H hithesh123 Full Member level 6 Joined Nov 21, 2009 Messages 324 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,298 Location lax Activity points 3,548 Can I use a variable instead of time in wait statement. Instead of wait for 10 ns; can it be wait for t_period ns; where t_period is defined as a constant?
Can I use a variable instead of time in wait statement. Instead of wait for 10 ns; can it be wait for t_period ns; where t_period is defined as a constant?
Oct 13, 2011 #2 S shanmugaveld Advanced Member level 4 Joined Feb 9, 2009 Messages 110 Helped 25 Reputation 50 Reaction score 17 Trophy points 1,298 Location Bangalore Activity points 1,774 yes you can use.
Oct 13, 2011 #3 T TrickyDicky Advanced Member level 7 Joined Jun 7, 2010 Messages 7,110 Helped 2,081 Reputation 4,181 Reaction score 2,047 Trophy points 1,393 Activity points 39,769 Yes. I assume this is testbench code? wait is not synthesisable.