Problems specifing a configuration

Joined
Aug 3, 2008
Messages
1
Reaction score
0
Hi,

I hope anyone can help me to this VHDL problem, I'm getting more and more frustrated. :-(

Given a default configuration Aconfig for an architecture A of entity X, but only with bindings for some components (c1 in this example). All other components (c2 here) shall be instantiated later. A second architecture B shall use A as a component and also have a configuration Bconfig. In Bconfig I want to use Aconfig for A and additionally bind c2.

This version using "use entity" for A works fine (without using the Aconfig bindings).

Code:
configuration Bconfig_1 of Y is
    for B
        for x : X
            use entity X (A);
            -- No problems here:
            for A
                c2 : C2 use entity ...
            end for;
        end for;
    end for
end configuration;

The problem is using the configuration Aconfig for A. All following binding statements for A (onyl c2 here) are ignored and the null configuration (the most recently compiled architecture) is used for c2. But why and how to specify it correctly?

Code:
configuration Bconfig_2 of Y is
    for B
        for x : X
            use configuration Aconfig;
            -- The following binding is ignored:
            for A
                c2 : C2 use entity ...
            end for;
        end for;
    end for
end configuration;

Neither one of my books says anything about this special case of configuration, nor the language specification web pages I found.


Best wishes,

Maciej
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top