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
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
Getting one of these indicates failure of some sort.
Getting one of these indicates failure of some sort.
A clue might be provided here.
(Since version Chisel 3.4) This will be removed in Chisel 3.5
This family provides return values from the chisel3 and possibly firrtl compile steps
This family provides return values from the chisel3 and possibly firrtl compile steps
(Since version Chisel3 3.4) This will be removed in Chisel 3.5
Optional circuit, has information like circuit name
The emitted Chirrrl text
Optional Firrtl result, @see freechipsproject/firrtl for details
(Since version Chisel 3.4) This will be removed in Chisel 3.5
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