Shared configurations?

Guest
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?
 
gthorpe@ee.ryerson.ca wrote:

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
 

Welcome to EDABoard.com

Sponsor

Back
Top