Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to write infinite loop in vhdl?

Status
Not open for further replies.

Anwesa Roy

Member level 2
Joined
Feb 24, 2014
Messages
49
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
532
How to write infinite loop in vhdl.
Whats wrong with:

while 1 loop
--sequential statements/code

end loop;
 

vGoodtimes

Advanced Member level 4
Joined
Feb 16, 2015
Messages
1,089
Helped
307
Reputation
614
Reaction score
303
Trophy points
83
Activity points
8,730
While true loop

Clearly not synthesizable. Nearly useless in simulation. But that is how you would do it.
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
21,082
Helped
4,530
Reputation
9,072
Reaction score
4,625
Trophy points
1,393
Activity points
139,127
Hi,

I don´t think you need a loop. It is no microcontroller that works one command after the other.
VHDL is hardware.. all works in parallel.

Klaus
 

shaiko

Advanced Member level 5
Joined
Aug 20, 2011
Messages
2,644
Helped
303
Reputation
608
Reaction score
297
Trophy points
1,363
Activity points
18,300
What do you want to achieve with your "infinite loop" ?
Are you trying to build a functional design? or just simulate something?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top