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

Extra arguments for $display-like format #980

Closed
veripoolbot opened this issue Oct 21, 2015 · 1 comment
Closed

Extra arguments for $display-like format #980

veripoolbot opened this issue Oct 21, 2015 · 1 comment
Labels
resolution: duplicate Closed; issue or pull request already exists type: feature-IEEE Request to add new feature, described in IEEE 1800

Comments

@veripoolbot
Copy link
Contributor


Author Name: Jamey Hicks
Original Redmine Issue: 980 from https://www.veripool.org
Original Date: 2015-10-21


verilator does not currently handle some legal uses of $display. It's not a big deal, but I'm using a library that generates verilog such as:

$write("abc: ", "%h", a);

and

$write("foo: <%d", b, ">");

I've started looking at the code and it looks feasible to group the arguments and generate a VL_WRITEF for each group of arguments that is currently handled by verilator.

e.g.,
VL_WRITE("abc"); VL_WRITE("%x", a);

and

VL_WRITE("foo <%d", b); VL_WRITE(">");

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2015-10-21T01:14:07Z


#� is basically the same thing. Adding more comments there in one minute.

@veripoolbot veripoolbot added resolution: duplicate Closed; issue or pull request already exists type: feature-IEEE Request to add new feature, described in IEEE 1800 labels Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: duplicate Closed; issue or pull request already exists type: feature-IEEE Request to add new feature, described in IEEE 1800
Projects
None yet
Development

No branches or pull requests

1 participant