From e8dd24565a26a653a0d955b553e31a106fdc3610 Mon Sep 17 00:00:00 2001 From: PhillipRambo <93056982+PhillipRambo@users.noreply.github.com> Date: Thu, 27 Mar 2025 14:46:02 +0100 Subject: [PATCH] Update layout_tutorial.md --- .../part_3_layout/layout_tutorial.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/modules/module_1_bandgap_reference/part_3_layout/layout_tutorial.md b/modules/module_1_bandgap_reference/part_3_layout/layout_tutorial.md index 1c9e6a93..7c5f67bd 100644 --- a/modules/module_1_bandgap_reference/part_3_layout/layout_tutorial.md +++ b/modules/module_1_bandgap_reference/part_3_layout/layout_tutorial.md @@ -81,7 +81,7 @@ klayout two_stage_OTA.gds -e ``` ### Changing the Netlist Format for LVS -As we move into the layout phase, performing LVS (Layout vs. Schematic) checks is crucial to ensure that the layout matches the schematic design. Preparing the netlist in the correct format is a key step in this process. For LVS, we require a `.cdl` format netlist. Here's how to prepare it: +As we move into the layout phase, performing LVS (Layout vs. Schematic) checks is crucial to ensure that the layout matches the schematic design. Preparing the netlist in the correct format is a key step in this process. 1. **Generate the Netlist in Xschem**: @@ -90,14 +90,10 @@ As we move into the layout phase, performing LVS (Layout vs. Schematic) checks i - Deselect the **Use 'spiceprefix' attribute** checkbox. - Enable the option **LVS netlist: Top level is a .subckt**. - Click **Netlist** to generate the required file. -2. **Rename the Extracted Netlist**: + +2. **Inspect the CDL File**: - - Locate the generated `.spice` file in the **simulations** folder (it will have the same name as your schematic). - - Rename the file extension from `.spice` to `.cdl`. For example, rename `two_stage_OTA.spice` to `two_stage_OTA.cdl`. - - For safety, copy the renamed `.cdl` file to your **layout folder** to prevent accidental overwrites during future operations. -3. **Inspect the CDL File**: - - - Open the `.cdl` file in a text editor to ensure its contents look correct. You should see something like this: + - Open the `.spice` file in a text editor to ensure its contents look correct. You should see something like this: ``` ** sch_path: /home/pedersen/projects/IHP-AnalogAcademy/modules/module_1_bandgap_reference/part_1_OTA/schematic/two_stage_OTA.sch @@ -125,7 +121,7 @@ C2 net3 vout cap_cmim w=22.295e-6 l=22.295e-6 m=1 - **Run the LVS in KLayout**: - Open the **SG13G2 PDK** menu and select **SG13G2 LVS Options**. - - In the small menu that appears, specify the path to your `.cdl` netlist file. + - In the small menu that appears, specify the path to your `.spice` netlist file (remeber to select .spice as file format). - Click **OK** to save the settings. - Finally, navigate to the **LVS** option in the same menu to run the LVS check.