| ²é¿´: 621 | »Ø¸´: 2 | |||
rosaryгæ (³õÈëÎÄ̳)
|
[½»Á÷]
¡¾ÇóÖú¡¿³õѧÕߣ¬Çó´óÉñÃÇ¿´ÏÂÕâ¶Î¼òµ¥µÄverilog´úÂë ¡¾Òѽâ¾ö¡¿ ÒÑÓÐ2È˲ÎÓë
|
|
³õʼÊä³öoutΪ0 ÎÒÊÇÏëÔÚ20¸öʱÖÓÉÏÉýÑØÖ®ºóÈÃoutΪ1 ÒªÇóʹÓÃrepeatÓï¾ä module add_delay20(out,clock); output reg out; input clock; integer count; initial begin out=1'b0; counter=1; repeat(20) begin always@(posedge clock) count=count+1; end out=1'b1; end endmodule ³õÊÔ£¬ÇáÅÄ ![]() Error (10170): Verilog HDL syntax error at add_delay20.v(11) near text "always"; expecting "end" ÖÕÓÚ¸ã¶ÔÁË£¡£¡£¡£¡ module add_delay20(out,clock); output reg out; input clock; integer count; initial out=1'b0; initial begin count=1; repeat(20) @(posedge clock) count=count+1; out=1'b1; end endmodule ![]() Õæ²»ÈÝÒ×¹þ¹þ¹þ¿ªÐÄ![]() [ Last edited by rosary on 2010-11-5 at 10:46 ] |
» ²ÂÄãϲ»¶
359Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
¸÷λÀÏʦÄúºÃ£º±¾È˳õÊÔ372·Ö
ÒѾÓÐ5È˻ظ´
285Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
282Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
081700 µ÷¼Á 267·Ö
ÒѾÓÐ10È˻ظ´
293Çóµ÷¼Á
ÒѾÓÐ7È˻ظ´
303Çóµ÷¼Á
ÒѾÓÐ7È˻ظ´
²ÄÁÏ277Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
±±¿Æ281ѧ˶²ÄÁÏÇóµ÷¼Á
ÒѾÓÐ10È˻ظ´
085602 289·ÖÇóµ÷¼Á
ÒѾÓÐ6È˻ظ´

yalefield
½ð³æ (ÎÄ̳¾«Ó¢)
ÀϺºÒ»Ã¶
- Ó¦Öú: 129 (¸ßÖÐÉú)
- ¹ó±ö: 0.17
- ½ð±Ò: 21238.9
- É¢½ð: 3440
- ºì»¨: 66
- Ìû×Ó: 12101
- ÔÚÏß: 759.1Сʱ
- ³æºÅ: 96063
- ×¢²á: 2005-10-07
- רҵ: ¸ßµÈ½ÌÓýѧ
- ¹ÜϽ: ¼ÆËãÄ£Äâ
2Â¥2010-11-04 16:54:06
rosary
гæ (³õÈëÎÄ̳)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 435
- Ìû×Ó: 45
- ÔÚÏß: 11.6Сʱ
- ³æºÅ: 1123004
- ×¢²á: 2010-10-15
- ÐÔ±ð: MM
- רҵ: ÐźÅÀíÂÛÓëÐźŴ¦Àí

3Â¥2010-11-04 19:09:59
















»Ø¸´´ËÂ¥