/veelox

An experiment in SystemVerilog Preprocessing

Primary LanguageJavaMIT LicenseMIT

veelox

An experiment in preprocessing.

Hopefully it leads to a SystemVerilog compiler and simulator.

The first challenge is to create a pre-processor.

How to build

This project is built with Gradle and Antlr.

./gradlew generateGrammarSource

Notes

When running ./gradlew build antlr gives this error:

error(160): ca/martinda/veelox/SystemVerilogPreprocessorParser.g4:6:17: cannot find tokens file /home/martin/git/veelox/build/generated-src/antlr/main/SystemVerilogPreprocessorLexer.tokens

The tokens file exists but not in the place where antlr is looking. Possibly related to: gradle/gradle#1240