Junbeom Park
04/02/2024, 4:35 PMStefan Schippers
04/02/2024, 4:48 PMM_tn3
to XM_tn3
and so on...Mitch Bailey
04/02/2024, 4:48 PMM
devices, while the spice library has X
devices. I think the ngspice libraries are configured to use the spice X
models here.
2. You probably don’t need to copy a local version of the cell spice. Just include the whole standard cell library.
3. You symbol should probably be type=primitive
. I don’t think you’ll need spice_sym_def
.
4. Make sure the format matches the pin order in the spice file. D CLK Q VDD VNW VPW VSS
Stefan Schippers
04/02/2024, 4:50 PMJunbeom Park
04/02/2024, 5:36 PMMitch Bailey
04/02/2024, 9:43 PMname=x2 VGND=vss VNB=vss VPB=vdd3v3 VPWR=vdd3v3 prefix=sky130_fd_sc_hvl__
Using this, it’s possible to define a generic symbols dffq_1
without gf180mcu_fd_sc_mcu7t5v0__
The format statement would be
format="@name @@D @@CLK @@Q @VDD @VNW @VPW @VSS @prefix@symname"
You may also need a this line in your symbol properties.
extra="VDD VNW VPW VSS prefix"