mirror of
https://github.com/verilator/verilator.git
synced 2025-01-22 14:24:18 +00:00
Fix r1010; bad prefix default
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1011 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
parent
93531e520a
commit
170427bba1
@ -429,7 +429,7 @@ void V3Options::parseOpts (FileLine* fl, int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Default prefix to the filename
|
// Default prefix to the filename
|
||||||
if (prefix()=="") m_prefix = string("V")+topModule();
|
if (prefix()=="" && topModule()!="") m_prefix = string("V")+topModule();
|
||||||
if (prefix()=="") m_prefix = string("V")+filenameNonExt(*(vFiles().begin()));
|
if (prefix()=="") m_prefix = string("V")+filenameNonExt(*(vFiles().begin()));
|
||||||
if (modPrefix()=="") m_modPrefix = prefix();
|
if (modPrefix()=="") m_modPrefix = prefix();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user