adf
adf
This study source was downloaded by 100000850057550 from CourseHero.com on 09-17-2024 06:26:15 GMT -05:00
https://www.coursehero.com/file/237417847/Preparations-for-SPICE-Simulation-of-Physical-Unclonable-Functionsdocx/
use version 4.8.2 of these models in our simulation. Model declarations contain the thickness of
the oxide layer. For the PMOS, we will need a 1.95 nm oxide layer thickness. For the NMOS, we
will need a thickness of 1.85 nm on the oxide layer.
.model tp pmos level=54 version=4.8.2 <oxide layer thickness parameter>
Answer
Answer
.subckt inverter in out
M1 out in vdd vdd tp L=65n W=130n
+ AS=75.3f AD=75.3f PS=1.23u PD=1.23u
M2 out in vss vss tn L=65n W=130n
+ AS=75.3f AD=75.3f PS=1.12u PD=1.23u
.model tp pmos level=54 version=4.8.2 tox=1.95n
.model tn nmos level=54 version=4.8.2 tox=1.85n
.ends inverter
This study source was downloaded by 100000850057550 from CourseHero.com on 09-17-2024 06:26:15 GMT -05:00
https://www.coursehero.com/file/237417847/Preparations-for-SPICE-Simulation-of-Physical-Unclonable-Functionsdocx/
.include inverter.cir
* supply
.global vdd vss
* inverter instance
x1 in out inverter
* voltage on the input
Vin in 0 0
* DC sweep on Vin
.dc Vin 0v 1.2v 0.01v
.control
.end
Answer
Screenshot of the simulation is shown below.
This study source was downloaded by 100000850057550 from CourseHero.com on 09-17-2024 06:26:15 GMT -05:00
https://www.coursehero.com/file/237417847/Preparations-for-SPICE-Simulation-of-Physical-Unclonable-Functionsdocx/
Question # 4 Inverter Characterization
As seen in the plot, the output of the inverter is skewed towards the Vss side. If we
fabricate the inverter this way, it will result in uneven rise and fall times in the output: it
will take longer for the output to switch from a low to a high than to switch from a high
to a low. We wish to make these times about the same. The solution for this was alluded
to in the class notes: resizing the transistors changes their drive strength. We need to
make the PMOS have a higher drive strength. To do this, we must make it wider. We
wish to keep the NMOS’s width at 130 nm.
Experiment with the width parameter of the PMOS instance in the inverter so that the
rise time and fall time are both approximately the same. What should the width of the
PMOS be? Show the plot of the DC sweep for the characterized inverter.
Hint: When this occurs, both the input and the output ‘meet’ at the center in the DC
sweep.
Answer
At W = 230nm, we meet the required credentials.
The models for the NMOS and PMOS above also have the parameters AS, AD, PS, PD.
This study source was downloaded by 100000850057550 from CourseHero.com on 09-17-2024 06:26:15 GMT -05:00
https://www.coursehero.com/file/237417847/Preparations-for-SPICE-Simulation-of-Physical-Unclonable-Functionsdocx/
What do these parameters represent?
Answer
AS (Source Area) and AD (Drain Area)
AS: Represents the effective source area of the transistor.
AD: Represents the effective drain area of the transistor.
These parameters are used to account for non-uniform current distributions, particularly
in cases where the source and drain regions are not symmetrically designed.
PS (Source Perimeter) and PD (Drain Perimeter)
PS: Represents the perimeter of the source region.
PD: Represents the perimeter of the drain region.
These parameters are used to model the perimeter-related parasitic effects in the
transistor. These parameters are important in accurately modeling the behavior of
transistors, especially in high-frequency or small-scale applications where parasitic effects
can significantly impact performance.
Question # 6 Extra Credit
We will be working with several instances of the inverter to make a series of ring
oscillators. We will be changing the length and width of the transistors as well as the
thickness of the oxide layer. For our convenience, it would be nice to provide these as
parameters to the subcircuit. How do we change the subcircuit declaration to provide
these measures as parameters? Write your new subcircuit below.
Answer
* Define an inverter subcircuit with parameters
.model PMOS PMOS (LEVEL=54 <LENGTH PARAMETER> <WIDTH PARAMETER> <oxide layer thickness parameter>)
.model NMOS NMOS (LEVEL=54 <LENGTH PARAMETER> <WIDTH PARAMETER> <oxide layer thickness parameter>)
.ends
This study source was downloaded by 100000850057550 from CourseHero.com on 09-17-2024 06:26:15 GMT -05:00
https://www.coursehero.com/file/237417847/Preparations-for-SPICE-Simulation-of-Physical-Unclonable-Functionsdocx/
Powered by TCPDF (www.tcpdf.org)