5 posts / 0 new
Last post
#1 Feb 9, 2019
Last seen: 4 months 3 weeks ago
Joined: 2019-02-09 01:40

how to create .LIB from a hierarchical design


I am trying to model an IC. So I started with designing multiple hierarchical blocks which go inside the top level IC symbol.

I combined all the internal hierarchical blocks and generated a Part for the IC. .OLB file is generated automatically while generating the part for top level hierarchical block. 

When I added the above generated part to a new project, I am getting error messages. What I understood from the error messages is that it is misssing library files for the components which were used in the hierarchical blocks.When I looked into folder where .OLB file was generated, I dont see any .LIB file.

my question is how to get .LIB file for a hierarchical design which has multiple hierarchical blocks in it.

Thanks in advance.



Mon, 2019-02-11 04:44
RobertoGb's picture
Last seen: 3 weeks 3 days ago
Joined: 2016-05-24 03:10


What you have to do to create a .lib from a hierarchical design is:

1. Delete sources (external sources) and place hierarchical ports for the inputs and the outputs

2. Go to project manager and select Tools - Create Netlist

3. Select the tab PSpice and make active the option "Create Hierarchical Format Netlist". 

Then you can create your OLB with such LIB and you can make the simulation


Sat, 2019-02-16 21:45
Last seen: 4 months 3 weeks ago
Joined: 2019-02-09 01:40

Thanks for the response. I did it in the way that you described, but what I observed is that the letlist for the components that I used from breaout library (Mbreakn,Mbreakp and Sbreak) is not there in the netlist. 



Fri, 2019-05-31 01:15
Last seen: 2 months 1 week ago
Joined: 2017-07-26 03:05

Hi Murali,

As per my understanding, after creating netlist from schematic design, you see only instances of each components but not .model/.subckt if use components from "Breakout" library.
I would recommend you to create your own library for your design work.
If you need more info please feel free to contact me.

My email id - janayya@karmic.co.in

Kind Regards,

Tue, 2019-06-11 05:06
Last seen: 2 months 6 days ago
Joined: 2019-06-11 05:04

It is good to make a plan for any task so that we can better do it. Planning is important either it is essay writing reviews or some practical task so the whole work can be organized in some format. Overall it will give a shape to a task..!!

Download PSpice Lite and try it for free! Get PSpice Lite