-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.txt
85 lines (80 loc) · 4.97 KB
/
help.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[info] Set current project to chisel3-tutorial (in build file:/D:/work/code_gen/chisel3_tutorial/)
[warn] Multiple main classes detected. Run 'show discoveredMainClasses' to see the list
Multiple main classes detected, select one to run:
[1] gcd.GCDMain
[2] gcd.GCDRepl
^JEnter number: 2
[info] Running gcd.GCDRepl GCD --help
Usage: interpreter [options] [<arg>...]
common options
-tn, --top-name <top-level-circuit-name>
This options defines the top level circuit, defaults to dut when possible
-td, --target-dir <target-directory>
This options defines a work directory for intermediate files, default is .
-ll, --log-level <Error|Warn|Info|Debug|Trace>
This options defines a work directory for intermediate files, default is .
-cll, --class-log-level <FullClassName:[Error|Warn|Info|Debug|Trace]>[,...]
This options defines a work directory for intermediate files, default is .
-ltf, --log-to-file default logs to stdout, this flags writes to topName.log or firrtl.log if no topName
-lcn, --log-class-names shows class names and log level in logging output, useful for target --class-log-level
--help prints this usage text
<arg>... optional unbounded args
firrtl options
-i, --input-file <firrtl-source>
use this to override the default input file name , default is empty
-o, --output-file <output>
use this to override the default output file name, default is empty
-faf, --annotation-file <input-anno-file>
use this to override the default annotation file name, default is empty
-ffaaf, --force-append-anno-file
use this to force appending annotation file to annotations being passed in through optionsManager
-foaf, --output-annotation-file <output-anno-file>
use this to set the annotation output file
-X, --compiler <high|middle|low|verilog>
compiler to use, default is verilog
--info-mode <ignore|use|gen|append>
specifies the source info handling, default is append
-fct, --custom-transforms <package>.<class>
runs these custom transforms during compilation.
-fil, --inline <circuit>[.<module>[.<instance>]][,..],
Inline one or more module (comma separated, no spaces) module looks like "MyModule" or "MyModule.myinstance
-firw, --infer-rw <circuit>
Enable readwrite port inference for the target circuit
-frsq, --repl-seq-mem -c:<circuit>:-i:<filename>:-o:<filename>
Replace sequential memories with blackboxes + configuration file
-clks, --list-clocks -c:<circuit>:-m:<module>:-o:<filename>
List which signal drives each clock of every descendent of specified module
-fsm, --split-modules Emit each module to its own file in the target directory.
--no-check-comb-loops Do NOT check for combinational loops (not recommended)
--no-dce Do NOT run dead code elimination
firrtl-interpreter-options
-fiwv, --fint-write-vcd writes vcd execution log, filename will be based on top circuit name
-fivsuv, --fint-vcd-show-underscored-vars
vcd output by default does not show var that start with underscore, this overrides that
-fiv, --fint-verbose makes interpreter very verbose
-fioe, --fint-ordered-exec
operates on dependencies optimally, can increase overhead, makes verbose mode easier to read
-fiac, --fr-allow-cycles
allow combinational loops to be processed, though unreliable, default is false
-firs, --fint-random-seed <long-value>
seed used for random numbers generated for tests and poison values, default is current time in ms
-fimed, --fint-max-execution-depth <long-value>
depth of stack used to evaluate expressions
-fisfas, --show-firrtl-at-load
compiled low firrtl at firrtl load time
-filcol, --dont-run-lower-compiler-on-load
run lowering compuler when firrtl file is loaded
chisel3 options
-chnrf, --no-run-firrtl Stop after chisel emits chirrtl file
firrtl-repl
-frfs, --fr-firrtl-source <firrtl-source-file>
firrtl file to load on startup, default is no file
-frsf, --fr-script-file <firrtl-script-file>
script file to load on startup, default is no file
-fruvs, --fr-use-vcd-script
Currently unsupported, use --fr-vcd-script-override <vcd-file-name> instead
-frvso, --fr-vcd-script-override <vcd-file>
load vcd file as script
-frrsos, --fr-run-script-on-startup
run script immediately on startup
[success] Total time: 2 s, completed 2017-10-23 20:20:48