Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Re: Showing my ignorance of VHDL again...

Thread Tools

Re: Showing my ignorance of VHDL again...

Rienk van der Scheer
Posts: n/a
rickman wrote:
> Here is my wait statement...
> wait until ARM_Bus_Start or rising_edge(Reset);
> If ARM_Bus_Start is already set when this executes, the process hangs
> here.
> I am using ModelSim XE II/Starter 5.6e.


if (ARM_Bus_Start) then
-- continue immediately
-- note: removed rising_edge because it is implied in the 'wait until'
wait until ARM_Bus_Start or Reset;

Your problem is that you should remember that a wait statement in VHDL
will always wait for some event. In your situation, you don't want to
wait at all when the condition is already met.



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ignorance Sucks! Computer Security 1 07-24-2006 10:05 PM
Dataset, databinding, and other fun ways to demonstrate my ignorance. Merennulli ASP .Net 2 03-14-2006 12:44 AM
Enigma (Or Programmer Ignorance) Luc The Perverse Java 3 12-27-2005 06:06 AM
Forgive My Ignorance, But What Is "flash"? Bro Jack Computer Support 20 08-19-2004 12:16 AM
Re: Showing my ignorance of VHDL again... Mike Treseler VHDL 3 08-04-2003 02:26 PM