![]() |
|
|
|
#1 |
|
hey guys, i am new to vhdl and was working on my projects, i wanted to use a for loop instead of a while loop and try to break out of the loop in case of a particular condition, can anyone let me know how to do it please?
and my friend told me that using a while loop may cause problems while synthesizing, can anyone explain why such a thing happens? thanks bharathbhushan.kn |
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2008
Location: Denmark
Posts: 245
|
Im not sure but if my memory serves me well would could it be done with
FOR i IN 0 to 10 LOOP .... IF i=5 THEN EXIT END IF; .... END LOOP; Check this as well: http://www.vdlande.com/VHDL/exits.html Your welcome jeppe |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Prison Break and Ghost Whisperer: The Blues | mylove5460 | Media | 0 | 07-02-2009 06:27 PM |
| DVD Shrink "layer break" question | def456 | DVD Video | 4 | 03-02-2007 11:40 PM |
| As growth slows, Hollywood faces a DVD standoff. | Allan | DVD Video | 0 | 07-11-2005 02:10 PM |
| Wrapping Give me a break | Rtavi | DVD Video | 65 | 04-02-2005 04:01 AM |
| Shindlers List Deluxe HUGE Price Break @bestbuy | argo | DVD Video | 8 | 04-08-2004 09:55 PM |