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

Reply

VHDL - BLOCK statement and CONFIGURATION

 
Thread Tools Search this Thread
Old 10-29-2004, 05:54 PM   #1
Default BLOCK statement and CONFIGURATION


I am coding an architecture wth a block statement

ARCHITERCURE struct OF myent IS

....

BEGIN
...
b1: BLOCK IS

i_comp1: conmp1
PORT MAP (....)
BEGIN

END;

END struct;

and I cannot conmpile such

CONFIGURATION myent_struct_conf OF myent
FOR i_comp1: comp1
USE CONFIGURATION work.comp1_conf
END FOR;
END CONFIGURATION;

It seems I am doing worng when accessing components which are
istantiated inside blocks ...
I also tried unsuccessfully something like
b1. FOR i_comp1: comp1

thanks in advance


andy
  Reply With Quote
Old 10-30-2004, 02:59 AM   #2
Mike Treseler
 
Posts: n/a
Default Re: BLOCK statement and CONFIGURATION
andy wrote:
> I am coding an architecture wth a block statement


If this isn't homework,
then
consider using processes
or entity instances instead of blocks;
else
http://groups.google.com/groups?q=vh...tatement+begin
end if; -- Mike Treseler


Mike Treseler
  Reply With Quote
Old 10-31-2004, 02:22 PM   #3
Ralf Hildebrandt
 
Posts: n/a
Default Re: BLOCK statement and CONFIGURATION
andy wrote:

> ARCHITERCURE struct OF myent IS
>
> ...
>
> BEGIN
> ...
> b1: BLOCK IS
>
> i_comp1: conmp1
> PORT MAP (....)
> BEGIN
>
> END;
>
> END struct;
>
> and I cannot conmpile such
>
> CONFIGURATION myent_struct_conf OF myent
> FOR i_comp1: comp1
> USE CONFIGURATION work.comp1_conf
> END FOR;
> END CONFIGURATION;


The block statement has to be considered:
http://www.microlab.ch/courses/vlsi/...76_1.HTM#1.3.1

So (without testing it) the following should be o.k.:

CONFIGURATION myent_struct_conf OF myent
FOR b1:
FOR i_comp1: comp1
USE CONFIGURATION work.comp1_conf
END FOR;
END FOR;
END CONFIGURATION;


Ralf


Ralf Hildebrandt
  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




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