steps for creating a circuit with hierarchical blocks
TRANSCRIPT
8/12/2019 Steps for Creating a Circuit With Hierarchical Blocks
http://slidepdf.com/reader/full/steps-for-creating-a-circuit-with-hierarchical-blocks 1/5
Steps for creating a circuit with hierarchical blocks
Go to Start --> Programs --> OrCAD Release 9.1 --> Capture CIS1.
Go to File --> New --> Project...2.
Give a name for your project.
Select Analog or Mixed-signal Circuit Wizard.
Choose a folder for saving your project.
Click on OK.
3.
For digital simulations Add (double click on) 7400.olb (conatins TTL ICs).
For analog simulations Add (double click on) opamp.olb (conatains Op-Amps including uA741) and diode.olb (contains diodes).
4.
Now make the circuit in the schematic window. Notice the title of the schematic window, it says SCHEMATIC1:PAGE1. This
means the name of the schematic is SCHEMATIC1.
5.
for creating a circuit with hierarchical blocks http://students.uta.edu/rx/rxr5243/tutor ials/orcad/heirarchicalb
3/8/2014
8/12/2019 Steps for Creating a Circuit With Hierarchical Blocks
http://slidepdf.com/reader/full/steps-for-creating-a-circuit-with-hierarchical-blocks 2/5
Do not place any input signals or voltage markers yet.
In the above example of a Half Adder, it has two inputs A and B, and two outputs Sum and Carry. For each one of them, place a
Port using the Place Port button . The following dialog appears:
Connect the ports to the inputs and output. For input, the recommended port is PORTRIGHT-R. For output, the recommended
port is PORTLEFT-L.
Double click on the default port names PORTRIGHT-R/L to give them new meaningful names.
Save the design by clicking on .
6.
Open the project window. (Either minimize the schematic window, or choose Window --> <projectname>).
Right click on the .dsn file and chose New Schematic.
7.
for creating a circuit with hierarchical blocks http://students.uta.edu/rx/rxr5243/tutor ials/orcad/heirarchicalb
3/8/2014
8/12/2019 Steps for Creating a Circuit With Hierarchical Blocks
http://slidepdf.com/reader/full/steps-for-creating-a-circuit-with-hierarchical-blocks 3/5
Accept the default name ie. SCHEMATIC2. Notice that it appears under the .dsn file.
Now right click on SCHEMATIC2 and click on New Page. Accept the default name.
The new page appears under SCHEMATIC2.
Before proceeding, you MUST SAVE NOW by clicking the button!! Otherwise an error will message will be displayed.
8.
The SCHEMATIC1 contained the Half Adder that we wanted to use as a component. We will now use it in the new schematic
SCHEMATIC2. But we have to make SCHEMATIC2 the Root Schematic before we can simulate it. To do this right click on
SCHEMATIC2 and click on Make Root.
Now the ordering changes and the mark (/) moves from SCHEMATIC1 to SCHEMATIC2.
9.
Double click on the Page1 of SCHEMATIC2.
The blank schematic page opens.
10.
for creating a circuit with hierarchical blocks http://students.uta.edu/rx/rxr5243/tutor ials/orcad/heirarchicalb
3/8/2014
8/12/2019 Steps for Creating a Circuit With Hierarchical Blocks
http://slidepdf.com/reader/full/steps-for-creating-a-circuit-with-hierarchical-blocks 4/5
Now click on the create hierarchical block icon .
Fill in any unique name for Reference.
In Implementation Type, select Schematic View.
In Implementation Name, type SCHEMATIC1, i.e. it must be the same as the one on the Half Adder.
Click OK. Now draw a box in the window with the mouse of any dimensions. The following will appear:
You can drag the ports (A, B, C and D) to comfortable locations within the block (shown in the last figure).
11.
You can repeat step 12 if you want to put more instances of the block. For example, we will make a Full Adder with 2 Half
Adders, so we have made two blocks. Keep in mind that reference names should be different like HA1 and HA2, but the
Implementation Name is the same for both the Half Adders: SCHEMATIC1.
12.
Now make a circuit with the component blocks and simulate it normally.
Note: If you have problems in placing voltage markers then save, close and reopen the project.
The results are shown:
13.
for creating a circuit with hierarchical blocks http://students.uta.edu/rx/rxr5243/tutor ials/orcad/heirarchicalb
3/8/2014
8/12/2019 Steps for Creating a Circuit With Hierarchical Blocks
http://slidepdf.com/reader/full/steps-for-creating-a-circuit-with-hierarchical-blocks 5/5
That’s all folks!
for creating a circuit with hierarchical blocks http://students.uta.edu/rx/rxr5243/tutor ials/orcad/heirarchicalb