Generating netlists
CLI
Use cb_netlist
to generate a netlist from an example:
If your have your own file in a subdirectory mine/logic.py
in your current
working directory:
The general arguments are:
techfile
: only Skywater 130 is publicly released, although it's trivial to write your ownmodule
: Module that will be instancedoutput format
: Onlyhspice
for now, although verilog is plannedflow steps
: Onlyall
for now.
Output
The output goes by default into ./output
. In this directory you will see all the files
required for simulation:
hspice top.sp
(or finesim or whatever your simulator of choice is).