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

verilog code reading error #300

Open
sun123-cmd opened this issue May 31, 2024 · 0 comments
Open

verilog code reading error #300

sun123-cmd opened this issue May 31, 2024 · 0 comments

Comments

@sun123-cmd
Copy link

I' m trying to read adder.v verilog code with abc tool:

  1 module adder (
  2     input [7:0] a,
  3     input [7:0] b,
  4     output [7:0] sum
  5 );
  6     wire [8:0] carry;
  7     assign carry = a + b;
  8     assign sum = carry[7:0];
  9 endmodule

However, abc quit with error:

abc 01> read adder.v
abc: /home/sun/Desktop/abc/src/base/ver/verCore.c:429: Ver_ParseModule: Assertion `Symbol == ')'' failed.
Aborted (core dumped)

I wonder how to solve this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant