can anyone tell the reason for this error. I have ...
# sky130
h
can anyone tell the reason for this error. I have included all library files
c
You subcircuit names cannot start with the letter "C" otherwise spice will assume your subcircuit is capacitor and expect a capacitance value in the fourth field. Use "X" as the first letter instead to tell spice that this is a subcircuit.
s
@Himanshu Singh as @Christoph Weiser said add a 'X' to all subcircuit symbols. Xschem does not enforce this because Verilog or VHDL do not require any special letter. Also users who use Xschem for making PCBs often use the letter 'U' for ICs. So at the end of the day the choice of the correct name to use is left in the powerful hands of the designer 💪
🙌 1
@Himanshu Singh Side note: If you install
libcairo2-dev
(and
libcairo2
which is probably already on your system) and reconfigure / recompile / reinnstall xschem you get much better fonts in your schematics.
👍 2
h
thanks for the insights @Stefan Schippers
I have applied your solution and it worked. but however the simulation results are not accurate. To correct the solution, I need to resize the transistors. I am using the fets from the sky130_fd_pr folder. The nfets/pfets there come at a default sizing of 1/0.15. I want to change this. The new size is 420n/150n. But when I do this I face an error saying "could not find model name".
Q1. How to rename interms of 'nm' Q2. what are the sizing options available ?
s
you need to use W=0.42 L=0.15 no units as in sky130 they are scaled down by 1e6