Quickstart¶
Run a Bundled Example¶
The fastest way to try EVAS is to run one of the included examples:
evas run clk_div
This will:
Copy the
clk_divVerilog-A model and Spectre testbench into./clk_div/Simulate the netlist; outputs go to
./output/clk_div/Run the analysis script, saving
analyze_clk_div.png
Simulate Your Own Netlist¶
evas simulate path/to/tb.scs -o output/mydesign
Each simulation run produces:
File |
Contents |
|---|---|
|
Time-domain waveform data |
|
Auto-generated multi-panel plot |
|
All |
CSV Output Format¶
Signals default to 6-digit scientific notation (:6e).
The save statement accepts optional :fmt suffixes per signal:
save vin:10e vout:6e clk:2e dout_code:d
Suffix |
Format |
Example |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
integer |
|
Supported Verilog-A Features¶
@(cross(...)),@(above(...))zero-crossing events@(initial_step)initializationtransition()operator with delay and rise/fall timesV(node) <+voltage contributionsArithmetic, logical, bitwise, shift, ternary operators
forloops,if/else,begin/endblocksInteger/real variables, arrays, parameters with ranges
`include,`define,`default_transitiondirectivesSI suffixes; math functions:
ln,log,exp,sqrt,pow,abs,sin,cos,floor,ceil,min,max