The Driver provides methods to invoke the chisel3 compiler and the firrtl compiler.
The Driver provides methods to invoke the chisel3 compiler and the firrtl compiler. By default firrtl is automatically run after chisel. an ExecutionOptionsManager is needed to manage options. It can parser command line arguments or coordinate multiple chisel toolchain tools options.
args = "--no-run-firrtl --target-dir my-target-dir".split(" +") chisel3.execute(args, () => new DUT)
val optionsManager = new ExecutionOptionsManager("chisel3") with HasFirrtlOptions with HasChiselExecutionOptions { commonOptions = CommonOption(targetDirName = "my_target_dir") chiselOptions = ChiselExecutionOptions(runFirrtlCompiler = false) } chisel3.Driver.execute(optionsManager, () => new Dut)
or via command line arguments
Getting one of these indicates failure of some sort.
Getting one of these indicates failure of some sort.
A clue might be provided here.
Options that are specific to chisel.
Options that are specific to chisel.
when true just run chisel, when false run chisel then compile its output with firrtl
this extends FirrtlExecutionOptions which extends CommonOptions providing easy access to down chain options
This family provides return values from the chisel3 and possibly firrtl compile steps
Optional circuit, has information like circuit name
The emitted Chirrrl text
Optional Firrtl result, @see freechipsproject/firrtl for details
This object was generated by sbt-buildinfo.
The testers package provides the basic interface for chisel testers.
The util package provides extensions to core chisel for common hardware components and utility functions
(Since version 3.2.4) Please switch to chisel3.stage.ChiselStage. Driver will be removed in 3.4.