Skip to content

What is the difference between the Firrtl option -X and -E ? #2230

Answered by seldridge
itviewer asked this question in Q&A
Discussion options

You must be logged in to vote

Historically, there were two options: -X/--compiler and --split-verilog. -X was telling the compiler "to what form should I run" and --split-verilog was turning on split verilog output. At this point, the emission was a special step in the compilation.

Eventually the Scala FIRRTL Compiler was refactored to make emission a transform. This opened up interesting possibilities like running multiple emitters. However, this was incompatible with the notion of --split-verilog. (To which emitter does --split-verilog apply?) To make this more clear --split-verilog was removed and -E/--emit-circuit and -e/--emit-modules was added. These add an emitter that will either do circuit emission or one-mod…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@ekiwi
Comment options

@seldridge
Comment options

@seldridge
Comment options

Answer selected by itviewer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants