⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ch13.9.htm

📁 介绍asci设计的一本书
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">

<HTML>

<HEAD>

<META NAME="GENERATOR" CONTENT="Adobe FrameMaker 5.5/HTML Export Filter">



<TITLE> 13.9&nbsp;Switch-Level Simulation</TITLE></HEAD><!--#include file="top.html"--><!--#include file="header.html"-->



<DIV>

<P>[&nbsp;<A HREF="CH13.htm">Chapter&nbsp;start</A>&nbsp;]&nbsp;[&nbsp;<A HREF="CH13.8.htm">Previous&nbsp;page</A>&nbsp;]&nbsp;[&nbsp;<A HREF="CH13.a.htm">Next&nbsp;page</A>&nbsp;]</P><!--#include file="AmazonAsic.html"--><HR></DIV>

<H1 CLASS="Heading1">

<A NAME="pgfId=38983">

 </A>

13.9&nbsp;<A NAME="29188">

 </A>

Switch-Level Simulation</H1>

<P CLASS="BodyAfterHead">

<A NAME="pgfId=3662">

 </A>

The <SPAN CLASS="Definition">

switch-level simulator</SPAN>

<A NAME="marker=96962">

 </A>

 is a more detailed level of simulation than we have discussed so far. <A HREF="CH13.9.htm#30669" CLASS="XRef">

Figure&nbsp;13.1</A>

 shows the circuit schematic of a <SPAN CLASS="Definition">

true single-phase flip-flop</SPAN>

<A NAME="marker=70331">

 </A>

 using <SPAN CLASS="Definition">

true single-phase clocking</SPAN>

<A NAME="marker=75330">

 </A>

 (<SPAN CLASS="Definition">

TSPC</SPAN>

<A NAME="marker=75331">

 </A>

). TSPC has been used in some full-custom ICs to attempt to save area and power. </P>

<TABLE>

<TR>

<TD ROWSPAN="1" COLSPAN="1">

<P CLASS="TableFigure">

<A NAME="pgfId=47732">

 </A>

(a)</P>

<DIV>

<IMG SRC="CH13-2.gif">

</DIV>

</TD>

<TD ROWSPAN="2" COLSPAN="1">

<P CLASS="TableFigure">

<A NAME="pgfId=47737">

 </A>

(b)</P>

<DIV>

<IMG SRC="CH13-3.gif">

</DIV>

</TD>

</TR>

<TR>

<TD ROWSPAN="1" COLSPAN="1">

<P CLASS="TableFigTitleSide">

<A NAME="pgfId=96862">

 </A>

FIGURE&nbsp;13.1&nbsp;<A NAME="30669">

 </A>

A TSPC (true single-phase clock) flip-flop. (a)&nbsp;The schematic (all devices are W/L  =  3/2) created using a Compass schematic-entry tool. (b)&nbsp;The switch-level simulation results (Compass MixSim). The parameter <SPAN CLASS="BodyComputer">

chargeDecayTime</SPAN>

 sets the time after which the simulator sets an undriven node to an invalid logic level (shown shaded).</P>

</TD>

</TR>

</TABLE>

<P CLASS="Body">

<A NAME="pgfId=48185">

 </A>

In a CMOS logic cell every node is driven to a strong <SPAN CLASS="BodyComputer">

'1'</SPAN>

 or a strong <SPAN CLASS="BodyComputer">

'0'</SPAN>

. This is not true in TSPC, some nodes are left floating, so we ask the switch-level simulator to model charge leakage or charge decay (normally we need not worry about this low-level device issue). <A HREF="CH13.9.htm#30669" CLASS="XRef">

Figure&nbsp;13.1</A>

 shows the waveform results. After five clock cycles, or 100  ns, we set the charge decay time to 5  ns. We notice two things. First, some of the node waveforms have values that are between logic <SPAN CLASS="BodyComputer">

'0'</SPAN>

 and <SPAN CLASS="BodyComputer">

'1'</SPAN>

. Second, there are shaded areas on some node waveforms that represent the fact that, during the period of time marked, the logic value of the node is unknown. We can see that initially, before <SPAN CLASS="EquationVariables">

t</SPAN>

  =  100  ns (while we neglect the effects of charge decay), the circuit functions as a flip-flop. After <SPAN CLASS="EquationVariables">

t</SPAN>

  =  100  ns (when we begin including the effects of charge decay), the simulator tells us that this circuit may not function correctly. It is unlikely that all the charge would leak from a node in 5  ns, but we could not stop the clock in a design that uses a TSPC flip-flop. In ASIC design we do not use dangerous techniques such as TSPC and therefore do not normally need to use switch-level simulation.</P>

<P CLASS="Body">

<A NAME="pgfId=96950">

 </A>

A switch-level simulator keeps track of voltage levels as well as logic levels, and it may do this in several ways. The simulator may use a large possible set of discrete values or the value of a node may be allowed to vary continuously. </P>

<HR><P>[&nbsp;<A HREF="CH13.htm">Chapter&nbsp;start</A>&nbsp;]&nbsp;[&nbsp;<A HREF="CH13.8.htm">Previous&nbsp;page</A>&nbsp;]&nbsp;[&nbsp;<A HREF="CH13.a.htm">Next&nbsp;page</A>&nbsp;]</P></BODY>



<!--#include file="Copyright.html"--><!--#include file="footer.html"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -