Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAssign needed
Hi, May I why do we need the assign value when we do the looping? Is that because when looping there is no wire assign to it? when I assign to q1 = q [1] the circuit would be different when q1...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Hi, May I why do we need the assign value when we do the looping? Is that because when looping there is no wire assign to it? when I assign to q1 = q [1] the circuit would be different when q1 = q[2]. Any help would be very much appreciated --- Quote End --- Hi, do you mean this statement : assign q1 = q[2]; q1 is defined as output and must be driven continously. BTW: you assign a 8-bit (q[2]) vector to an 32-bit vector [q1] . Is that indented ? Kind regards GPK