Shared configurations?

G

gthorpe

Hi,

I would like to know if it is possible to share portions of a configurations.
What I mean by this is: is it possible that two different configurations can
share portions that are common to both configurations?

For example:

configuration cfg1 of unit1 is
for structural
for all : subunit1
use entity work.subunit1(first);
end for;

-- other units are the same
for all : subunit2
use entity work.subunit2(unique);
end for;

for all : subunit3
use entity work.subunit3(unique);
end for;
end for;
end configuration;

configuration cfg2 of unit1 is
for structural
for all : subunit1
use entity work.subunit1(second);
end for;

-- other units are the same
for all : subunit2
use entity work.subunit2(unique);
end for;

for all : subunit3
use entity work.subunit3(unique);
end for;
end for;
end configuration;

The only difference between these two configurations is for subunit1: all the
other components are unchanged. Is it possible to share this data somehow so
it won't have to be typed twice? Can the common parts be put into another
configuration that is used by cfg1 and cfg2?
 
M

Mike Treseler

I would like to know if it is possible to share portions of a configurations.
What I mean by this is: is it possible that two different configurations can
share portions that are common to both configurations?

No, but you could configure subunit1 only, and
use a default binding or direct instances
for subunit2 and subunit3.

-- Mike Treseler
 

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,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top