Free as in Freedom: Codeberg.org. Create your repos!
Spectre2Spice netlist converter.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Thomas Benz ff612defea Initial commit. 3 meses atrás
bin Initial commit. 3 meses atrás
example Initial commit. 3 meses atrás
spectre2spice Initial commit. 3 meses atrás
tech_example Initial commit. 3 meses atrás
.gitignore Initial commit. 3 meses atrás
LISENCE Initial commit. 3 meses atrás
README.md Initial commit. 3 meses atrás
setup.py Initial commit. 3 meses atrás

README.md

Spectre2Spice

This is the home of Spectre2Spice.

Description

Spectre2Spice is a standalone application to translate netlists from the Cadence Spectre Circuit Simulator format to SPICE.

Usage

spectre2spice -h

Install

Install:

python3 setup.py install --user

Install by creating symlinks:

python3 setup.py develop --user

Example netlist

An example netlist is included to test Spectre2Spice. Run the following command to start the translation:

spectre2spice example/ my_top.scs output/ tech_example/

With logging activated:

spectre2spice example/ my_top.scs output/ tech_example/ --log_path logs/

Run the translated netlist

ngspice output/my_top.sp

Once ngspice is running type run the simulation like this:

op

With

print all

the node voltages can be displayed. Expected is:

v_v0#branch = -8.90967e-05
v_v1#branch = 0.000000e+00
vd = 2.409033e+00
vdd = 3.300000e+00
vg = 2.000000e+00