Skip to content

sv2chisel 0.1.0-RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@johnsbrew johnsbrew released this 16 Dec 08:41
· 26 commits to master since this release
a166318

Release 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:

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