You are on page 1of 6
intersj Application Note 1613 ‘Author: Don Lafontaine From SPICE Netlist to Allegro Design Sub-circuit Introduction Intersil provides a SPICE mode! for all our new precision ‘Opamps. The SPICE mode netlist Is included Inthe data sheet, ‘along with simulation vs characterization curves. Reference application note AN4556 for details on the making of the SPICE models, ‘This application note will walk the user through the process of taking the netlist from the data sheet and creating a ‘ub-elteult to drop Into-a Cadence Allegro Design simulator. Copying the SPICE Netlist Download the Intersl data sheet from the web. The data sheet willbe n pa format. Open the pdf document and rightclick to ‘enable the select tool, itt isnot already selected (Figure 1), ‘This will enable you to then copy and paste the entire netist 15178114, 15128214, 15128414 into notepad, Scroll towards the end of the data sheet and find the SPICE netist Figure 3) and copy it into notepad. Name the file with the extension .MOD (not case sensitive) as shown In Figure 2. This fle needs to be saved in a common airectory with all the other SPICE files for this design. eae ov om 2a a Sermo [etimerotal—s]_ a FIGURE 2. SAVING NOTE PAD FILE AS .MOD FIGURE 3, NETLIST FROM DATA SHEET Model Editor ‘Open the Cadence mode! ealitor via the path shown In Figure 4 (Cadence SPB 16.2\AMS Simulator\Simulation Accessories\ Modil Ector) Note: This apnote ls writen using the SPB16.2 software. The look and feel may change with different revisions ‘of the Cadence software, but the procedure will be the same. Desemer 8, 2030 al EAUTION These sacs ae roreie fo elneorne donee: fol proper HansingProsesues anteiso haa wresen or 1-88 40R" "=, [Capon ere Keres ine, 2090 BH Rpts Hess Inara ond dean i Wade ned yes Comet ano ne Re nabears ‘oer aera martoned are te propery fk espe cane. Application Note 1613 [ter selecting the Model Ealtor, the screen in Figure 5 will open up. Select Capture ang click DONE. FIQURE , SELECT DESION ENTRY TOOL Click on File Inthe tool bar and select New. Figure 6 will appear FIGURE 8. NETLIST LOADED INTO MODEL EDITOR Dy TT a ———_ Click on File in the tool bar and select Save As. Then type the part $05) ER EN NN ‘name as the file name in Figure 9 and click Save, The fle with the complete netlist is now saved as a sib library file URE }EGINNING OF NEW MODEL ‘lick on Mad! in the toolbar and select Import. Then browse to the folder where you put the MOD file. Figure 7 will appear. ‘Select the desired MOD file and click Open, ts enlomimm ae Ce) ae fe —s]_ FIGURE 9. FILE SAVED AS Click on File inthe tool bar and select Export to Capture Part Library. The Input Model Library path and the Output Part Library path will automatically be loaded as shown in Figure 40, FIGURE 7, SELECT -MoD NETLIST eesres tee AT con ‘This will oad the netlist into the Model editor tool as shown in Figure 8. fm a Poti FaONARPCEORTESTTTTO tome eee cee FIGURE 40, LIBRARY CREATION Verity that the files paths are the same withthe only lfference being the .lb andl .olb extensions, aa rain 1 December 8, 2019 Application Note 1613 {lick OK and verify no Error messages of Waring messages 0s shown in Figure 44. Click OK. FIGURE 12. SCHEMATIC TO CAPTURE TRANSLATOR CHECK ‘lick on File inthe tool bar and select Import Wizard [Capture Like before, both path names willioad automaticaly and should have the same fle paths with the only difference being the .lib and .olb extensions as shown in Figure 12, eS ASTEETE wow [eiecleag RNR a = De] a |_| FIQURE 12. ASSOCIATE SYMBOL WITH SPICE MODEL Click Next and the sereen shown in Figure 43 will appear. This is. the sereen in which we will associate the pins of our SPICE model to the pins of the sub-clrcult model. The symbol shown Is a {generic 5 pin device. We want our Opamp symbol to look tke an ‘Opamp. To do this click on the Replace Symbol button and select {rom thelist of symbols provided with the Cadence program. This, Ist fs located at the following location on your C drive. ‘:\Cadence\$PB.46.2\tools\capture\ibary\OPAmp.olb pce eel Sarl eae at eee FIGURE 13. REPLACE GENERIC SYMBOL, Ifthe location of your Cadence software was loaded ina different location, then search for Cadence\SPB. ‘When selecting your symbol all that matters isthe pin count. The ‘numbers assigned to the symbol pins can be changed later. Just scroll through the Ist to find a symbol that matches a desired pinout and pin count of your device. In this example, we selected the TLC2201. Click Next, FIGURE 14. ASSOCIATE OP AMP SYMBOL WITH MODEL. Then click on the raw under the Symbol Pin column to activate pulldown menu box under the symbol column. Now pick the associated pin to match the Model Terminal function in the ‘model terminal column, As shown in Figure 15. eat eet FIGURE 15. DEFINE PINS OF SYMBOL TO PINS OF MODEL, Repeat forall Model Terminal pins as shown In Figure 46. ay 7 cot |e FIGURE 46, ALL PINS ASSOCIATED TO SYMBOL 3 | intersir oon Desemoar 8 2019 Application Note 1613 (Click Save Symbol and Figure 17 will appear. Very no Error messages or Waming messages. Click OK and then close the Mode! Editor. EERE lorstronstin ota Ten Nom 2017 FE StS eae RHE Re bedrails FIGURE 17. MODEL IMPORT WIZARD CHECK Using the New Sub-circuit to Run Simulations ‘Open the Cadence Software. Figure 18 shows the path to select, the Design Entry CIs. © noow ct > wommien . @ onset eg pears : © ee cense +e ie > 1 Oosnaeenroaie Sey Meatornnaeaesss rarenry , Croce Bone IE orca Sone 3 9 ommend Dh stirs Geran Gara 1M ariesnsozeconoe Btn tne cite eave 2 immecomatants 61% even cargrety Grom crecemncr sane EE marvtey 1B ose eed SB benreeceree inne © vinnie ston 1B nate Berea @ aero Be Prete @ ceaspmeimaee rumba © cacorsee : 1B ranae ‘ 1G tence : © orate © eben . [eines 1QURE 38. PATH TO DESIGN ENTRY CIS Figure 19 shows the Cadence Product Cholees. Select Allegro Design Entry CIS and Click OK. FIGURE 19. CADENCE PRODUCT CHOICES. Click on Fil in the tool bar and select New, and then Project. The sereen shown in Figure 20 will appear. Type in the name of the project and select Analog of Mixed A/D button. Browse to where Yyou saved the Netlst in the common directory (you must have all the files located in the same dlrectory) and click OK. C+ coat ‘ee Ces ni eg © amgamintst Nims prect te ‘orion ater ogi tncaty [PNG IeATFechenandePonertngianPSFCE tee FIGURE 20, SCREEN TO SETUP NEW PROJECT The sereen shown in Figure 24 wil appear. The user can select to ‘base their new project on an existing projector start a new one. Selecting to base upon an existing project will carry over the ‘existing project with all the simulation profiles and schematics. This can be areal time saver if the new projects very similar to an ‘old project. In this example, we wil chose to create a new project. Geese aap & Caen PEL He FIGURE 22, CREATING A NEW PROJECT OPTIONS 4 | intersir oon Desemoar 8 2019 Application Note 1613 (lick OK and the sereen In Figure 22 will appear. Click on the 'SCHEMATIC4 to open the Page tab and then Click on the page tab to open the Schematiet page. This Is where the new ‘sub-crcutt will be placed to run the simulations. Meee ECUNCTIES TEST idlalaiajo ile vlels|i+ siz == FIGURE 22. SIMULATION SCHEMATIC PAGE Before we can place the new sub-citcuit model and run a simulation, we need to set-up the simulation profile and add the library. Click on PSpice in the too! bar and select New Simulation Profile Figure 23 will appear. Then type in any name that will help you keep track of the different simulations. Then click ‘Create and Figure 24 will appear reve aj =J FIGURE 23. NAMING SIMULATION PROFILE ‘lick the Configuration Files tab. Then click on Library in the ‘Category field (highlighted in blue). Browse to where to saved the Library file. Then click the Add to Design button. The Simulation ‘Settings screen should look like that shown in Figure 24 with the file path name being the location of the common directory Click the Apply button. ee a [SSSR TRB ae [== | | \GURE 24, CONFIGURATION FILE TO ADD LIBRARY "Now click the analysis tab and configure the simulation as shown In Figure 25, The analysis selected for this example is an AC ‘Sweep/Nolse, Other types of analysis are: Time Domain, (Transient), DC Sweep and Bias Point. Jus cick the down arrow inthe analysis type section to access the different Analysis ‘options. When done, click OK. (femme —s] [Cua sarees AT ae oe treme | ean carvan cSt F = FIGURE 25. SCREEN To SET-UP THE ANALYSIS PROFILE conreuRED ‘The user will need to ada the Library .olb tothe simulator To do this, ellek on Place n the tool bar and select Part. This wil bring up the part placement tool at the far right ofthe simulator as. shown in Figure 26. Interall Corporati reserves the Agito make changes neu desig, sofware and/or specfeaions at ay tne witha nate. Accor he readers cautioned o very that the Appicaton Not or Technical Grif curert before proceeding For information regarding tars Corporation and is product, cos www intra. com 8 | intersir oon Desemoar 8 2019

You might also like