mirror of
https://github.com/verilator/verilator.git
synced 2026-10-08 02:53:12 +02:00
@@ -127,11 +127,7 @@ class V3EmitMkJsonEmitter final {
|
||||
sources.emplace_back(makeDir + "/" + dependencyp->hierWrapperFilename(true));
|
||||
}
|
||||
|
||||
const std::string vFile = hblockp->vFileIfNecessary();
|
||||
if (!vFile.empty()) sources.emplace_back(vFile);
|
||||
|
||||
for (const VFileLibName& i : v3Global.opt.vFiles()) {
|
||||
const std::string fname = i.filename();
|
||||
for (const string& fname : V3HierGraph::sourceFiles(hblockp->vFileIfNecessary())) {
|
||||
sources.emplace_back(V3Os::filenameSlashPath(V3Os::filenameRealPath(fname)));
|
||||
}
|
||||
|
||||
@@ -159,8 +155,7 @@ class V3EmitMkJsonEmitter final {
|
||||
sources.emplace_back(makeDir + "/" + blockp->hierWrapperFilename(true));
|
||||
}
|
||||
|
||||
for (const VFileLibName& i : v3Global.opt.vFiles()) {
|
||||
const std::string fname = i.filename();
|
||||
for (const string& fname : V3HierGraph::sourceFiles()) {
|
||||
sources.emplace_back(V3Os::filenameSlashPath(V3Os::filenameRealPath(fname)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user