mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-23 16:04:37 +00:00
| .. | ||
| .gitignore | ||
| cmos_cells.lib | ||
| cmos_cells.sp | ||
| cmos_cells.v | ||
| cmos_cells_digital.sp | ||
| counter.v | ||
| counter.ys | ||
| counter_digital.ys | ||
| counter_tb.gtkw | ||
| counter_tb.v | ||
| README | ||
| testbench.sh | ||
| testbench.sp | ||
| testbench_digital.sh | ||
| testbench_digital.sp | ||
In this directory contains an example for generating a spice output using two different spice modes, normal analog transient simulation and event-driven digital simulation as supported by ngspice xspice sub-module. Each test bench can be run separately by either running: - testbench.sh, to start analog simulation or - testbench_digital.sh for mixed-signal digital simulation. The later case also includes pure verilog simulation using the iverilog and gtkwave for comparison.