sv2chisel 0.1.0-RC2
Pre-releaseRelease candidate for the first official release of sv2chisel & sv2chisel_helpers
sv2chisel and sv2chisel-helpers are now available on Maven central https://repo1.maven.org/maven2/com/ovhcloud/ and might be added directly to your scala projects.
For example with sbt
libraryDependencies += "com.ovhcloud" % "sv2chisel-helpers_2.12" % "0.1.0-RC2"
libraryDependencies += "com.ovhcloud" % "sv2chisel_2.12" % "0.1.0-RC2"
More syntax examples on respective maven pages:
- https://search.maven.org/artifact/com.ovhcloud/sv2chisel-helpers_2.12/0.1.0-RC2/jar
- https://search.maven.org/artifact/com.ovhcloud/sv2chisel_2.12/0.1.0-RC2/jar
Assembled version (stand-alone jar file) attached is provided by sbt-assembly.
The executable file is a simple wrapping of java start of the main class (last version available at https://github.com/ovh/sv2chisel/blob/master/utils/bin/sv2chisel)
Download both in the same directory (or update path within the bash file) and you are all set!
Usage example
# get all the syntax
./sv2chisel --help
# preferred usage based on config files
./sv2chisel -c <my_config_file.yml>
# most simple call, directly translating to <path/to/my_verilog_file.scala>
./sv2chisel <path/to/my_verilog_file1.sv> ... <path/to/my_verilog_fileN.sv>
NB: see https://github.com/ovh/sv2chisel/blob/master/src/main/resources/project/config.yml for example yml