- 18
- 45 067
Arash Katourani
Canada
Приєднався 21 лип 2020
Cadence and ADS tutorials
Downloading IHP BiCMOS PDK on Ubuntu, Integrating with Xschem [Read Description]
Description:
In this tutorial, I’ll guide you through the process of:
Downloading the open-source IHP BiCMOS 130nm PDK on Ubuntu.
Setting it up in Xschem for circuit design.
Simulating your designs step-by-step.
For CMOSs:
ihp-open-pdk-docs.readthedocs.io/en/latest/analog/xschem.html
### **Step 1: Set Up Environment Variables**
1. **Define `PDK_ROOT`** (replace `/path/to/IHP-Open-PDK` with your PDK directory):
export PDK_ROOT=/path/to/IHP-Open-PDK
2. **Define `PDK`**:
export PDK=ihp-sg13g2
3. **Make Variables Persistent**:
echo 'export PDK_ROOT=/path/to/IHP-Open-PDK' ~/.bashrc
echo 'export PDK=ihp-sg13g2' ~/.bashrc
source ~/.bashrc
---
### **Step 2: Download and Install `openvaf`**
1. **Download the `openvaf` Binary**:
wget datashare.tu-dresden.de/s/deELsiBGyitSS3o/download/openvaf_devel-x86_64-unknown-linux-gnu.tar.gz -O openvaf.tar.gz
2. **Extract the Downloaded File**:
tar -xvzf openvaf.tar.gz
3. **Move `openvaf` Binary to `/usr/local/bin`**:
sudo cp openvaf /usr/local/bin/
4. **Set Execute Permissions**:
sudo chmod +x /usr/local/bin/openvaf
---
### **Step 3: Run the Installation Script**
1. **Navigate to the XSCHEM Folder**:
cd $PDK_ROOT/$PDK/libs.tech/xschem/
2. **Run the Install Script**:
python3 install.py
This script:
- Compiles the `psp103_nqs.va` file.
- Places the `psp103_nqs.osdi` file in `$PDK_ROOT/$PDK/libs.tech/ngspice/openvaf/`.
- Creates a symbolic link to the `.spiceinit` file in your home directory.
---
### **Step 4: Verify the Installation**
1. **Check for the `.osdi` File**:
ls $PDK_ROOT/$PDK/libs.tech/ngspice/openvaf/
Ensure `psp103_nqs.osdi` is present.
2. **Check the Symbolic Link**:
ls -l ~/.spiceinit
It should point to:
$PDK_ROOT/$PDK/libs.tech/ngspice/.spiceinit
---
### **Step 5: Launch XSCHEM**
1. **Run XSCHEM**:
xschem &
2. **Simulate an Example Circuit**:
Open and simulate a circuit using `ngspice`.
---
### **Note on Running `openvaf` Directly**
If `python3 install.py` successfully compiles and installs the `psp103_nqs.osdi` file, **you do not need to manually run**:
openvaf psp103_nqs.va
However, you can verify by checking the presence of `psp103_nqs.osdi` in the appropriate directory.
In this tutorial, I’ll guide you through the process of:
Downloading the open-source IHP BiCMOS 130nm PDK on Ubuntu.
Setting it up in Xschem for circuit design.
Simulating your designs step-by-step.
For CMOSs:
ihp-open-pdk-docs.readthedocs.io/en/latest/analog/xschem.html
### **Step 1: Set Up Environment Variables**
1. **Define `PDK_ROOT`** (replace `/path/to/IHP-Open-PDK` with your PDK directory):
export PDK_ROOT=/path/to/IHP-Open-PDK
2. **Define `PDK`**:
export PDK=ihp-sg13g2
3. **Make Variables Persistent**:
echo 'export PDK_ROOT=/path/to/IHP-Open-PDK' ~/.bashrc
echo 'export PDK=ihp-sg13g2' ~/.bashrc
source ~/.bashrc
---
### **Step 2: Download and Install `openvaf`**
1. **Download the `openvaf` Binary**:
wget datashare.tu-dresden.de/s/deELsiBGyitSS3o/download/openvaf_devel-x86_64-unknown-linux-gnu.tar.gz -O openvaf.tar.gz
2. **Extract the Downloaded File**:
tar -xvzf openvaf.tar.gz
3. **Move `openvaf` Binary to `/usr/local/bin`**:
sudo cp openvaf /usr/local/bin/
4. **Set Execute Permissions**:
sudo chmod +x /usr/local/bin/openvaf
---
### **Step 3: Run the Installation Script**
1. **Navigate to the XSCHEM Folder**:
cd $PDK_ROOT/$PDK/libs.tech/xschem/
2. **Run the Install Script**:
python3 install.py
This script:
- Compiles the `psp103_nqs.va` file.
- Places the `psp103_nqs.osdi` file in `$PDK_ROOT/$PDK/libs.tech/ngspice/openvaf/`.
- Creates a symbolic link to the `.spiceinit` file in your home directory.
---
### **Step 4: Verify the Installation**
1. **Check for the `.osdi` File**:
ls $PDK_ROOT/$PDK/libs.tech/ngspice/openvaf/
Ensure `psp103_nqs.osdi` is present.
2. **Check the Symbolic Link**:
ls -l ~/.spiceinit
It should point to:
$PDK_ROOT/$PDK/libs.tech/ngspice/.spiceinit
---
### **Step 5: Launch XSCHEM**
1. **Run XSCHEM**:
xschem &
2. **Simulate an Example Circuit**:
Open and simulate a circuit using `ngspice`.
---
### **Note on Running `openvaf` Directly**
If `python3 install.py` successfully compiles and installs the `psp103_nqs.osdi` file, **you do not need to manually run**:
openvaf psp103_nqs.va
However, you can verify by checking the presence of `psp103_nqs.osdi` in the appropriate directory.
Переглядів: 84
Відео
Bipolar Current Mirrors
Переглядів 11814 днів тому
In this video, I explain methods for designing current mirrors using bipolar technology. With BiCMOS technology becoming more accessible, the trend toward analog design with bipolar junction transistors is gaining popularity due to their higher transconductance and superior gm over ID , making them ideal for high-performance analog designs. I briefly cover biasing methods, demonstrate how to de...
Regulated Cascode: A Comprehensive Review and Applications
Переглядів 96Місяць тому
The following papers could be useful: Addressing frequency compensation concerns: DOI: 10.1109/TCSII.2003.822429 This paper explores effective techniques for compensation . An innovative method for achieving the same drain-source voltage in a current mirror: DOI: 10.1109/AE54730.2022.9920096
Linear CMOS circuits and source of non-linearities (intuitional observation)
Переглядів 72Місяць тому
Linear CMOS circuits and source of non-linearities (intuitional observation)
Integrated Circuits Packaging by Gabriel Martin-Hardy
Переглядів 2612 роки тому
Wierbonding Gold wire bond Aluminum wire bond Flip chip Solder bump flip chip Gold stud bump flip chip
ASIC CAFE at University of Sherbrooke - Layout Considerations
Переглядів 3592 роки тому
ASIC CAFE is a series of meetings at the University of Sherbrooke. The goal is to create an environment for researchers to explore topics in IC design. - Well proximity - Merge transistors - Etch effect - Length of diffusion - Temperature and stress contour
Analog techniques: Recycling
Переглядів 3492 роки тому
Read tgis paper too please: ieeexplore.ieee.org/document/5226701
Analog techniques - Quasi Floating Gate
Переглядів 3172 роки тому
Analog techniques - Quasi Floating Gate
How to convert a Hspice netlist to a schematic in Cadence + How to add technology file to components
Переглядів 10 тис.3 роки тому
No Voice
Using amplifier blocks in ADS and calculation of IIP3 and NF
Переглядів 2,7 тис.4 роки тому
Using amplifier blocks in ADS and calculation of IIP3 and NF
Cross coupled oscillator simulation in ADS + Phase noise analysis
Переглядів 6 тис.4 роки тому
Cross coupled oscillator simulation in ADS Phase noise analysis
STB analysis and using the calculator
Переглядів 2,9 тис.4 роки тому
STB analysis and using the calculator
Design a folded cascode OTA in Cadence
Переглядів 13 тис.4 роки тому
Design a folded cascode OTA in Cadence
Noise of passive mixers and filtering of the base band signal in ADS
Переглядів 2664 роки тому
Noise of passive mixers and filtering of the base band signal in ADS
Very useful tutorial. Could you please share a bit of designing with such a pdk with us?
Dear Arash, Thank you for this video but for the next videos please prepare a script for yourself. Your dialogue sounded very funny😀 and it was clear that you were uncomfortable. i like the part that you spoke about negative frequency.
#Questions: what architecture did u use in *Instance I0* ? You should show to us Why u used that Resistance+ Cap in parallel in Feedback loop? Explain please Why u used such big 10p Cap as load?Any specific reason? Please explain overall schematic to your viewers instead of uploading in such a messy manner 😢
Did you ever find out what was wrong with the simulation?
Please do your homework before posting a video. It took more than an hour to watch the video and then at the end you are not able to fully simulate the circuit
Thank you so much Sir for your video. It helped me a lot in my MTech 2nd sem project.
what you fucking talking about all the time??
Dear Arash, thank you for preparing this video. However please double check the videos you've uploaded about their qualities.
Would be a great video if it wasn't for the horrific audio
Sir may I know how you calculate the current to run the oscillator?
sound
Thank you for teaching this method! You brought me a solution in order to continue my thesis
Thank you Arash. It was very helpful. I think it is a such pity that the video has not the quality.
Excellent
Good day, I'm looking to do a post-layout simulation using an extracted spice file that includes parasitics, I am struggling to run a schematic simulation using the netlist, I follow the method used in the video from min @6:30, for some reason "spiceIn.log" gives an error. If possible could you kindly do a video showing post-layout simulation using netlist/extracted view?
I need this video but the quality of this video is bad because only in 480p. Do you have the higher resolution of this video at least 720p?
how to contact you sir
Afarin, Outstanding .
کتابخانه دارید به اشتراک بگذارید tsmc 18
با درود به شما بلند تر صحبت کنید
480p in 2020?!
too simple
How do I get that tsmc18rf
سلام ببخشید شما تکنولوژی cmos 65 nm رو برا ADS دارید بهم بدید ؟
شما 180nm رو داريد بم بديد؟