While simulating the bandgap in the example direct...
# xschem
s
While simulating the bandgap in the example directory
tb_bandgap.sch
, I see an error that says unknown devices. Corner model is defined in the top level schematic as
tt_mm
. The
Q1 BJT
, I assume is part of the model definition
tt_mm
, but I'm not sure it's not. Could someone let me know how to check where the model definition sections are located so that the sub-circuit model is recognized ? Also what's the best way to search and highlight a net , eg:
net-6
in the sub-circuit instance while on the schematic ? Finally is the model definition unavailability the reason for this error or am I missing something else as it seems the example should be running without any edits. Thanks
t
Where and how has your PDK been installed? What version is the sky130 PDK?
s
@Tim Edwards :I had installed PDK from source
open_pdks
with option
enable-sky130-pdk
as below. Version in
~open_pdks/VERSION
is
1.0.470
installed in my home directory ~/open_pdks.
Copy code
git clone <https://github.com/RTimothyEdwards/open_pdks.git> git_open_pdks
cd git_open_pdks
./configure --enable-sky130-pdk
make
sudo make install
t
I have no idea, then. I have my sky130 PDK installed the same way, and I have no issue running the example bandgap simulation.
s
Thanks. It maybe something trivial which I'm missing. Will draft a local version of the schematic and check. Could I just reconfirm that the
corner=tt_mm
includes the BJT PNP 5V typical models ?
t
Yes, it should. It does in my installation.
s
Thanks Tim for confirming. Not sure why the hierarchical schematic with the PNP were giving errors, but I managed to just run a basic simulation using the BJTs within the same hierarchy without any errors. 🙂