Disable the use of concat '&' in VST port map.
This commit is contained in:
parent
d69327d9a9
commit
85e969bca9
|
@ -153,8 +153,8 @@ namespace Vhdl {
|
||||||
|
|
||||||
void VectorPortMap::toVhdlPortMap ( ostream& out, size_t width ) const
|
void VectorPortMap::toVhdlPortMap ( ostream& out, size_t width ) const
|
||||||
{
|
{
|
||||||
if (getSignal()->isContiguous()) {
|
|
||||||
vector<string> mappedNames;
|
vector<string> mappedNames;
|
||||||
|
if (getSignal()->isContiguous()) {
|
||||||
int begin = -1;
|
int begin = -1;
|
||||||
int end = -1;
|
int end = -1;
|
||||||
int delta = 0;
|
int delta = 0;
|
||||||
|
@ -220,7 +220,9 @@ namespace Vhdl {
|
||||||
mappedNames.push_back( bitp->getName() );
|
mappedNames.push_back( bitp->getName() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (mappedNames.size() == 1) {
|
||||||
out << setw(width) << left << _signal->getName() << " => ";
|
out << setw(width) << left << _signal->getName() << " => ";
|
||||||
|
|
||||||
size_t lhsWidth = 90 - tab.getWidth() - width - 4;
|
size_t lhsWidth = 90 - tab.getWidth() - width - 4;
|
||||||
|
|
Loading…
Reference in New Issue