3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-27 02:58:48 +00:00
yosys/examples/cmos
Miodrag Milanovic 48a3dcc02a End of file fix
2026-06-23 07:23:41 +02:00
..
.gitignore
cmos_cells.lib
cmos_cells.sp End of file fix 2026-06-23 07:23:41 +02:00
cmos_cells.v End of file fix 2026-06-23 07:23:41 +02:00
cmos_cells_digital.sp End of file fix 2026-06-23 07:23:41 +02:00
counter.v
counter.ys
counter_digital.ys End of file fix 2026-06-23 07:23:41 +02:00
counter_tb.gtkw
counter_tb.v
README End of file fix 2026-06-23 07:23:41 +02:00
testbench.sh End of file fix 2026-06-23 07:23:41 +02:00
testbench.sp
testbench_digital.sh End of file fix 2026-06-23 07:23:41 +02:00
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.