数字集成电路设计与分析

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

问答:
Point out design objects in the figure such as :design, cell, reference, port, pin, net, then write a command to set 5 to net A
Design: top
Reference: ADD DFF
Cell: U1 U2
Port: A B clk sum
Pin: A B D Q
Net: A B SIN
Set_load 5 [get_nets A]
why do we not choose to operate all our digital circuits at these low supply voltages?
答:1)不加区分地降低电源电压虽然对减少能耗能正面影响,但它绝对会使门的
延时加大
2)一旦电源电压和本征电压(阈值电压)变得可比拟,DC特性对器件参数
(如晶体管阈值)的变化就变得越来越敏感
3)降低电源电压意味着减少信号摆幅。

虽然这通常可以帮助减少系统的内部
噪声(如串扰引起的噪声),但它也使设计对并不减少的外部噪声源更加敏感)问道题:
1. CMOS静态电路中,上拉网络为什么用PMOS,下拉网络为什么用NMOS管
2. 什么是亚阈值电流,当减少VT时,VGS =0时的亚阈值电流是增加还是减
少?
3. 什么是速度饱和效应
4. CMOS电压越低,功耗就越少?是不是数字电路电源电压越低越好,为什
么?
5. 如何减少门的传输延迟? P203
6. CMOS电路中有哪些类型的功耗?
7. 什么是衬垫偏置效应。

8. gate-to-channel capacitance CGC,包括哪些部分
VirSim有哪几类窗口
3-6. Given the data in Table 0.1 for a short channel NMOS transistor with
VDSAT = 0.6 V and k′=100 µA/V2, calculate VT0, γ, λ, 2|φf|, and W / L:
解答:
对于短沟道器件:
在选择公式的时候,首先要确定工作区域,表格中的所有VDS均大于VDSAT,所以不可能工作在线性区域。

如果工作在饱和区域则:
VT 应该满足 : VGS-VT<VDSAT
2-VT<0.6 1.4<VT
这是不可能的,所以可以假设所有的数据都是工作在速度饱和区域所以:
由 1&2
() 所以 1,2,3是在速度饱和区
由 2&3
由 2&4 1297/1146=[(2-Vt0)x0.6-o.62/2]/[(2-Vt)x0.6-0.62/2]
Vt=0.587V
由 2 &5 Vt=0.691V
这两个值都满足 Vt<1.4, 所以表中的数据都是工作的速度饱和状态
由4 &5 和
可以计算出

得到 W/L=1.5
3-7 Giv en Table 0.2 ,the goal is to derive the important device parameters from
these data points. As the measured transistor is processed in a deep-submciron technology, the‘unified model’ holds. From the material constants, we also could determine that the saturation voltage VDSAT equals -1V. You may also assume that
-2ΦF = -0.6V.
NOTE: The parameter values on Table 3.3 do NOT hold for this problem.
a. Is the measured transistor a PMOS or an NMOS device? Explain your answer.
b. Determine the value of VT0.
c. Determine γ.
d. Determine λ.
e. Given the obtained answers, determine for each of the measurements the operation region of the transistor (choose from cutoff, resistive, saturated, and velocity saturated). Annotate
your finding in the right-most column of the above.
解答:
a) 这是 PMOS 器件
b)
比较各表中的值知道1,4为工作在速度饱和状态由 1&4
Vt0=0.5V
c) 由 1&5和上面求出的Vt0的值: 1,5工作在速度饱和区域则:
(-84.375)/(-72.0)=[(-2.5-Vt0)*(-1)-12/2]/[(-2.5-Vt)*(-1)-12/2]
求出Vt,代入下面公式:
求出:
γ=0.538V1/2
d)由 1&6,因为1,6均工作在速度饱和区域:
λ=0.05V-1
e)1-vel. Sat, 2-cutoff, 3-saturation , 4-5-6 vel. Sat, 7-linear
3-8An NMOS device is plugged into the test configuration shown below
in Figure
0.4. The input Vin =2V. The current source draws a constant current of 50 µA. R is a variable
resistor that can assume values between 10kΩ and 30 kΩ. Transistor M1 experiences
short channel effects and has following transistor parameters: k’ = 110*10-6 V/A2, VT = 0.4 ,
and VDSAT = 0.6V. The transistor has a W/L = 2.5µ/0.25µ. For simplicity body effect and
channel length modulation can be neglected. i.e λ=0, γ=0. .
a. When R =10kΩ find the operation region, VD and VS.
b. When R= 30kΩ again determine the operation region VD, VS
c. For the case of R = 10kΩ, would VS increase or decrease if λ≠ 0. Explain qualitatively
解答:
1)当 R=10k, VD=VDD-IR
VD=2.5-50x10-6x104=2.5-0.5=2V
假设器件工作在饱和区 ( 需要以后验证)则:
=0.3V 所以 VGS=0.3+0.4=0.7V
VS=2-0.7=1.3V
Vmin=min(VGS-Vt, VDSAT, VDS)=min(0.3,0.6,0.7)=VGS-Vt 所以是饱和区
VD=2V
VS=1.3V saturation operation
b) VD=2.5-30x103x50x10-6=2.5-1.5=1V
assume linear op:
Min(VGS-VT,VDS,VDSAT)=min((1-0.93-0.4).0.07,0)=VDS SO linear
c) increas e , R = 10kΩ
R变化,则VD必须变化以保持电流稳定,试图增加电流,而为了恒定电流值,VGS必须减小,即VS必须增加
1、(10)P137
Assume an inverter in the generic 0.25 mm CMOS technology designed with a PMOS/NMOS ratio of 3.4 and with the NMOS transistor minimum size (W = 0.375 mm, L = 0.25 mm, W/L =1.5). VM = 1.25 V, please compute VIL, VIH, NML, NMH . the process parameters is presented in table1
由此可以得到VIL, VIH, NML, NMH:
因为VIH=VM-VM/g , VIL=VM+(VDD-VM)/g
NMH=VDD-VIH , NML=VIL
VIL=1.2V, VIH=1.3V, NML=NMH=1.2
5.3、For the inverter of Figure 1 and an output load of 3 pF,at
Vout=2.5V, IDVsat=0.439mA, at Vout=1.25V, IDvsat=0.41mA
fig 1
a. Calculate t plh, t phl, and tp.
b. Are the rising and falling delays equal? Why or why not?
解答:
t pLH =0.69RLCL= 155 nsec.
对于tpHL:首先计算 Ron for Vout at 2.5V and 1.25V.
因为 Vout=2.5V, IDVsat=0.439mA 所以 Ron= 5695
当 Vout=1.25V, IDvsat=0.41m 所以Ron= 3049.
这样, Vout=2.5Vand Vout=1.25V 之间的平均电阻 Raverage=4.372k.
t pLH=0.69RaverageCL=9.05nsec.
t p=av{t pLH, t pHL}=82.0nsec
b. Are the rising and falling delays equal? Why or why not?
Solution
t pLH >> t pHL 因为 RL=75k远大于有效线性电阻 effective linearized on-resistance of M1.
5-5 The next figure shows two implementations of MOS inverters. The
first inverter uses only
NMOS transistors.Calculate VOH, VOL, VM for each case. 有的参数参考表1
解答:
电路 A.
VOH: 当 M1关掉, M2 的阈值是:
当下面条件满足的时候,M2将关闭:
所以 VOUT=VOH=1.765V
VOL: 假设VIN=VDD=2.5V.
我们期望 VOUT 为低, 因此我们可以假设M2工作在速度饱和区,而M1工作在线性区域.
因为 ID1= ID2 , 所以 VOUT=VOL=0.263V, 假设成立
VM: 当VM=VIN=VOUT.
假设两晶体管均工作在速度饱和区域, 我们得到下面两个方程:
设 ID1=ID2, 得到 VM=1.269V
电路 B.
当 VIN=0V, NMOS 关掉,PMOS 打开,并把VOUT拉到VDD, so VOH=2.5. 同样, 当VIN=2.5V, the PMOS关掉,NMOS 把 VOUT拉到地, 所以VOL=0V.
为了计算 VM : VM=VIN=VOUT.
假设两晶体管均工作在速度饱和区域,可以得到下面两组方程.
设 ID3+ ID2 =0 ,可以得到r VM = 1.095V.
所以假设两晶体管均工作在速度饱和区域是正确的.
5-7 Consider the circuit in Figure 5.5. Device M1 is a standard NMOS device. Device M2 has all
the same properties as M1, except that its device threshold voltage is negative and has a value
of -0.4V. Assume that all the current equations and inequality equations (to determine the
mode of operation) for the depletion device M2 are the same as a regular NMOS. Assume that
the input IN has a 0V to 2.5V swing. ( VDSAT=0.63v)
a. Device M2 has its gate terminal connected to its source terminal. If VIN = 0V, what is the
output voltage? In steady state, what is the mode of operation of device M2 for this input?
b. Compute the output voltage for VIN = 2.5V. You may assume that VOUT
is small to simplify
your calculation. In steady state, what is the mode of operation of device M2 for this
input?
解答a
当VIN = 0V , M1则关掉. M2开,因为 VGS=0 > VTn2.所以没有电流通过 M2, M2的源漏电压等于0,故M2工作在线性区域,所以VOUT=2.5V.
Solution b
假设 M1工作在线性区域, M2工作在速度饱和区域,这就意味:
因为Vout很小,所以可以忽略V2out/2,所以可以得到
因此我们的假设是合理的。

5-15Sizing a chain of inverters.
a. In order to drive a large capacitance (CL = 20 pF) from a minimum
size gate (with input
capacitance Ci = 10fF), you decide to introduce a two-staged buffer as shown in Figure
, Assume that the propagation delay of a minimum size inverter is 70 ps. Also assume
that the input capacitance of a gate is proportional to its size. Determine the sizing of the
two additional buffer stages that will minimize the propagation delay.
b. If you could add any number of stages to achieve the minimum delay, how many stages
would you insert?What is the propagation delay in this case?
解答a :
当每个buffer的延迟相等的时候,可以得到最小延迟时间.此时每个buffer的尺寸系数分别为 f, f2
解答 b:
最小延迟时间发生在 f = e的时候,因此
6-1 Implement the equation
using complementary CMOS. Size the devices so that the output resistance is the same as that of an inverter with an NMOS W/L = 2 and PMOS W/L = 6. Which input pattern(s) would give the worst and best equivalent pull-up or pull-down resistance?
解答:因为
最坏的上拉电阻发生在,只有一个通路存在output node to Vdd.
如: ABCDEFG=1111100 and 0101110.
最好的上拉电阻发生在: ABCDEFG=0000000.
最坏的下拉电阻发生在,只有一个通路存在output node to GND.
如: ABCDEFG=0000001 and 0011110.
最好的下拉电阻发生在: ABCDEFG=1111111.
5章
Assume an inverter in the generic 0.25 m CMOS technology designed with a PMOS/NMOS ratio of 3.4 and with the NMOS transistor minimum size (W = 0.375 mm, L = 0.25 mm, W/L =1.5). Please compute VIL, VIH, NML, NMH
the process parameters is presented in table1
解:我们首先计算在VM (= 1.25 V)的增益
所以: VIL=1.2V, VIH=1.3V, NML=NMH=1.2
1.How to deduce that the propagation delay of a gate ? p203
☐ Keep capacitances(CL) small
☐ Increase transistor sizes(W/L)
☐ Increase VDD (see figure 5.22)
减小CL: 增加晶体管的W/L,提高VDD
2.Determine the sizes of the inverters in the circuit of Figure 5.22,
such that the delay between nodes Out and In is minimized. You may assume that CL = 64 Cg,1
P210
Figure 5.22,
3.For the circuit of Figure
4.11, assume that a driver with a source resistance of is used to drive a 10 cm long, 1 mm wide Al1 wire. And assume that the total lumped capacitance for this wire equals 11 pF. When applying a step input(with Vin going from 0 to v), please compute the propagation delay of the circuit. P151
Figure 4.11
解答:
4 please analyze intrinsic capacitances of MOSFET transistor ,write out three sources of it, and draw out MOSFET transistor capacitance model. P112
答:基本的MOS结构,沟道电荷以及漏和源反向偏置pn结的耗尽区。

电容器件模型如下:
5 .please write out the expression of equivalent resistance Req of the circuit in Figure 1 when (dis)charging a capacitor. Assuming that the supply voltage VDD is substantially greater than the velocity-saturation voltage VDSAT of the transistor. the channel-length modulation factor ()cannot be ignored in this analysis, are known parameters . P105
解答:
Program
1. please write out verilog code and test bench for a 4 bit
up-counter
Module counter (clk, reset, enable,count);
Input clk, reset, enable;
Output[3:0] count;
Reg[3:0] count;
Always @ (posedge clk)
If (reset==1’b1)
Count <=0;
Else if (enable==1’b1)
Count <=count +1;
Endmodule
Module counter_tb;
Reg clk, reset, enable;
Wire[3:0] count;
Counter U0(clk, reset, enable, count);
Initial
Begin
Clk=0;
Reset=0;
Enable=0;
End
Always
#5 clk=!clk;
initial
begin
$monitor($time, , , “clk=%d reset=%d enable=%d count=%d”, clk,reset,enable,count);
#100 $finish
end
endmodule
2. please write out verilog code and test bench for a bit full adder
Module addbit (a, b, ci ,sum, co );
Input a,b,ci;
Output sum.co;
Wire a,b,ci,sum,co;
Assign {co,sum}=a+b+ci ;
Endmodule
module test_for_addbit;
reg a, b, ci ;
addbit u1(a, b, ci ,sum, co);
initial
begin
a = 0;
b = 0; ci=0;
#10 a = 0; b = 0; ci=1;
#10 a = 0; b = 1; ci=0;
#10 a = 0; b = 1; ci=1;
#10 a = 1; b = 0; ci=0;
#10 a = 1; b = 0; ci=1;
#10 a = 1; b = 1; ci=0;
#10 a = 1; b = 1; ci=1;
#10 $finish;
end
initial
$monitor( $time, “ a=%b b=%b ci=%b sum=%b co=%b”,a,b,ci,sum, co );
endmodule
3.please write out verilog code and test bench for 4-1 MUX module mux (a,b,c,d,sel,y);
input a,b,c,d ;
input[1 :0]sel ;
output y;
reg y;
always @ (a or b or c or d or sel)
case (sel)
o: y=a;
1:y=b;
2: y=c;
3 : y=d ;
Default :$display(“error in sel »);
Endcase
Endmodule
module test_for_mux;
reg a,b,c,d,sel;
// 调用DUT
mux u1(a,b,c,d,sel,y);
// 产生测试激励信号
initial
begin
a = 0;
b = 1; c=0;d=0;sel = 01;
#10 a = 1;b=0;sel=00;
#10 c = 1;a=0; sel=10;
#10 c=0;d=1;sel=11;
#10 a = 1;b=0;sel=01;
#10 c = 1;a=0; sel=11;
#10 $finish;
end
// 检测输出信号
initial
$monitor( $time, “ a=%b b=%b c=%b sel=%b y=%b”, a,b,c,d,sel,y ); endmodule
4 please write out verilog code and test bench for a 4 bit half adder
Module adder (a,b,sum,carry)
Input[3:0] a,b;
Output[3:0]sum;
Output carry;
Reg[3:0] sum;
Reg carry;
Always @ ( a or b)
Begin
{carry, sum}=a+b;
End
Endmodule
module test_for_adder;
reg[3:0] a, b;
// 调用DUT
adder u1(a,b,sum,carry);
// 产生测试激励信号
initial
begin
a = 4’b0000;
b = 4’b000 1;
#10 a = 4’b0001; b = 4’b100 1;
#10 a = 4’b0010; b = 4’b010 1;
#10 a = 4’b0100; b = 4’b100 1;
#10 a = 4’b1000; b = 4’b110 1;
#10 a = 4’b1001; b = 4’b111 1;
#10 a = 4’b1100; b = 4’b1010;
#10 a = 4’b1101; b = 4’b0011;
#10 $finish;
end
// 检测输出信号
initial
$monitor( $time, “ a=%b b=%b sum=%b carry=%b”, a,b, sum, carry); Endmodule。

相关文档
最新文档