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

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

?? ch15.1.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="ch15.css"><TITLE> 15.1	Creating the value change dump file</TITLE></HEAD><BODY BGCOLOR="#ffffff"><DIV><HR><P><A HREF="ch15.htm">Chapter&nbsp;&nbsp;start</A>&nbsp;&nbsp;&nbsp;<A HREF="ch15.htm">Previous&nbsp;&nbsp;page</A>&nbsp;&nbsp;<A HREF="ch15.2.htm">Next&nbsp;&nbsp;page</A></P></DIV><H1 CLASS="Section"><A NAME="pgfId=174"> </A>15.1	<A NAME="marker=17"> </A>Creating the value change dump file</H1><P CLASS="Body"><A NAME="pgfId=175"> </A>The steps involved in creating the VCD file are listed below and illustrated in <A HREF="ch15.1.htm#87073" CLASS="XRef">See : Creating the value change dump file</A>.</P><P CLASS="Body"><A NAME="pgfId=176"> </A></P><DIV><IMG SRC="ch15-1.gif"></DIV><P CLASS="FigCapBody"><A NAME="pgfId=177"> </A>Figure&nbsp;15-1<A NAME="87073"> </A>: Creating the value change dump file</P><OL><P CLASS="NumberedLista"><A NAME="pgfId=178"> </A>a)	Insert the VCD system tasks in the Verilog source file to define the dump file name and to specify the variables to be dumped. </P><P CLASS="NumberedListb"><A NAME="pgfId=170"> </A>b)	Run the simulation.</P></OL><P CLASS="Body"><A NAME="pgfId=180"> </A>A VCD file is an ASCII file that contains header information, variable definitions, and the value changes for all variables specified in the task calls.</P><P CLASS="Body"><A NAME="pgfId=181"> </A>Several system tasks can be inserted in the source description to create and control the VCD file.</P><P CLASS="SubSection"><A NAME="pgfId=173"> </A><A NAME="marker=30"> </A><A NAME="marker=31"> </A><A NAME="marker=32"> </A>Specifying the name of the dump file ($dumpfile)</P><P CLASS="Body"><A NAME="pgfId=187"> </A>The <B CLASS="Keyword">$dumpfile</B> task shall be used to specify the name of the VCD file. The syntax for the task is as follows:</P><PRE CLASS="BNFDef"><A NAME="pgfId=406"> </A><B CLASS="Keyword">	$dumpfile (</B><I CLASS="Emphasis"> filename</I><B CLASS="Keyword"> ) ;</B></PRE><P CLASS="Body"><A NAME="pgfId=189"> </A>The <I CLASS="Emphasis">filename</I> is optional. </P><P CLASS="Body"><A NAME="pgfId=405"> </A>Example:</P><PRE CLASS="CodeIndent"><A NAME="pgfId=188"> </A><B CLASS="Keyword">initial</B>  <B CLASS="Keyword">$dumpfile </B>(&quot;module1.dump&quot;) ;</PRE><P CLASS="SubSection"><A NAME="pgfId=185"> </A><A NAME="marker=33"> </A><A NAME="marker=34"> </A><A NAME="marker=35"> </A>Specifying the variables to be dumped ($dumpvars)</P><P CLASS="Body"><A NAME="pgfId=193"> </A>The <B CLASS="Keyword">$dumpvars</B> task shall be used to list which variables to dump into the file specified by <B CLASS="Keyword">$dumpfile</B>. The <B CLASS="Keyword">$dumpvars</B> task may be invoked as often as desired throughout the model (for example, within various blocks), but the execution of all the <B CLASS="Keyword">$dumpvars</B> tasks must be at the same simulation time. </P><P CLASS="Body"><A NAME="pgfId=171"> </A>The <B CLASS="Keyword">$dumpvars</B> task may be used with or without arguments. The syntax for the task without arguments is as follows:</P><PRE CLASS="BNFDef"><A NAME="pgfId=195"> </A><B CLASS="Keyword">	$dumpvars ;</B></PRE><P CLASS="Body"><A NAME="pgfId=196"> </A>When invoked with no arguments, <B CLASS="Keyword">$dumpvars</B> task dumps all the variables in the model to the VCD file.</P><P CLASS="Body"><A NAME="pgfId=197"> </A>The syntax for the task with arguments is as follows:</P><P CLASS="Body"><A NAME="pgfId=383"> </A></P><DIV><IMG SRC="ch15-2.gif"></DIV><P CLASS="BNFCapBody"><A NAME="pgfId=403"> </A>Syntax&nbsp;15-1: Syntax for $dumpvars system task</P><P CLASS="Body"><A NAME="pgfId=198"> </A>When the <B CLASS="Keyword">$dumpvars</B> task is specified with arguments, the first argument indicates how many <I CLASS="Emphasis">levels</I> of the hierarchy below each specified module instance to dump to the VCD file. Subsequent arguments specify which scopes of the model to dump to the VCD file. These arguments may specify entire modules or individual variables within a module. </P><P CLASS="Body"><A NAME="pgfId=202"> </A>Setting the first argument to <CODE CLASS="code">0</CODE> causes a dump of all variables in the specified module and in all module instances below the specified module. The argument <CODE CLASS="code">0</CODE> applies only to subsequent arguments that specify module instances, and not to individual variables.</P><P CLASS="Body"><A NAME="pgfId=407"> </A>Examples:</P><PRE CLASS="CodeIndent"><A NAME="pgfId=200"> </A><B CLASS="Keyword">$dumpvars</B> (1, top);</PRE><P CLASS="Body"><A NAME="pgfId=201"> </A>Because the first argument is a 1, this invocation dumps all variables within the module <CODE CLASS="code">top</CODE>; it does not dump variables in any of the modules instantiated by module <CODE CLASS="code">top</CODE>.</P><PRE CLASS="CodeIndent"><A NAME="pgfId=182"> </A><B CLASS="Keyword">$dumpvars</B> (0, top);</PRE><P CLASS="Body"><A NAME="pgfId=203"> </A>In this example, the <B CLASS="Keyword">$dumpvars</B> task will dump all variables in the module <CODE CLASS="code">top</CODE> and in all module instances below module <CODE CLASS="code">top</CODE> in the hierarchy:</P><P CLASS="Body"><A NAME="pgfId=205"> </A>The next example shows how the <B CLASS="Keyword">$dumpvars</B> task can specify both modules and individual variables:</P><PRE CLASS="CodeIndent"><A NAME="pgfId=206"> </A><B CLASS="Keyword">$dumpvars</B> (0, top.mod1, top.mod2.net1);</PRE><P CLASS="Body"><A NAME="pgfId=207"> </A>This call will dump all variables in module <CODE CLASS="code">mod1</CODE> and in all module instances below <CODE CLASS="code">mod1</CODE>, along with variable <CODE CLASS="code">net1</CODE> in module <CODE CLASS="code">mod2</CODE>. The argument 0 applies only to the module instance <CODE CLASS="code">top.mod1</CODE>, and not to the individual variable <CODE CLASS="code">top.mod2.net1</CODE>.</P><P CLASS="SubSection"><A NAME="pgfId=191"> </A><A NAME="marker=41"> </A><A NAME="marker=42"> </A><A NAME="marker=46"> </A><A NAME="marker=47"> </A>Stopping and resuming the dump ($dumpoff/$dumpon)</P><P CLASS="Body"><A NAME="pgfId=211"> </A>Executing the <B CLASS="Keyword">$dumpvars</B> task causes the value change dumping to start at the end of the current simulation time unit. To suspend the dump, the <B CLASS="Keyword">$dumpoff</B> task may be invoked. To resume the dump, the <B CLASS="Keyword">$dumpon</B> task may be invoked. The syntax of these two tasks is as follows:</P><PRE CLASS="BNFDef"><A NAME="pgfId=183"> </A><B CLASS="Keyword">	$dumpoff ;</B></PRE><PRE CLASS="BNFDef"><A NAME="pgfId=184"> </A><B CLASS="Keyword">	$dumpon ;</B></PRE><P CLASS="Body"><A NAME="pgfId=212"> </A>When <B CLASS="Keyword">$dumpoff</B> task is executed, a checkpoint is made in which every selected variable is dumped as an <CODE CLASS="code">x</CODE> value. When <B CLASS="Keyword">$dumpon</B> task is later executed, each variable is dumped with its value at that time. In the interval between <B CLASS="Keyword">$dumpoff </B>and <B CLASS="Keyword">$dumpon</B>, no value changes are dumped.</P><P CLASS="Body"><A NAME="pgfId=213"> </A>The <B CLASS="Keyword">$dumpoff</B> and <B CLASS="Keyword">$dumpon</B> tasks provide the mechanism to control the simulation period during which the dump will take place. </P><P CLASS="Body"><A NAME="pgfId=204"> </A>Example:</P><P CLASS="Body"><A NAME="pgfId=215"> </A></P><DIV><IMG SRC="ch15-3.gif"></DIV><P CLASS="Body"><A NAME="pgfId=217"> </A>This example starts the value change dump after 10 time units, stops it 200 time units later (at time 210), restarts it again 800 time units later (at time 1010) and stops it 900 time units later (at time 1910).<A NAME="marker=49"> </A><A NAME="marker=50"> </A><A NAME="marker=51"> </A><A NAME="marker=52"> </A><A NAME="marker=53"> </A><A NAME="marker=54"> </A></P><P CLASS="SubSection"><A NAME="pgfId=209"> </A><A NAME="marker=55"> </A><A NAME="marker=56"> </A><A NAME="marker=57"> </A>Generating a checkpoint ($dumpall)</P><P CLASS="Body"><A NAME="pgfId=220"> </A>The <B CLASS="Keyword">$dumpall</B> task creates a checkpoint in the VCD file that shows the current value of all selected variables. The syntax is as follows:</P><PRE CLASS="BNFDef"><A NAME="pgfId=409"> </A><B CLASS="Keyword">	$dumpall ;</B></PRE><P CLASS="Body"><A NAME="pgfId=221"> </A>When dumping is enabled, the value change dumper records the values of the variables that change during each time increment. Values of variables that do not change during a time increment are not dumped.</P><P CLASS="SubSection"><A NAME="pgfId=222"> </A><A NAME="marker=58"> </A><A NAME="marker=59"> </A><A NAME="marker=60"> </A>Limiting the size of the dump file ($dumplimit)</P><P CLASS="Body"><A NAME="pgfId=223"> </A>The <B CLASS="Keyword">$dumplimit</B> task may be used to set the size of the VCD file. The syntax for this task is as follows:</P><PRE CLASS="BNFDef"><A NAME="pgfId=226"> </A><B CLASS="Keyword">	$dumplimit ( </B><I CLASS="Emphasis">filesize</I><B CLASS="Keyword"> ) ;</B></PRE><P CLASS="Body"><A NAME="pgfId=227"> </A>The <I CLASS="Emphasis">filesize</I> argument that specifies the maximum size of the VCD file in bytes. When the size of VCD file reaches this number of bytes, the dumping stops and a comment is inserted in the VCD file indicating that the dump limit was reached.</P><P CLASS="SubSection"><A NAME="pgfId=225"> </A><A NAME="marker=61"> </A><A NAME="marker=62"> </A><A NAME="marker=63"> </A>Reading the dump file during simulation ($dumpflush)</P><P CLASS="Body"><A NAME="pgfId=230"> </A>The <B CLASS="Keyword">$dumpflush</B> task may be used to empty the operating system's VCD file buffer to ensure that all the data in that buffer is stored in the VCD file. After executing a <B CLASS="Keyword">$dumpflush</B> task,  dumping is resumed as before, so that no value changes are lost. The syntax is as follows:</P><PRE CLASS="BNFDef"><A NAME="pgfId=436"> </A><B CLASS="Keyword">	$dumpflush ;</B></PRE><P CLASS="Body"><A NAME="pgfId=231"> </A>A common application is to call <B CLASS="Keyword">$dumpflush</B> to update the dump file so that an application program can read the VCD file during a simulation. </P><P CLASS="Body"><A NAME="pgfId=216"> </A>Examples:</P><P CLASS="Body"><A NAME="pgfId=435"> </A>1. This example shows how the <B CLASS="Keyword">$dumpflush</B> task may be used in a Verilog HDL source file:</P><P CLASS="Body"><A NAME="pgfId=233"> </A></P><DIV><IMG SRC="ch15-4.gif"></DIV><P CLASS="Body"><A NAME="pgfId=241"> </A>2. Following is a simple source description example to produce a VCD file.</P><P CLASS="Body"><A NAME="pgfId=242"> </A>In this example, the name of the dump file is <CODE CLASS="code">verilog.dump</CODE>. It dumps value changes for all variables in the model. Dumping begins when an event <CODE CLASS="code">do_dump</CODE> occurs. The dumping continues for 500 clock cycles, then stops and waits for the event <CODE CLASS="code">do_dump</CODE> to be triggered again. At every 10000 time steps, the current values of all VCD variables are dumped.</P><P CLASS="Body"><A NAME="pgfId=244"> </A></P><DIV><IMG SRC="ch15-5.gif"></DIV><HR><P><A HREF="ch15.htm">Chapter&nbsp;&nbsp;start</A>&nbsp;&nbsp;&nbsp;<A HREF="ch15.htm">Previous&nbsp;&nbsp;page</A>&nbsp;&nbsp;<A HREF="ch15.2.htm">Next&nbsp;&nbsp;page</A></P></BODY></HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区免费观在线| 三级欧美韩日大片在线看| 亚洲精品乱码久久久久久黑人| 亚洲永久精品国产| 日韩中文字幕麻豆| 国产精品一品二品| 在线观看免费亚洲| 欧美mv日韩mv亚洲| 日韩美女视频一区二区| 国产一区二区不卡老阿姨| 成人性生交大片免费看中文网站| av在线播放一区二区三区| 91国产福利在线| 日韩精品在线一区| 亚洲欧洲www| 日韩高清不卡一区二区| 成人免费黄色在线| 欧美日韩精品一区二区| 久久久青草青青国产亚洲免观| 亚洲乱码国产乱码精品精的特点 | 裸体健美xxxx欧美裸体表演| 国产成人鲁色资源国产91色综 | 亚洲成av人片在www色猫咪| 激情五月播播久久久精品| 日本精品一级二级| 亚洲精品在线观看网站| 亚洲黄网站在线观看| 狠狠色狠狠色综合| 色婷婷久久一区二区三区麻豆| 日韩一二三区视频| av在线不卡观看免费观看| 国产精品久久久久永久免费观看 | 99视频在线精品| 欧美一级欧美三级| 亚洲精品免费在线播放| 国产精一区二区三区| 91麻豆精品91久久久久同性| 亚洲视频一区在线| 国产伦精品一区二区三区免费| 欧美日韩亚洲综合| 亚洲欧洲一区二区在线播放| 另类成人小视频在线| 欧美在线啊v一区| 欧美国产欧美综合| 蜜桃av一区二区三区电影| 91成人国产精品| 成人免费一区二区三区视频| 国产乱国产乱300精品| 91精品一区二区三区久久久久久| 亚洲精品中文字幕乱码三区| 成人免费视频网站在线观看| 精品黑人一区二区三区久久| 天堂一区二区在线| 色视频成人在线观看免| 国产精品久久久久久久久动漫| 亚洲va国产va欧美va观看| 麻豆成人久久精品二区三区小说| 91电影在线观看| 国产精品高清亚洲| 国产精品白丝av| 精品国产免费久久| 青娱乐精品视频在线| 欧美日韩免费视频| 亚洲综合在线观看视频| 91在线观看成人| 亚洲欧洲美洲综合色网| 成人综合在线视频| 国产欧美日本一区二区三区| 国内精品国产三级国产a久久| 91精品国产综合久久蜜臀| 天天亚洲美女在线视频| 欧美日韩国产bt| 亚洲不卡av一区二区三区| 欧美午夜精品电影| 亚洲福利电影网| 这里是久久伊人| 美日韩一区二区| 91精品麻豆日日躁夜夜躁| 天天影视色香欲综合网老头| 在线不卡一区二区| 日韩av网站在线观看| 日韩欧美卡一卡二| 国产剧情一区二区| 国产精品理论片在线观看| av爱爱亚洲一区| 亚洲乱码国产乱码精品精可以看| 91麻豆国产香蕉久久精品| 久久精品国产99国产精品| 亚洲综合一二三区| 色成年激情久久综合| 一区二区三区欧美久久| 在线观看一区二区视频| 亚洲电影一级片| 日韩美女天天操| 精品一区二区日韩| 国产亚洲美州欧州综合国 | 国产欧美日韩不卡| 99国产欧美另类久久久精品| 一级日本不卡的影视| 欧美人牲a欧美精品| 麻豆成人久久精品二区三区红 | 国产精品一区二区男女羞羞无遮挡| 国产欧美日韩视频一区二区| 99视频一区二区| 亚洲一区二区三区四区中文字幕| 3d成人动漫网站| 国产麻豆一精品一av一免费| 中文字幕一区二区三区蜜月| 欧美性做爰猛烈叫床潮| 久久99久久99| 国产精品系列在线| 欧美色手机在线观看| 九九久久精品视频| 亚洲人成网站精品片在线观看| 欧美一三区三区四区免费在线看| 免费看欧美女人艹b| 国产嫩草影院久久久久| 在线看不卡av| 激情欧美日韩一区二区| √…a在线天堂一区| 在线成人午夜影院| 成人午夜免费视频| 亚洲成国产人片在线观看| 久久只精品国产| 色天天综合久久久久综合片| 久久国产精品区| 亚洲欧美日韩国产综合| 欧美r级电影在线观看| 色偷偷久久人人79超碰人人澡| 日韩不卡一区二区| 1024国产精品| 精品国产成人系列| 色噜噜狠狠色综合中国| 韩国v欧美v亚洲v日本v| 亚洲综合一二三区| 国产视频一区二区三区在线观看 | 蜜臀av一区二区三区| 国产精品热久久久久夜色精品三区| 精品婷婷伊人一区三区三| 国产盗摄一区二区| 日韩经典一区二区| 亚洲欧美日本在线| 国产欧美视频一区二区| 91精品国产综合久久久久| 一本到高清视频免费精品| 狠狠久久亚洲欧美| 亚洲成av人影院| 亚洲精品免费播放| 亚洲国产激情av| 精品久久一区二区| 欧美精品第1页| 91老师片黄在线观看| 国产精品资源站在线| 蜜臀av国产精品久久久久| 尤物av一区二区| 中文字幕一区二区三区精华液 | 国产成人免费高清| 一区二区理论电影在线观看| 91精品国产欧美一区二区18 | 亚洲码国产岛国毛片在线| 久久男人中文字幕资源站| 91精品国产品国语在线不卡| 欧美伊人久久久久久午夜久久久久| 国产不卡视频在线观看| 麻豆精品久久精品色综合| 午夜婷婷国产麻豆精品| 亚洲天堂av一区| 亚洲国产高清在线| 欧美日韩一二三| 色悠久久久久综合欧美99| 国产成人在线影院| 国产精品一区在线观看乱码| 午夜亚洲福利老司机| 亚洲激情五月婷婷| 曰韩精品一区二区| 国产精品国产三级国产a| 精品99一区二区| 欧美日韩精品一区二区| 欧美日韩国产美| 色美美综合视频| 91免费版在线| 一本色道久久综合亚洲aⅴ蜜桃 | 成年人国产精品| 加勒比av一区二区| 蜜臀av一级做a爰片久久| 亚洲尤物在线视频观看| 亚洲一区二区视频在线观看| 国产精品对白交换视频| 国产日韩v精品一区二区| 国产亚洲一二三区| 精品国产免费人成电影在线观看四季 | 日韩一区二区三区视频| 欧美日韩免费高清一区色橹橹 | 日韩亚洲欧美在线| 欧美在线影院一区二区| 欧美午夜精品免费| 欧美亚洲国产一区二区三区va| 一本色道久久综合亚洲精品按摩| 在线欧美日韩国产| 欧美在线高清视频|