mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Add JSON AST dumps (#5020)
This commit is contained in:
+1
-1
@@ -709,7 +709,7 @@ static void verilate(const string& argString) {
|
||||
|
||||
// Final steps
|
||||
V3Global::dumpCheckGlobalTree("final", 990, dumpTreeEitherLevel() >= 3);
|
||||
if (v3Global.opt.jsonOnly()) {
|
||||
if (v3Global.opt.jsonOnly() || dumpTreeJsonLevel()) {
|
||||
const string filename
|
||||
= (v3Global.opt.jsonOnlyMetaOutput().empty()
|
||||
? v3Global.opt.makeDir() + "/" + v3Global.opt.prefix() + ".tree.meta.json"
|
||||
|
||||
Reference in New Issue
Block a user