- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
数字逻辑单元特性分析-实验指导书
实验:数字逻辑单元特性分析
实验目的:
1.数字逻辑单元特性
2.掌握数字逻辑单元特性
实验原理:Spice是Simulation Program with Integrated Circuit Emphasis的缩写,是一种功能强大的通用模拟电路仿真器SPICE可对电路进行非线性直流分析、非线性瞬态分析和线性交流分析。被分析的电路中的元件可包括电阻、电容、电感、互感、独立电压源、独立电流源、各种线性受控源、传输线以及有源半导体器件。SPICE内建半导体器件模型,用户只需选定模型级别并给出合适的参数。Spice程序结构如下:
标题 *Title Statement - Ignored during simulation
控制语句 .option nomod nopage
.tran 1 10
.print v(5) i(r1)
.plot v(3) v(in)
* voltage sources
源 v3 3 0 dc 0 ac 0 0 pulse 0 1 0 0.1 0.1 4 8
vin in 0 sin(0 2 10k 0.5 0)
* Components
元件描述 c2 2 0 2pf
r1 1 0 1k
m1 1 2 3 4 mod L=10u W=30u
x3 2 3 INV
*Model Subcircuit
模型及子电路 .model... or .LIB or .Subckt
文件结束 . .end
.measure语句可以用来测量,.measure语句具有几种不同的格式,可以进行直流,交流和瞬态分析。
(1)Rise, Fall, Delay
语法:.MEASURE DC | AC | TRAN result TRIG ... TARG ...
TRIG (trigger) 语法:
TRIG trig_var VAL=trig_val TD=time delay CROSS=c RISE=rFALL=f
或
TRIG AT=val
TARG ( target) 语法:
TARG targ_var VAL=targ_val TD=time delay CROSS = c | LAST RISE = r | LAST FALL=f | LAST
其中:
TRIG and TARG specifies the beginning of the trigger and of the target signal specs.
trig_var is the name of the output variable which determines the beginning of the measurement
trig_val is the value of the trig_var at which the counter for crossing, rises or falls is incremented by one
targ_var is the name of the output variable whose propagation delay is determined with respect to trig_var
targ_val specifies the value of the targ_var at which the counter for crossing, rise or falls is incremented by one
time_delay amount of delay before the measurement should start
cross=c, rise=r, fall=f indicates which occurences of CROSS,FALL or RISE event causes a measurement to be performed last indicates that the measurement is performed when the last CROSS, FALL or RISE event occurs
at=val is a case where val indicates the time for TRAN, frequency for AC and parameter for DC, when measurement should start.
例如:
.MEASURE TRAN tdlay TRIG V(1) VAL=2.5 TD = 10n RISE=2 TARG V(2) VAL=2.5 FALL=2
其他测量模式还包括:
(2)Average, RMS, min, m
文档评论(0)