Apply 'make format'
This commit is contained in:
parent
a4e901135b
commit
0703159dbc
|
|
@ -125,8 +125,7 @@ class LinkConfigsVisitor final : public VNVisitor {
|
||||||
}
|
}
|
||||||
void visit(AstConfigRule* nodep) override {
|
void visit(AstConfigRule* nodep) override {
|
||||||
if (!nodep->cellp()) {
|
if (!nodep->cellp()) {
|
||||||
for (AstNode* usep = nodep->usep(); usep;
|
for (AstNode* usep = nodep->usep(); usep; usep = usep->nextp()) {
|
||||||
usep = usep->nextp()) {
|
|
||||||
m_state.m_liblist.push_back(usep->name());
|
m_state.m_liblist.push_back(usep->name());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -210,8 +209,8 @@ class LinkCellsVisitor final : public VNVisitor {
|
||||||
// First search IEEE config library list
|
// First search IEEE config library list
|
||||||
AstNodeModule* foundp;
|
AstNodeModule* foundp;
|
||||||
for (auto const& l : m_state.m_liblist) {
|
for (auto const& l : m_state.m_liblist) {
|
||||||
foundp = findModuleLibSym(modName, l);
|
foundp = findModuleLibSym(modName, l);
|
||||||
if (foundp) return foundp;
|
if (foundp) return foundp;
|
||||||
}
|
}
|
||||||
// Then search local library
|
// Then search local library
|
||||||
foundp = findModuleLibSym(modName, libname);
|
foundp = findModuleLibSym(modName, libname);
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@ import vltest_bootstrap
|
||||||
test.scenarios('simulator')
|
test.scenarios('simulator')
|
||||||
|
|
||||||
test.compile(verilator_flags2=[
|
test.compile(verilator_flags2=[
|
||||||
'--binary', '--top cfg1', '--work liba', 't/t_config_work__liba.v', '--work libb', 't/t_config_work__libb.v'
|
'--binary', '--top cfg1', '--work liba', 't/t_config_work__liba.v', '--work libb',
|
||||||
|
't/t_config_work__libb.v'
|
||||||
])
|
])
|
||||||
|
|
||||||
test.execute()
|
test.execute()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue