| ²é¿´: 625 | »Ø¸´: 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 ] |
» ²ÂÄãϲ»¶
Çóµ÷¼Á£¬Ò»Ö¾Ô¸ ÄϾ©º½¿Õº½Ìì´óѧ´óѧ £¬080500²ÄÁÏ¿ÆÑ§Ó빤³Ìѧ˶
ÒѾÓÐ4È˻ظ´
¿¼Ñе÷¼Á
ÒѾÓÐ9È˻ظ´
304²ÄÁÏÇóµ÷¼Á
ÒѾÓÐ4È˻ظ´
Ò»Ö¾Ô¸Ö£´ó085600£¬310·ÖÇóµ÷¼Á
ÒѾÓÐ3È˻ظ´
317Çóµ÷¼Á
ÒѾÓÐ7È˻ظ´
¸´ÊÔµ÷¼Á£¬Ò»Ö¾Ô¸ÄÏÅ©083200ʳƷ¿ÆÑ§Ó빤³Ì
ÒѾÓÐ4È˻ظ´
һ־Ը̫ÔÀí¹¤°²È«¹¤³Ì300·Ö£¬Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
284Çóµ÷¼Á
ÒѾÓÐ11È˻ظ´
ʳƷ¹¤³Ìר˶Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
324Çóµ÷¼Á
ÒѾÓÐ7È˻ظ´

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

















»Ø¸´´ËÂ¥
5