Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Illegal concurrent statement

 
Thread Tools Search this Thread
Old 01-12-2007, 12:28 AM   #1
Default Illegal concurrent statement


Hi all.
I've created some VHDL code, alla working.
The problem is that when i put together two or more blocks (as components) i
begin getting this error from modelsim.
Cannot understand why..
I don't even know where to search the error.. i get this error also in this
line

if BININ(BININ'LEFT) = '1' then

no assignment, just reading a value..
so, what have i to do?

thanks SO much
bye




Massi
  Reply With Quote
Old 01-12-2007, 02:12 AM   #2
Ajeetha (www.noveldv.com)
 
Posts: n/a
Default Re: Illegal concurrent statement
if..then..else is a sequential construct allowed only inside a prcoess
in VHDL.

HTH
Ajeetha, CVC
www.noveldv.com
Pioneering Verification!

Massi wrote:
> Hi all.
> I've created some VHDL code, alla working.
> The problem is that when i put together two or more blocks (as components) i
> begin getting this error from modelsim.
> Cannot understand why..
> I don't even know where to search the error.. i get this error also in this
> line
>
> if BININ(BININ'LEFT) = '1' then
>
> no assignment, just reading a value..
> so, what have i to do?
>
> thanks SO much
> bye




Ajeetha (www.noveldv.com)
  Reply With Quote
Old 01-12-2007, 06:25 AM   #3
Massi
 
Posts: n/a
Default Re: Illegal concurrent statement
Ajeetha (www.noveldv.com) wrote:
> if..then..else is a sequential construct allowed only inside a prcoess
> in VHDL.


cannot believe that, tonight i got the solution lol
i changed the if then else to a conditioned assignment

signal <= this when this olse
this;

and all works

i can just say that vhdl entered my nightmares




Massi
  Reply With Quote
Old 01-15-2007, 03:24 PM   #4
jetq88
 
Posts: n/a
Default Re: Illegal concurrent statement
no nightmare there, if you use
signal <= this when this olse
you use concurrent assignment, it works

if you use
if..then..else
used in a process.

hope this will help

Massi wrote:
> Ajeetha (www.noveldv.com) wrote:
> > if..then..else is a sequential construct allowed only inside a prcoess
> > in VHDL.

>
> cannot believe that, tonight i got the solution lol
> i changed the if then else to a conditioned assignment
>
> signal <= this when this olse
> this;
>
> and all works
>
> i can just say that vhdl entered my nightmares




jetq88
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Illegal Downloading causes DVD (deadly venereal disease) charlestruman@hotmail.com DVD Video 1 10-23-2007 12:03 AM
Illegal Copies of Movies for Sale dvdking@_______.com DVD Video 1 07-04-2006 05:24 AM
Illegal DVDs you enjoy? Walter Traprock DVD Video 64 04-02-2006 09:06 PM
The Devils...what's the story on the illegal version? Edward Holub DVD Video 1 03-24-2005 07:11 AM
man sentenced to jail for distributing legal dvd's legally. DVD's are ruled illegal. Waterperson77 DVD Video 17 03-07-2004 11:54 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46