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

verilator segfaults on incorrect code #1144

Closed
veripoolbot opened this issue Mar 21, 2017 · 2 comments
Closed

verilator segfaults on incorrect code #1144

veripoolbot opened this issue Mar 21, 2017 · 2 comments
Labels
resolution: no fix needed Closed; no fix required (not a bug)

Comments

@veripoolbot
Copy link
Contributor


Author Name: Johan Bjork
Original Redmine Issue: 1144 from https://www.veripool.org


Found this while searching for another issue.

module t (clk);
    input clk;
     always @(posedge clk) begin
         $display("baz: %d\n", baz);
     end

endmodule

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-03-21T22:10:44Z


I get the correct response (I think)

%Error: t/t_display_noarg_bad.v:4: Can't find definition of variable: baz
%Error: Exiting due to 1 error(s)

But if you run with --debug --gdbbt, it should point really close to the problem.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Johan Bjork
Original Date: 2017-03-22T16:28:50Z


Wilson Snyder wrote:

I get the correct response (I think)

%Error: t/t_display_noarg_bad.v:4: Can't find definition of variable: baz
%Error: Exiting due to 1 error(s)

But if you run with --debug --gdbbt, it should point really close to the problem.
Apologizes for this ticket. I'm getting the right error message now too. I must have had some local patches that broke this.

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