Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%m format argument to $display causes error: ‘SCOPE_OTHER’ is not a member of ‘VerilatedScope’ on compilation #1632

Closed
veripoolbot opened this issue Dec 10, 2019 · 3 comments
Labels
resolution: no fix needed Closed; no fix required (not a bug)

Comments

@veripoolbot
Copy link
Contributor


Author Name: Julien Margetts
Original Redmine Issue: 1632 from https://www.veripool.org


This issue arrived with 4.020 and I think may have been introduced by the patch for Issue 1469

Test code:

module BUG
(
     input clk,
     input resetn
);

initial $display("%m");

endmodule

Output:

VBUG__Syms.cpp: In constructor ‘VBUG__Syms::VBUG__Syms(VBUG*, const char*)’:
VBUG__Syms.cpp:22:56: error: ‘SCOPE_OTHER’ is not a member of ‘VerilatedScope’
      __Vscope_BUG.configure(this, name(), "BUG", "BUG", VerilatedScope::SCOPE_OTHER);

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-12-10T12:03:54Z


Works for me, what is your command line?

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Julien Margetts
Original Date: 2019-12-10T12:29:28Z


My bad.
Hadn't done a make install so compile was picking up 4.018 headers.
Appologies for the noise

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-12-10T22:33:52Z


Glad it got resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: no fix needed Closed; no fix required (not a bug)
Projects
None yet
Development

No branches or pull requests

1 participant