Anode
17
-3
17
-3
n-GaAs:Si - 1×10 cm
2 m
p-GaAs:P - 1×10 cm
4 m
Cathode
Figure 1: Model of the P-N Junction
Note: The figure indicates the material, doping conc entration, layer thicknesses, and contact locations.
Description of Application This tutorial on modeling and simulating a simple GaAs p -n junction is subdivided into five sections: 1. List of items that are required. 2. Instructions on how to launch Sentaurus, load the p-n junction tutorial file, and run the project. 3. Description of the Sentaurus simulation tools and how they fit in the simulation tool flow. 4. Procedure for adding and modifying Sentaurus variables. 5. Description of errors and debugging log files.
Requirements Synopsys Sentaurus version 2008.09 installed on an application server at your location. Valid license key supplied by CMC. Linux computer with network access to the server hosting the Synopsys software.
Project file entitled pn-junction-tutorial.tgz .
Note: The project file includes the project manual and Sentaurus tool guides.
Launching Sentaurus and Running the Simulation There are various tasks, as explained in the following subsections.
Application Note: Understanding Synopsys Sentaurus
Page 2 of 14
Unzippi ng the tutori al file To unzip the tutorial file: 1. From a command line, unzip the project file pn-junction-tutorial.tgz in a new directory of your choice (for example, /home/Sentaurus/Projects/pn-junction-tutorial/ ). tar –xvf pn-junction-tutorial.tgz
S etting up environment variables To define the necessary environment variables: 1. Export the license file: export LM_LICENSE_FILE=nnnnnn
where „nnnnnn‟ is the license key. Note: This assignment can be defined in your .bashrc file in the home directory.
Launch Sentaurus W orkbench To launch Sentaurus Workbench: 1. Execute swb in the directory containing the Sentaurus software (for example, /CMC/tools/Sentaurus/bin/swb ). Note: So that you do not need to browse to the directory each time you run the software, define an alias in your .bashrc file to automatically point to the directory.
2. In the pop-up dialog box requesting the STDB, enter the location of your Sentaurus project directory (for example, /home/Sentaurus/Projects/ ). Note: To avoid this prompt in the future, define the variable STDB in your .bashrc file. As indicated in Figure 2, the author‟s directory is /.automount/csie/h/users/awalk102/STDB/ .
Application Note: Understanding Synopsys Sentaurus
Page 3 of 14
Variable “wtot”
Tools Epi, Sentaurus Structure Editor, MatPar, Sentaurus Device & Inspect
Sentaurus Workbench STDB To unlock, refer to step 5a
Figure 2: Sentaurus Workbench Main Window
3. To refresh the directory listing, right-click on the STDB to see the newly added pn-junctiontutorial project folder. 4. Double-click on the J-V project under the pn-junction-tutorial folder. The main Sentaurus Workbench window is illustrated in Figure 2.
The pane on the left lists the project directories (outlined in green and identified as “Sentaurus Workbench STDB”) with the loaded p-n junction tutorial J-V project highlighted. The black outline indicates the visible tools: epi, SentaurusSE (Structure Editor), MatPar , SentaurusD (Device), and Inspect.
The red rectangle indicates the variable wtot.
On the toolbar, an orange circle indicates the run and abort icons.
5. Projects are typically run through the following series of manipulations: a. Unlock the project by either pressing Ctrl+K or, on the main menu, choosing Project > Unlock .
Application Note: Understanding Synopsys Sentaurus
Page 4 of 14
b. Clean up the temporary files by either pressing Ctrl+L or, on the main menu, choosing Project > Clean Up (see Figure 3). Note: This step may not be necessary the first time, but it is important thereafter.
Figure 3: Cleanup Options Dialog Box
c. Run the simulation by doing one of the following: i.
Press Ctrl+R .
ii. On the toolbar, click the
run icon.
iii. On the main menu, choose Nodes > Run.
Application Note: Understanding Synopsys Sentaurus
Page 5 of 14
A pop-up dialog box describing the steps of the simulation on the Sentaurus Workbench is shown in Figure 4.
Figure 4: Run Project Dialog Box
Note: In the Nodes drop-down list, it is usually sufficient to select either remaining or all.
Application Note: Understanding Synopsys Sentaurus
Page 6 of 14
d. Once the simulation is running, the Project Log window displays (see Figure 5).
Status: running Status: queued
Node status legend
Figure 5: Project Log Window and Main Window Status Indicators
As indicated on the figure, note the following:
The status of the project will change from idle to running on the bottom right. The last node of each tool will change color according to its status. To view the output of each tool‟s simulation progress, right-click on the highlighted node of the tool then select either View Output or Node Explorer as illustrated in Figure 6 for node n96.
Application Note: Understanding Synopsys Sentaurus
Page 7 of 14
Figure 6: Node ‘n96’ Output Win dow.
e. Once Sentaurus Device completes the numerical simulation, Inspect will graph the simulated J-V characteristics, as shown in Figure 7.
Application Note: Understanding Synopsys Sentaurus
Page 8 of 14
Figure 7: Inspect Tool Displaying the I-V Characteristics of the Simulated Device
i.
To output the data, select the curve Current1 then, on the main menu, choose File > Export > CSV.
ii. Exit Inspect. The Tecplot tool will load and display the simulated cross-sectional properties of the device (such as energy band diagrams, electric fields, carrier concentrations, etc) as a function of position. See Figure 8.
Application Note: Understanding Synopsys Sentaurus
Page 9 of 14
Figure 8: Tecplot Tool Showing the Results of the Simulation
Note: The left graph indicates the doping concentration as a function of cross-section; the right graph indicates the simulated energy band diagram as a function of cross-section.
iii. To output data from this tool, on the main menu choose File > Export > Inspect graph. Inspect will automatically launch, and the desired data can be plotted. To export, repeat Step 5.e.i. 6. When the simulation is complete, the Inspect and Tecplot tools can be run individually for ease of exporting data. 7. In order to run the simulation again if parameters are altered, repeat Step 5. 8. To abort a simulation, either click on the abort icon (to the right of the the toolbar) or choose Nodes > Abort on the main menu.
run icon on
S entaurus Wor kbench Tools and S imulation Tool Flow Upon successfully running the tutorial project in Sentaurus, you may want to modify the structure or physics under investigation or the output da ta displayed by either the Inspect or Tecplot tools. To make modifications, use the tool‟s command file: 1. Right-click on one of the tool icons (inside the black box in Figure 2). 2. Select Edit Input.
Application Note: Understanding Synopsys Sentaurus
Page 10 of 14
3. Choose Command File. For more details on the command file, refer to the tool‟s user guide. The files are located in the user_guides directory. Sentaurus‟ main tools are summarized in Table 1. Table 1: Main Tools Available in Sentaurus Tool Epi
Structure Editor
MatPar
Sentaurus Device Inspect
Tecplot
Purpose Specifies the multilayered epitaxial structure.
Details Material, layer thickness, doping concentration, mole fraction (for ternary materials) and mesh spacing. Generates the actual Application of contacts to the device, device described in the Epi construction of the grid and doping tool by specifying the data, and generates mesh device grid and mesh refinements. refinements. Builds the material All of the important m aterial parameter files used in the parameters are generated based on Sentaurus Device temperature and specific material simulation. requirements. See ../pardb/index.html for more information. Device simulator. Uses the outputs of previous tools to run the actual simulation (see Figure 9). Curve display program. Simulation output can be plotted using Inspect, such as current –voltage characteristics. Specialized plotting Dedicated for scientific visualization of software. the simulation results, for example, energy band diagrams and crosssectional 2D or 3D data.
User Guide epi_matpar_ug.pdf [1] sense_ug.pdf [2]
epi_matpar_ug.pdf [1]
sdevice_ug.pdf [3]
Documentation on Inspect.pdf [4] Tecplot User Guide.pdf [5]
Accessing a tool‟s command file is important in modifying simulation parameters and adding variables to the Sentaurus Workbench. An important aspect of understanding how Sen taurus works is understanding how the tools communicate with each other, which is referred to as the tool flow, shown in Figure 9.
Application Note: Understanding Synopsys Sentaurus
Page 11 of 14
command_epi.csv
sdevice_des.cmd nX_mpr.par
sde_dvs.cmd
current_des.plot
nX_epi.tcl Epi nX_epi.scm
Sentaurus Structure Editor
material.tcl material.par model.tcl
MatPar
Sentaurus Device
MatPar_mpr.cmd
plot_des.plot
grid_msh.tdr Figure 9: Simulation Tool Flow in Sentaurus Workbench
Epi tool
Purpose: Easily creates a multilayered epitaxial stack.
Input:
command_epi.csv comma separated values (csv) command file which specifies
the material, thickness, doping concentration, mole fraction and mesh size for each layer.
Output: nX_epi.scm , which becomes input to the Structure Editor tool, and nX_epi.tcl , which becomes input to the MatPar tool.
Sentaurus Structure Editor tool
Purpose: Generates the actual device described in the Epi tool by specifying the device grid and mesh refinements. Input:
sde_dvs.cmd (command file), and nX_epi.scm (output from the Epi tool) which is imported via the command load @episcm@ that is located in its command file sde_dvs.cmd . The
Structure Editor adds the contacts to the structure and generates the grid, meshing, and doping information through its output file.
Output:
grid_mesh.tdr , which becomes input to the Device tool.
MatPar tool
Purpose: Builds the material parameter files used in the Sentaurus Device simulation.
Input:
material.tcl is a tcl based file that allows the user to describe specific
material models (such as bandgap, mobility, etc), material.par is a file that includes all relevant material parameters required for Sentaurus Device; this file can be used instead of the material.tcl file, model.tcl is a tcl based file used to model the parameter of a material as a function of its dependencies (for example, tempera ture or doping); these model
Application Note: Understanding Synopsys Sentaurus
Page 12 of 14
files are found in the material parameter database (../pardb/), MatPar_mpr.cmd (command file), and nX_epi.tcl (output from the Epi tool) which is called via the command source @pwd@/@epitcl@ that loads all the layer variables and generates each material parameter file to the /npar directory using the material parameter database directory ../pardb . The command file also specifies the temperature of the simulation through the variable @temp@ defined in the Workbench. For more information on this process, refer to [6].
Output:
nX_mpr.par, which becomes input to the Device tool as a pointer to all MatPar generated material parameter files located in the /npar/ directory.
Sentaurus Device tool
Purpose: Specifies the electrodes of the structure, the physical models, the output plot data, the mathematical parameters for the simulation, and finally, the equations to simulate (for example, Poisson, electron and hole continuity equations). Input:
sdevice_dvs.cmd (command file) that imports the material parameter files (outlined in nX_mpr.par) built by MatPar using the material.tcl in conjunction with the model.tcl files, and nX_msh.tdr (output from the SentaurusSE tool) that contains the grid and
meshing data.
Output:
current_des.plot , which becomes input to the Inspect tool, and plot_des.plot , which becomes input to the Tecplot tool.
Sentaurus Workbench Variables The Sentaurus Workbench has specific variables defined for each tool. These allow you greater flexibility in bypassing the editing of the tool‟s command file, and are useful in studying the variation of a parameter and its effects on the simulation. For more information on the Workbench, see [7]. To add a variable: 1. Right-click on the row below the tools. 2. Select Add. 3. Define the string of the variable along with its default value. Note: Multiple values can be added to a specific variable by right clicking and selecting Add Values .
This variable will have to be defined in the specific tool‟s command f ile as @string@. For example, the width of the p-n junction is defined as “wtot” in the Sentaurus Workbench (see Figure 2) and is explicitly referred to as @wtot@ in both the Epi and Sentaurus Device command files.
Application Note: Understanding Synopsys Sentaurus
Page 13 of 14
Errors and Debugging Sentaurus maintains a log for each node‟s simulation activities. Each log file is named in the format nX_tool.log
where X represents the node number, and tool is a three-letter abbreviation referring to the tool of the node (for example, mpr for MatPar). Similarly, Sentaurus generates error files named nX_tool.err that can be accessed easily through the View Output or Node Explorer options explained on page 7 and shown in Figure 6. Note: It is important that you know node numbers. They can be seen on the Sentaurus Workbench by pressing F9.
Summary Synopsys Sentaurus is a powerful software package capable of simulating the electrical, optical and thermal properties of complex semiconductor devices. This application note outlines the necessary steps to launch the software and run the GaAs p-n junction tutorial project developed by the author. It then describes the tools capable of modeling and simulating the diode and how they interact in the simulation tool flow. Lastly, errors and debu gging were discussed in a way as to direct the user to the proper error and log files for more specific information. You are encouraged to read the Template for Creating and Simulating Multilayered Heterostructure Devices user guide [6] for further information on the use of the Epi a nd the Sentaurus Structure Editor tools.
References [1] “Epi/MatPar User Guide,” Synopsys, Inc. (2008). [2] “Sentaurus Structure Editor User Guide,” Synopsys, Inc. (2008). [3] “Sentaurus Device User Guide,” Synopsys, Inc. (2008). [4] “Inspect User Guide,” Synopsys, Inc. (2008). [5] “Tecplot User Guide,” Synopsys, Inc. (2008). [6] “Template for Creating and Simulating Multilayered Heterostructure Devices,” Synopsys, Inc. (2008). [7] “Sentaurus Workbench User Guide,” Synopsys, Inc. (2008).
Application Note: Understanding Synopsys Sentaurus
Page 14 of 14