Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do any open source, complete system verilog grammars exist?

Are there any grammars for system Verilog that are open source? I'm looking for System Verilog, not plain Verilog grammars.

like image 825
Ross Rogers Avatar asked Dec 22 '10 18:12

Ross Rogers


3 Answers

Verilog-Perl is open source and claims to have SystemVerilog support. You could contact the Perl CPAN author to see if it covers the complete grammar (his email address is listed on the CPAN page).

like image 128
toolic Avatar answered Nov 15 '22 07:11

toolic


No(I have looked). In fact very few expensive commercial tools completely support IEEE P1800. There is at least one company that sells a parser API.

like image 20
Adam12 Avatar answered Nov 15 '22 08:11

Adam12


Here is a V2K and SV parser in ANTLR grammar.

  • https://github.com/gburdell/parser
like image 37
Amal Avatar answered Nov 15 '22 07:11

Amal