mentor ee610
TRANSCRIPT
![Page 1: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/1.jpg)
Mentor Graphics Tutorial
EE610
Prepared by HIMANSHU & ANUJ
![Page 2: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/2.jpg)
To start Mentor Graphicsright click on desktopclick on open terminalcshmkdir ~/mentor_designs
last command Required only for first time
![Page 3: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/3.jpg)
![Page 4: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/4.jpg)
To use Mentor Graphics
cshcd mentor_designssource /cad/Mentor_tools/ICFlow/2008.cshicstudio&
![Page 5: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/5.jpg)
![Page 6: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/6.jpg)
Mentor Graphics icstudio GUI will open
initially the screen will look like
![Page 7: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/7.jpg)
• Click on File• Then New• Then Project• You will get following window
![Page 8: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/8.jpg)
02
![Page 9: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/9.jpg)
• Press Next button to continue• Give appropriate name to your project
![Page 10: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/10.jpg)
03
![Page 11: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/11.jpg)
• Again press the Next button• Now press ‘Open Library List Editor...’ button
![Page 12: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/12.jpg)
04
![Page 13: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/13.jpg)
• Then click ‘Edit Menu’ button• Select ‘Add MGC Design Kit...’ option• There select ‘/cad/Mentor_tools/ADK_3.1’
![Page 14: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/14.jpg)
![Page 15: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/15.jpg)
![Page 16: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/16.jpg)
Then a row named ‘MGC_DESIGN_KIT’ will be added to the entries
![Page 17: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/17.jpg)
![Page 18: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/18.jpg)
• Now again press ‘Edit Menu’ button• Then select ‘Add Standard MGC Libraries’ then
more 5 libraries would be added to entries
![Page 19: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/19.jpg)
![Page 20: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/20.jpg)
• Now press ‘New Row’ button thrice to add 3 new rows & fill them as follows
• (you can add rows by browsing appropriate location upto ‘mgc_icstd_lib’ & then write name of perticular library)
MGC_IC_COMMLIB /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/mgc_ic_commlib
MGC_IC_COMMLIB_QS /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/mgc_ic_comm_qs
MGC_IC_COMMLIB_RF /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/mgc_ic_comm_rf
![Page 21: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/21.jpg)
There must be 9 entries as followsMGC_DESIGN_KIT /cad/Mentor_tools/ADK_3.1
MGC_IC_GENERIC_LIB /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/generic_lib
MGC_IC_DEVICE_LIB /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/device_lib
MGC_IC_SOURCES_LIB /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/sources_lib
MGC_IC_VERILOG_LIB /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/mgc_ic_verilog
MGC_IC_MICROLIB /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/mgc_ic_microlib
MGC_IC_COMMLIB /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/mgc_ic_commlib
MGC_IC_COMMLIB_QS /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/mgc_ic_comm_qs
MGC_IC_COMMLIB_RF /cad/Mentor_tools/ICFlow/2008.2o/2008.2o_linux_x86_64/icflow_home/mgc_icstd_lib/mgc_ic_comm_rf
![Page 22: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/22.jpg)
Press OK
![Page 23: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/23.jpg)
Press ‘Next’Press ‘Open Settings Editor’There you must fill the entries as follows
Process File /cad/Mentor_tools/ADK_3.1/technology/ic/process/<technologyname>
DRC Rules File /cad/Mentor_tools/ADK_3.1/technology/ic/process/<technologyname>.rules
LVS File /cad/Mentor_tools/ADK_3.1/technology/ic/process/<technologyname>.calibre.rules
PEX Rules Files /cad/Mentor_tools/ADK_3.1/technology/ic/process/<technologyname>.calibre.rules
*Leave ‘SDL rules file’ entry empty*<technology name> are ami05(0.5µm),
tsmc018(180nm)
![Page 24: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/24.jpg)
![Page 25: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/25.jpg)
• Press ‘OK’• Then ‘Next’• Then ‘Finish’
![Page 26: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/26.jpg)
![Page 27: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/27.jpg)
• Now including the libraries is over• our screen will look like...
![Page 28: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/28.jpg)
![Page 29: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/29.jpg)
• Now we can built the circuit• To do this we have create new Library• Right click within Library space & select New
Library• Give appropriate name to the library & press
OK
![Page 30: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/30.jpg)
![Page 31: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/31.jpg)
• Select the created Library• Right click within the Cell area• Select ‘New Cell View’• Enter Appropriate cell name• To built the circuit, select View Type as
‘Schematic’• View Name would automatically become
‘Schematic’• Press ‘Finish’
![Page 32: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/32.jpg)
![Page 33: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/33.jpg)
![Page 34: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/34.jpg)
• To place devices select ‘Library’ on side panel• Then ‘Device Lib’• Let us put 4-pin NMOS
![Page 35: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/35.jpg)
![Page 36: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/36.jpg)
• Now select the device, right click over it & click over word ‘Properties’ but not on arrow in front
• Select the entry ASIM_MODEL & change the value NCH to N
• Click apply• As per requirement we can also modify other
attributes of NMOS like W, L etc.• Finally press ‘OK’
![Page 37: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/37.jpg)
![Page 38: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/38.jpg)
• Similarly place other devices like PMOS• Also through its properties make its
‘ASIM_MODEL’ as P from PCH
![Page 39: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/39.jpg)
![Page 40: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/40.jpg)
• Place VDD, GND etc through Generic Lib inside libraries on side panel
• Various sources can be placed through Sources Lib
![Page 41: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/41.jpg)
![Page 42: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/42.jpg)
• The value of the source can be modified by selecting it, then right click on it, through properties
• The small branch at the side of circuit is to define VDD
![Page 43: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/43.jpg)
![Page 44: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/44.jpg)
• Press W to place the wire• Make appropriate connections
![Page 45: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/45.jpg)
![Page 46: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/46.jpg)
• Now we have to add ports• Ports are of 3 types- portin, portout, portbi• through ports only we can vary or sweep the
signal• Ports list available on left sidebar• Place portin wherever we need to apply input
signal• Place portout wherever we need to take
output• By default name of each port is NET
![Page 47: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/47.jpg)
![Page 48: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/48.jpg)
• To change the name of the port select the point on port, right click & select properties
• Give appropriate name to the port
![Page 49: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/49.jpg)
![Page 50: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/50.jpg)
• Now our circuit is ready for simulation
![Page 51: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/51.jpg)
SIMULATION
• Click Simulation on right side panel• Press New Configuration• Select AMS_Simulation & press OK• Select default (if any other configuration
comes again press New Configuration and repeat the step)
• Press OK
![Page 52: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/52.jpg)
![Page 53: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/53.jpg)
• Now we have to include Library(model) using which we are simulating our circuit
• For this select ADK Sim Palette on right sidebar
• Select Library & include appropriate model file (level1 or BSIM3)
• Press OK• Again press Default Sim Palette
![Page 54: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/54.jpg)
![Page 55: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/55.jpg)
![Page 56: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/56.jpg)
![Page 57: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/57.jpg)
• Now we have to Force the Input ports• Forcing means applying appropriate input
signal to input port• Select ‘Forces’ from right sidebar & click
manager• Now select the name of port which you want
to force i.e. the ports to which we are applying input signals & select appropriate input signal
• set its attributes
![Page 58: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/58.jpg)
![Page 59: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/59.jpg)
• After correctly setting the appropriate attributes of the signal add the signal to Forces list by pressing add button
![Page 60: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/60.jpg)
![Page 61: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/61.jpg)
• Force will appear as...
![Page 62: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/62.jpg)
• Now we have to set nature of analysis like AC, DC, Transient etc
• Click ‘Analyses...’ on right sidebar & select appropriate one
• Then click on setup to enter detail of analysis• Finally click ‘OK’
![Page 63: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/63.jpg)
![Page 64: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/64.jpg)
• For transient simulation we always put starting time as 0
• Keep Stop time as per the requrements• Max time step should be kept as low as
possible to get higher accuracy but this leads to more simulation time
![Page 65: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/65.jpg)
![Page 66: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/66.jpg)
• Now before simulating we should store our input & output signals
• Select Setup, the Outputs• Add all input & output signals to the list by
clicking add button
![Page 67: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/67.jpg)
![Page 68: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/68.jpg)
• Now we can initiate simulation• To initiate the simulation press button ‘Run
ELDO’
![Page 69: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/69.jpg)
![Page 70: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/70.jpg)
• To view waveforms select View Waves & click on New Window
• Select correct analysis type & appropriate signals
![Page 71: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/71.jpg)
![Page 72: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/72.jpg)
• We can also put grids & cursor for measurements
![Page 73: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/73.jpg)
DC Analysis
• For DC analysis select DC from Analyses...• Click on setup• During DC analysis we can sweep any voltage
signal between two values with proper voltage steps
• In shown example input voltage of the inverter has been swept from 0V to 3.3V & we got the proper output
![Page 74: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/74.jpg)
![Page 75: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/75.jpg)
• Similarly simulate the circuit using ‘Run ELDO’ & observe the waveforms appropriately
![Page 76: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/76.jpg)
• AC analysis basically provides the frequency response of the circuit
• For AC analysis we have to force the input signal as sinusoidal signal of appropriate magnitude
![Page 77: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/77.jpg)
![Page 78: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/78.jpg)
• Then we have to set the analysis as AC• While setup we need to specify start & stop
frequency• Also we need to specify input port (where
signal freq is varied) & output port where we saw the effect
• Similarly results are seen through View Waves
![Page 79: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/79.jpg)
![Page 80: Mentor EE610](https://reader030.vdocuments.us/reader030/viewer/2022020115/553379d5550346c3558b493e/html5/thumbnails/80.jpg)
• To finish the simulation press End Sim button• Save your work• Close the icstudio• Then type exit in the terminal & press enter• Again type exit & press enter