




已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
assignment 51. analyze se of actel act (figure 5.4(d) with any possible combinations of c1, c2 and clr c controls. a. which functions does se support? b. verify these functions by using modelsim simulator at logic level or hspice circuit simulator.figure 5.4(d) actel act 2 and act 3 logic modules: the equivalent circuit (without buffering) of the se (sequential element)solution:a)由图中逻辑关系可以得出q=(c1/c2+clr)(/(c1c2) (/s1d+f1s1) mcf1+(c1c2)q)(clr+c1/c2)b)由于在设计中c1和c2至少要有一个接clk(否则设计无意义)则编写相应的hspice仿真代码如下* homeworkfive.sp- actel act. d:program files (x86)synopsyshspice_d-2010.03-sp1mm018.l tt * set tsmc 0.18um library.option list node post.tran 50p 5000p* starts a transient analysis that simulates a circuit at a specific time.* format: .tran tstep1 tstop1 .probe tran+ clock=par(v(c1)+ data=par(v(d)+ q=par(v(q)* use this command to save output variables to interface and graph data* files. the parameter can be a node voltage or a reasonable expression.ic v(q)=0 $ set initial value. * the node voltages that you specify in the .ic statement are fixed to* determine the dc operating point. they are used only in the first * iteration to set an initial guess for the dc operating point analysis.* waveformsvdata d gnd pwl(0 0 100p 0 140p 1.8p 800p 1.8 840p 0 3.3n 0 3.34n 1.8)* pulse( v1 v2 td tr tf pw per )vclk c1 gnd pulse(0,1.8 300p,40p,40p 800p,1600p)vclr clr gnd pwl(0 1.8 4.2n 1.8 4.24n 0)vc1 c2 gnd 0* top: d-latch* xclkinv clck clckn inv $ enable if asymmetric (overlapping) positive* and negative clocks are usedxact d c1 c2 clr q act cw1 qm gnd .1f $ add wire delaycw2 q gnd .1f* macro definitions* n-channel mosfet* drain gate source.subckt nmos n1 n2 n3mn n1 n2 n3 gnd nch l=0.2u w=0.4u ad=0.2p2 pd=0.4u as=0.2p2 ps=0.4u .ends nmos* p-channel mosfet* drain gate source .subckt pmos n1 n2 n3vcc vcc gnd 1.8 *vcc definitionmp n1 n2 n3 vcc pch l=0.2u w=0.8u ad=0.4p2 pd=0.8u as=0.4p2 ps=0.8u.ends pmos*.subckt tgate in out c cnxmn in c out nmos *1 signal via nmosxmp in cn out pmos *0 signal via pmos.ends tgate*.subckt inv in outvcc vcc gnd 1.8xmn out in gnd nmosxmp out in vcc pmos.ends inv*.subckt or a b yvcc vcc gnd 1.8xmp1 d1 a vcc pmosxmp2 yn b d1 pmosxmn1 yn a gnd nmosxmn2 yn b gnd nmosxinv yn y inv.ends or*.subckt and a b yvcc vcc gnd 1.8xmp1 yn a vcc pmos xmp2 yn b vcc pmosxmn1 yn a s1 nmosxmn2 s1 b gnd nmosxinv yn y inv.ends and*.subckt xnor a b yvcc vcc gnd 1.8xand a b y1 andxor1 a b y2 orxinv y2 y2n invxor2 y1 y2n y or.ends xnor*.subckt mux a b s zxinv s sn invxtg1 a z s sn tgatextg2 b z sn s tgate.ends mux*.subckt act d c2 c1 clr qxinv1 c1 c1n invxinv2 c2 c2n invxg1 c2 c1n s1 andxg2 c2n c1 t andxg3 c2 c1 s2 xnorxg4 t clr mc orxg5 qm d s1 m muxxg6 m mc qm andxg7 q qm s2 s muxxg8 s mc q and.ends act*.end 如代码所示,假设c1接clk而c2接地时,此时act芯片被配置成一个d触发器它在下降沿将d信号送入触发器,并且具有下降沿清零的功能。 c2接clk而c1接地时,此时act芯片被配置成一个d触发器它在上升沿将d信号送入触发器,并且具有下降沿清零的功能。代码更改如下 clock=par(v(c2)+ data=par(v(d)+ q=par(v(q)* use this command to save output variables to interface and graph data* files. the parameter can be a node voltage or a reasonable expression.ic v(q)=0 $ set initial value. * the node voltages that you specify in the .ic statement are fixed to* determine the dc operating point. they are used only in the first * iteration to set an initial guess for the dc operating point analysis.* waveformsvdata d gnd pwl(0 0 100p 0 140p 1.8p 800p 1.8 840p 0 3.3n 0 3.34n 1.8)* pulse( v1 v2 td tr tf pw per )vclk c2 gnd pulse(0,1.8 300p,40p,40p 800p,1600p)vclr clr gnd pwl(0 1.8 4.2n 1.8 4.24n 0)vc1 c1 gnd 0 c2接1而c1接clk时,此时act芯片被配置成一个d触发器它在上升沿将d信号送入触发器,并且具有异步清零的功能。代码更改如下 + clock=par(v(c1)+ data=par(v(d)+ q=par(v(q)* use this command to save output variables to interface and graph data* files. the parameter can be a node voltage or a reasonable expression.ic v(q)=0 $ set initial value. * the node voltages that you specify in the .ic statement are fixed to* determine the dc operating point. they are used only in the first * iteration to set an initial guess for the dc operating point analysis.* waveformsvdata d gnd pwl(0 0 100p 0 140p 1.8p 800p 1.8 840p 0 3.3n 0 3.34n 1.8)* pulse( v1 v2 td tr tf pw per )vclk c1 gnd pulse(0,1.8 300p,40p,40p 800p,1600p)vclr clr gnd pwl(0 1.8 4.2n 1.8 4.24n 0)vc1 c2 gnd 1.8很明显在第一个d信号处出现了亚稳定状态,判决出现了失误。c2接clk而c1接1,clr接1时,此时act芯片被配置成一个在低电平作用下的透明锁存器。代码更改如下+ clock=par(v(c2)+ data=par(v(d)+ q=par(v(q)* use this command to save output variables to interface and graph data* files. the parameter can be a node voltage or a reasonable expression.ic v(q)=0 $ set initial value. * the node voltages that you specify in the .ic statement are fixed to* determine the dc operating point. they are used only in the first * iteration to set an initial guess for the dc operating point analysis.* waveformsvdata d gnd pwl(0 0 100p 0 140p 1.8p 800p 1.8 840p 0 3.3n 0 3.34n 1.8)* pulse( v1 v2 td tr tf pw per )vclk c2 gnd pulse(0,1.8 300p,40p,40p 800p,1600p)*vclr clr gnd pwl(0 1.8 4.2n 1.8 4.24n 0)vclr clr gnd 1.8vc1 c1 gnd 1.8c1接clk而c2接0,clr接1时,此时act芯片被配置成一个在高电平作用下的透明锁存器。代码更改如下+ clock=par(v(c1)+ data=par(v(d)+ q=par(v(q)* use this command to save output variables to interface and graph data* files. the parameter can be a node voltage or a reasonable expression.ic v(q)=0 $ set initial value. * the node voltages that you specify in the .ic statement are fixed to* determine the dc operating point. they are used only in the first * iteration to set an initial guess for the dc operating point analysis.* waveformsvdata d gnd pwl(0 0 100p 0 140p 1.8p 800p 1.8 840p 0 3.3n 0 3.34n 1.8)* pulse( v1 v2 td tr tf pw per )vclk c1 gnd pulse(0,1.8 300p,40p,40p 800p,1600p)*vclr clr gnd pwl(0 1.8 4.2n 1.8 4.24n 0)vclr clr gnd 1.8vc2 c2 gnd 02. splitting the xc3000 clb smith_asicsin section 5.2.1 we noted “you can split the (xc3000) 32-bit lut in half, using one of the seven input variables to switch between the f and g outputs. this technique can implement some functions of six and seven variables.”a. show which functions of six and seven variables can, andfgb. which functions cannot, be implemented using this method.solution:可实现的函数例子f6_var_some=ef(a,b,c,d)+/eg(a,b,qx,d)f6_var_some=/ef(a,qx,c,d)+eg(a,b,qx,d)通过观察可以发现可以实现的6变量函数具有如下特点1)a、d、e必须存在2)f和g中函数的变量仅有一个不同3)一旦f和g中额外引入的变量确定则剩余一个填充变量也随之确定因此可以推测能实现的六变量函数变量变
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年神经内科临床实践模拟考试答案及解析
- 关于烟草新质生产力的建议
- 工程力学 课件 力的性质
- 2025年产科妇科妇科护理常见问题考察试卷答案及解析
- 2025年病理科白细胞计数的实验操作模拟考试答案及解析
- 2025年麻醉药理学专业知识检测答案及解析
- 2025年护理学基本技能实操考核答案及解析
- 2025年消化内科十二指肠溃疡并发症预防评估试卷答案及解析
- 2025年病毒学HIV病毒的抗病毒治疗模拟考试卷答案及解析
- 2025年麻醉科无痛分娩操作技能考核模拟试卷答案及解析
- 英语教学课件Unit1 SectionB 3a-self-check课件人教九年级Unit 1 How can
- 2025年内江市中考数学试题卷(含答案)
- 20G361预制混凝土方桩
- 安保巡逻安全管理制度
- 2025届新高三开学摸底考试卷-化学(14+4模式)(新高考解析版)
- 极地平流层云形成与臭氧损耗-洞察阐释
- DB31/ 642-2012金属热处理加工工序能源消耗限额
- 2024年中级注册安全工程师《金属非金属矿山安全》真题及答案
- 2025四川农商联合银行信息科技部社会招聘笔试历年典型考题及考点剖析附带答案详解
- 五年级安全家长会课件
- DB31T 1400-2023 药品生产全过程数字化追溯体系建设和运行规范
评论
0/150
提交评论