亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ch16.7.htm

?? Verilog DHL教程
?? HTM
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN"><HTML><HEAD><META NAME="GENERATOR" CONTENT="Adobe FrameMaker 5.5/HTML Export Filter"><LINK REL="STYLESHEET" HREF="ch16.css"><TITLE> 16.7	`timescale</TITLE></HEAD><BODY BGCOLOR="#ffffff"><DIV><HR><P><A HREF="ch16.htm">Chapter&nbsp;&nbsp;start</A>&nbsp;&nbsp;&nbsp;<A HREF="ch16.6.htm">Previous&nbsp;&nbsp;page</A></P></DIV><H1 CLASS="Section"><A NAME="pgfId=219"> </A>16.7	<A NAME="56660"> </A>`<A NAME="marker=53"> </A>timescale</H1><P CLASS="Body"><A NAME="pgfId=221"> </A>This directive specifies the time unit and time precision of the modules that follow it. The time unit is the unit of measurement for time values such as the simulation time and delay values.</P><P CLASS="Body"><A NAME="pgfId=154"> </A>To use modules with different time units in the same design, the following timescale constructs are useful:</P><UL><LI CLASS="DashedList"><A NAME="pgfId=224"> </A>the <B CLASS="Keyword">`timescale</B> compiler directive to specify the unit of measurement for time and precision of time in the modules in the design</LI><LI CLASS="DashedList"><A NAME="pgfId=225"> </A>the<B CLASS="codebold"> </B><B CLASS="Keyword">$printtimescale</B> system task to display the time unit and precision of a module</LI><LI CLASS="DashedList"><A NAME="pgfId=226"> </A> the <B CLASS="Keyword">$time</B> and <B CLASS="Keyword">$realtime</B> system functions, the <B CLASS="Keyword">$timeformat</B><B CLASS="codebold"> </B>system task, and the <CODE CLASS="code">%t</CODE> format specification to specify how time information is reported</LI></UL><P CLASS="Body"><A NAME="pgfId=227"> </A>The <B CLASS="Keyword">`timescale</B> compiler directive specifies the unit of measurement for time and delay values and the degree of accuracy for delays in all modules that follow this directive until another <B CLASS="Keyword">`timescale</B> compiler directive is read.</P><P CLASS="Body"><A NAME="pgfId=302"> </A>The syntax for the <B CLASS="Keyword">`timescale</B> directive is as follows:</P><PRE CLASS="BNFDef"><A NAME="pgfId=229"> </A><B CLASS="Keyword">	`timescale</B> time_unit / time_precision</PRE><P CLASS="Body"><A NAME="pgfId=230"> </A>The<CODE CLASS="code"> time_unit</CODE><A NAME="marker=54"> </A> argument specifies the unit of measurement for times and delays.</P><P CLASS="Body"><A NAME="pgfId=231"> </A>The<CODE CLASS="code"> </CODE><B CLASS="codebold"></B><A NAME="marker=55"> </A><CODE CLASS="code">time_precision</CODE> argument specifies how delay values are rounded before being used in simulation. The values used are accurate to within the unit of time that is specified here. The smallest<CODE CLASS="code"> time_precision</CODE> argument of all the<CODE CLASS="code"> </CODE><B CLASS="Keyword">`timescale</B> compiler directives in the design determines the time unit of the simulation. </P><P CLASS="Body"><A NAME="pgfId=232"> </A>The <CODE CLASS="code">time_precision</CODE> argument must be at least as precise as the <CODE CLASS="code">time_unit</CODE> argument; it cannot specify a longer unit of time than<CODE CLASS="code"> time_unit</CODE>.</P><P CLASS="Body"><A NAME="pgfId=233"> </A>The integers in these arguments specify an order of magnitude for the size of the value; the valid integers are 1, 10, and 100. The character strings represent units of measurement; the valid character strings are <B CLASS="Keyword">s</B>, <B CLASS="Keyword">ms</B>, <B CLASS="Keyword">us</B>, <B CLASS="Keyword">ns</B>, <B CLASS="Keyword">ps</B>, and <B CLASS="Keyword">fs</B>. </P><P CLASS="Body"><A NAME="pgfId=234"> </A>The units of measurement specified by these character strings are as follows:</P><TABLE BORDER="1"><CAPTION><P CLASS="TableTitle"><A NAME="pgfId=165"> </A>Table&nbsp;16-1: Arguments of time_precision</P></CAPTION><TR><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHeading"><A NAME="pgfId=309"> </A>Character String</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHeading"><A NAME="pgfId=179"> </A><B CLASS="bold">Unit of Measurement</B></P></TH></TR><TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=259"> </A>s</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=274"> </A>seconds</P></TD></TR><TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=275"> </A>ms</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=276"> </A>milliseconds</P></TD></TR><TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=277"> </A>us</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=278"> </A>microseconds</P></TD></TR><TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=279"> </A>ns</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=280"> </A>nanoseconds</P></TD></TR><TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=281"> </A>ps</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=285"> </A>picoseconds</P></TD></TR><TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=286"> </A>fs</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><A NAME="pgfId=299"> </A>femtoseconds</P></TD></TR></TABLE><P CLASS="Body"><A NAME="pgfId=237"> </A>Examples:</P><P CLASS="Body"><A NAME="pgfId=155"> </A>The following example shows how this directive is used:</P><PRE CLASS="CodeIndent"><A NAME="pgfId=238"> </A><B CLASS="Keyword">`timescale</B> 1 <B CLASS="Keyword">ns</B> / 1 <B CLASS="Keyword">ps</B></PRE><P CLASS="Body"><A NAME="pgfId=239"> </A>Here, all time values in the modules that follow the directive are multiples of 1 nanosecond because the <CODE CLASS="code">time_unit</CODE> argument is &quot;1 ns&quot;. Delays are rounded to real numbers with three decimal places--or, precise to within one thousandth of a nanosecond--because the <CODE CLASS="code">time_precision</CODE> argument is &quot;1 ps,&quot; or one thousandth of a nanosecond.</P><P CLASS="Body"><A NAME="pgfId=240"> </A>Consider the following example:</P><PRE CLASS="CodeIndent"><A NAME="pgfId=241"> </A><B CLASS="Keyword">`timescale</B> 10 <B CLASS="Keyword">us</B> / 100 <B CLASS="Keyword">ns</B></PRE><P CLASS="Body"><A NAME="pgfId=242"> </A>The time values in the modules that follow this directive are multiples of 10 microseconds because the <CODE CLASS="code">time_unit</CODE> argument is &quot;10 us&quot;. Delays are rounded to within one tenth of a microsecond because the <CODE CLASS="code">time_precision</CODE> argument is &quot;100 ns,&quot; or one tenth of a microsecond.</P><P CLASS="Body"><A NAME="pgfId=243"> </A><A NAME="marker=57"> </A>The following example shows a <B CLASS="Keyword">`timescale</B> directive in the context of a module:</P><P CLASS="Body"><A NAME="pgfId=244"> </A></P><DIV><IMG SRC="ch16-6.gif"></DIV><P CLASS="Body"><A NAME="pgfId=246"> </A>The <B CLASS="Keyword">`timescale</B><CODE CLASS="code"> 10 ns / 1 ns</CODE> compiler directive specifies that the time unit for module test is 10 nanoseconds. As a result, the time values in the module are multiples of 10 nanoseconds, rounded to the nearest 1 nanosecond and, therefore, the value stored in parameter <B CLASS="codebold">d</B> is scaled to a delay of 16 nanoseconds. This means that the value 0 is assigned to reg <CODE CLASS="code">set</CODE> at simulation time 16 nanoseconds (1.6 x 10 ns), and the value 1 at simulation time 32 nanoseconds.</P><P CLASS="Body"><A NAME="pgfId=247"> </A>Parameter <CODE CLASS="code">d</CODE> retains its value no matter what timescale is in effect.</P><P CLASS="Body"><A NAME="pgfId=248"> </A>These simulation times are determined as follows:</P><OL><P CLASS="NumberedLista"><A NAME="pgfId=249"> </A>a)	The value of parameter <CODE CLASS="code">d</CODE> is rounded from 1.55 to 1.6 according to the time precision.</P><P CLASS="NumberedListb"><A NAME="pgfId=250"> </A>b)	The time unit of the module is 10 nanoseconds, and the precision is 1 nanoseconds, so the delay of parameter <CODE CLASS="code">d</CODE> is scaled from 1.6 to 16.</P><P CLASS="NumberedListb"><A NAME="pgfId=251"> </A>c)	The assignment of 0 to reg <CODE CLASS="code">set</CODE> is scheduled at simulation time 16 nanoseconds and the assignment of 1 at simulation time 32 nanoseconds. The time values are not rounded when the assignments are scheduled. </P></OL><P CLASS="SubSection"><A NAME="pgfId=162"> </A><A NAME="98881"> </A>`<A NAME="marker=47"> </A>unconnected_drive and <A NAME="marker=48"> </A>`nounconnected_drive </P><P CLASS="Body"><A NAME="pgfId=283"> </A><EM CLASS="-">All unconnected input ports of a module appearing between the directive</EM>s <B CLASS="Keyword">`unconnected_drive</B><EM CLASS="-"> and </EM><B CLASS="Keyword">`nounconnected_drive</B><EM CLASS="-"> are pulled up or pulled down instead of</EM> the normal default. </P><P CLASS="Body"><A NAME="pgfId=310"> </A>The directive <B CLASS="Keyword">`unconnected_drive</B><EM CLASS="-"> takes one of two arguments--</EM><B CLASS="Keyword">pull1</B><EM CLASS="-"> or </EM><B CLASS="Keyword">pull0</B><CODE CLASS="code">.</CODE><EM CLASS="-"> When </EM><B CLASS="Keyword">pull1</B><EM CLASS="-"> is specified, all unconnected input ports are automatically pulled up. When </EM><B CLASS="Keyword">pull0</B><EM CLASS="-"> is specified, unconnected ports are pulled down. These directives must be specified in pair, and outside modules only.</EM></P><P CLASS="Body"><A NAME="pgfId=311"> </A></P><HR><P><A HREF="ch16.htm">Chapter&nbsp;&nbsp;start</A>&nbsp;&nbsp;&nbsp;<A HREF="ch16.6.htm">Previous&nbsp;&nbsp;page</A></P></BODY></HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美三级日韩三级国产三级| 久久男人中文字幕资源站| 99久久久久免费精品国产| 国产一区二区三区四| 蜜臀av性久久久久蜜臀aⅴ四虎| 亚洲精品成人天堂一二三| 亚洲天堂a在线| 国产精品美女一区二区| 中文字幕一区二| 亚洲日穴在线视频| 亚洲在线一区二区三区| 亚洲一区二区三区激情| 亚洲综合成人在线视频| 亚洲国产日产av| 亚洲国产精品天堂| 日韩av电影天堂| 久久精品国产精品青草| 国产一区二区三区香蕉 | 国产在线视频一区二区| 激情久久久久久久久久久久久久久久 | 樱花草国产18久久久久| 亚洲一区二区三区四区在线| 天天操天天色综合| 久久国产精品一区二区| 国产福利91精品一区| av激情综合网| 欧美日韩在线播| 日韩欧美激情在线| 国产日韩三级在线| 一区二区三区美女| 日韩高清不卡在线| 国产xxx精品视频大全| 91视频观看免费| 91麻豆精品久久久久蜜臀| 久久久久久久久伊人| 亚洲免费在线视频一区 二区| 亚洲第一av色| 国产一区二区三区四区在线观看| 粉嫩高潮美女一区二区三区| 在线免费视频一区二区| 日韩欧美国产系列| 国产精品国产三级国产三级人妇| 亚洲午夜三级在线| 国产主播一区二区| 91在线观看一区二区| 91精品蜜臀在线一区尤物| 国产蜜臀av在线一区二区三区| 一区二区理论电影在线观看| 老司机免费视频一区二区| www.欧美日韩| 日韩亚洲欧美成人一区| 国产精品久久久一区麻豆最新章节| 亚洲一区二区黄色| 国产不卡视频在线播放| 69久久夜色精品国产69蝌蚪网| 日韩无一区二区| 樱花影视一区二区| 国产99久久精品| 欧美一区二区三区不卡| 《视频一区视频二区| 久久精品免费看| 91成人免费在线视频| 国产日本欧洲亚洲| 日本亚洲天堂网| 91国产视频在线观看| 国产日产欧美一区| 日韩1区2区3区| 在线视频亚洲一区| 国产精品福利影院| 久久er精品视频| 欧美日韩免费在线视频| 国产精品女人毛片| 国产精品中文字幕日韩精品| 欧美久久久久久久久久| 亚洲乱码国产乱码精品精小说 | 国产一区二区视频在线播放| 欧美日韩不卡在线| 亚洲精品成人a在线观看| 国产91精品入口| 精品国产乱码久久久久久老虎| 午夜伦欧美伦电影理论片| 色综合天天视频在线观看| 欧美国产欧美综合| 国产一区欧美二区| 欧美mv日韩mv| 麻豆精品久久精品色综合| 欧美老肥妇做.爰bbww| 一区二区三区精品视频在线| 成人99免费视频| 国产精品久久久久影院| 国产盗摄一区二区| 久久色在线观看| 精品一区二区精品| 中文字幕乱码久久午夜不卡| 精品一区免费av| 欧美成人精品1314www| 毛片av一区二区| 日韩一级成人av| 免费高清成人在线| 欧美一区二区三区婷婷月色| 五月开心婷婷久久| 欧美日韩一区精品| 午夜精品国产更新| 欧美日韩国产乱码电影| 亚洲一区二区三区爽爽爽爽爽| 色偷偷88欧美精品久久久| 亚洲人成网站精品片在线观看| 不卡的电影网站| 亚洲三级电影全部在线观看高清| 91啪亚洲精品| 亚洲综合区在线| 7777女厕盗摄久久久| 日日夜夜精品视频免费| 欧美一区二区三区在线看| 九九在线精品视频| 国产清纯白嫩初高生在线观看91| 国产69精品久久久久毛片| 欧美国产日韩a欧美在线观看| av一区二区三区四区| 综合久久一区二区三区| 一本久久a久久免费精品不卡| 亚洲一区二区三区四区五区中文 | 日韩视频在线永久播放| 黑人巨大精品欧美一区| 亚洲国产精品国自产拍av| 不卡的av网站| 亚洲国产另类av| 日韩三级视频在线观看| 国产成人精品免费看| 日韩伦理av电影| 欧美日韩在线直播| 麻豆免费看一区二区三区| 国产日产欧美精品一区二区三区| 97se狠狠狠综合亚洲狠狠| 亚洲国产综合人成综合网站| 日韩视频123| 成人美女视频在线观看| 亚洲一二三区视频在线观看| 日韩欧美亚洲另类制服综合在线| 国产二区国产一区在线观看 | 91蜜桃网址入口| 天天综合色天天综合色h| 久久久国产午夜精品| 色综合欧美在线视频区| 美女一区二区在线观看| 国产精品乱人伦| 欧美日本在线播放| 国产成人av影院| 亚洲尤物在线视频观看| 久久只精品国产| 在线观看一区不卡| 国产精品996| 日日夜夜免费精品视频| 国产精品国产三级国产aⅴ无密码| 欧美日本在线播放| 99免费精品视频| 蜜桃久久精品一区二区| 亚洲欧洲综合另类| 26uuu亚洲婷婷狠狠天堂| 色视频成人在线观看免| 韩国av一区二区三区| 亚洲国产三级在线| 国产精品伦理在线| 精品国产免费视频| 欧美色区777第一页| 成人精品鲁一区一区二区| 视频一区二区不卡| 亚洲三级免费观看| 日本一区二区免费在线观看视频| 欧美精品色一区二区三区| 波多野结衣中文字幕一区二区三区| 美女视频黄久久| 亚洲一区在线免费观看| 亚洲国产精品二十页| 精品噜噜噜噜久久久久久久久试看 | 亚洲精品日产精品乱码不卡| 久久蜜桃av一区精品变态类天堂| 欧美性生活久久| 成人国产精品免费观看动漫 | 欧洲一区在线观看| 丁香六月综合激情| 九九热在线视频观看这里只有精品 | 五月天丁香久久| 一区二区三区免费网站| 国产精品久久久久久久久免费桃花| 欧美电视剧免费全集观看| 欧美在线不卡一区| 91小视频在线观看| 国产成人欧美日韩在线电影| 毛片av中文字幕一区二区| 水蜜桃久久夜色精品一区的特点| 亚洲欧美激情插| 中文字幕一区二区视频| 国产日韩欧美一区二区三区综合| 精品少妇一区二区三区在线视频| 欧美群妇大交群中文字幕| 欧美性做爰猛烈叫床潮| 91福利在线播放| 在线观看不卡一区| 色8久久精品久久久久久蜜|