欢迎来到天天文库
浏览记录
ID:11467623
大小:815.60 KB
页数:9页
时间:2018-07-12
《中科院_段成华_专用集成电路设计_作业5详解》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Assignment51.AnalyzeSEofActelACT(Figure5.4(d))withanypossiblecombinationsofC1,C2andCLRCcontrols.a.WhichfunctionsdoesSEsupport?b.VerifythesefunctionsbyusingModelsimsimulatoratlogiclevelorHSPICEcircuitsimulator.Figure5.4(d)ActelACT2andACT3LogicModules:The
2、equivalentcircuit(withoutbuffering)oftheSE(sequentialelement)Solution:a)由图中逻辑关系可以得出Q=(C1·/C2+CLR)·(/(C1⊙C2)·(/S1·D+F1·S1)·MC·F1+(C1⊙C2)·Q)·(CLR+C1·/C2)b)由于在设计中C1和C2至少要有一个接CLK(否则设计无意义)则编写相应的Hspice仿真代码如下*homeworkfive.sp---ACTELACT.'D:ProgramFiles(x86)sy
3、nopsysHspice_D-2010.03-SP1MM018.L'TT*SetTSMC0.18umlibrary.optionlistnodepost.tran50p5000p*Startsatransientanalysisthatsimulatesacircuitataspecifictime.*format:.TRANtstep1tstop1.probetran+clock=par('v(C1)')+data=par('v(d)')+q=par('v(q)'
4、)*Usethiscommandtosaveoutputvariablestointerfaceandgraphdata*files.Theparametercanbeanodevoltageorareasonableexpression..icv(q)=0$setinitialvalue.*Thenodevoltagesthatyouspecifyinthe.ICstatementarefixedto*determinetheDCoperatingpoint.Theyareusedonlyinthe
5、first*iterationtosetaninitialguessfortheDCoperatingpointanalysis.*waveformsvdatadgndpwl(00100p0140p1.8p800p1.8840p03.3n03.34n1.8)*pulse(v1v2tdtrtfpwper)vclkc1gndpulse(0,1.8300p,40p,40p800p,1600p)vclrclrgndpwl(01.84.2n1.84.24n0)vc1c2gnd0**top:d-latch*xcl
6、kinvclckclckninv$enableifasymmetric(overlapping)positive*andnegativeclocksareusedxactdc1c2clrqactcw1qmgnd.1f$addwiredelaycw2qgnd.1f**macrodefinitions*************************************n-channelmosfet**draingatesource.subcktnmosn1n2n3mnn1n2n3gndNCHl=0.
7、2uw=0.4uad=0.2p^2pd=0.4uas=0.2p^2ps=0.4u.endsnmos**p-channelmosfet**draingatesource.subcktpmosn1n2n3vccvccgnd1.8*Vccdefinitionmpn1n2n3vccPCHl=0.2uw=0.8uad=0.4p^2pd=0.8uas=0.4p^2ps=0.8u.endspmos*.subckttgateinoutccnxmnincoutnmos*1signalvianmosxmpincnoutp
8、mos*0signalviapmos.endstgate*.subcktinvinoutvccvccgnd1.8xmnoutingndnmosxmpoutinvccpmos.endsinv*.subcktorabyvccvccgnd1.8xmp1d1avccpmosxmp2ynbd1pmosxmn1ynagndnmosxmn2ynbgndnmosxinvynyinv.endsor*.subcktandabyvccvccgnd1.8xmp1ynavccpm
此文档下载收益归作者所有