0

Does anyone know which file is the one which has the grammar in the Icarus Verilog compiler and also which one has the syntax error handing and printing?

1 Answer 1

2

I suppose that the grammar is the bison file https://github.com/steveicarus/iverilog/blob/master/vvp/parse.y (with the lexer in https://github.com/steveicarus/iverilog/blob/master/vvp/lexor.lex). You could start looking for error message handling in https://github.com/steveicarus/iverilog/blob/master/vvp/compile.cc.

Those are just guesses based on a couple of minutes looking at the repository. Good luck.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.