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).
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?
Neither one of my books says anything about this special case of configuration, nor the language specification web pages I found.
Best wishes,
Maciej
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