Ìܼ¡
¥³¥á¥ó¥È¤Ï¤¢¤ê¤Þ¤»¤ó¡£ Comments/kondo
READ»þ¡¢DQ¤ÎÃͤò¡¢DQin¤Ë³ÊǼ¤·¤Æ¡¢
DQin¤òUART¤ÎTX¥â¥¸¥å¡¼¥ë¤ò»È¤Ã¤Æ¡¢½ÐÎϤ·¤è¤¦¤È»×¤¦¡£
reg¤ÇDQin¤òÀë¸À¤·¡¢READ¾õÂ֤λþ¡¢
DQin <= DQ
¤È¤·¤Æ¤¤¤ë¡£
¤È¤³¤í¤¬¡¢¤ª¤«¤·¤¤¡£
¤É¤¦¤âDQ¤ÎÃͤ¬¡¢¤¹¤°¤ËDQin¤ËÆþ¤Ã¤Æ¤¯¤ì¤Ê¤¤¡£
²¼¤Î¼Ì¿¿¤Î¤è¤¦¤Ë
¥ª¥·¥í¤Ç¸«¤Æ¤ß¤ë¤È¡¢
DQin0¤ÎÇÈ·Á¤¬¤Ê¤Þ¤Ã¤Æ¤¤¤ë¤è¤¦¤Ê¡¢¤«¤ó¤¸¤«¡£
²¿¤Ç¤À¤í¤¦¡£
DQin¤Ë½ÐÎϤ¹¤ë¤Î¤Ï¤ä¤á¤ë¤«¡£
Ìî¼ê¤µ¤ó·Ðͳ¤Ç¡¢UART¥â¥¸¥å¡¼¥ë¤Îverilog¥Õ¥¡¥¤¥ë¤ò¤â¤é¤Ã¤¿¡£
¸å¡¹¤Î¤³¤È¤ò¹Í¤¨¤Æ¡¢miniUART¤Ç¤Ï¤Ê¤¯¡¢¤³¤Á¤é¤ò»È¤¦¤³¤È¤Ë¤¹¤ë¡£
¤³¤ÎUART¥â¥¸¥å¡¼¥ë¤Î½èÍýÆâÍƤϡ¢ÂçÂΡ¢ÄϤ᤿¡£
¥¨¥³¡¼¤òÊÖ¤·¤Æ¤ß¤ë¡£
¤¤¤í¤¤¤í»î¤·¤Æ¤ß¤ë¤È¡¢Ï¢Â³¤·¤¿Ê¸»ú¤òÁ÷¿®¤Ç¤¤Ê¤¤¤è¤¦¤À¡£
2¥¯¥í¥Ã¥¯¤Ë1¥Ó¥Ã¥È¤òÁ÷¿®¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤¬¡¢
count=19,¥¹¥È¥Ã¥×¥Ó¥Ã¥ÈÁ÷¿®
count=20,½ªÎ»½èÍý
count=0,Á÷¿®½àÈ÷
count=1,¥¹¥¿¡¼¥È¥Ó¥Ã¥ÈÁ÷¿®
Ϣ³¤·¤ÆÁ÷¤Ã¤Æ¤·¤Þ¤¦¤È¡¢¥¹¥È¥Ã¥×¥Ó¥Ã¥ÈÁ÷¿®¸å¡¢3¥¯¥í¥Ã¥¯¤òÍפ¹¤ë¡£
¤³¤ì¤ò²ò·è¤¹¤ë¤¿¤á¤Ë¤Ï¡¢4¥¯¥í¥Ã¥¯¤Ç1¥Ó¥Ã¥ÈÁ÷¿®¤¹¤ë¤è¤¦¤Ë½ñ¤´¹¤¨¤ëɬÍפ¬¤¢¤ë¤Î¤«¤Ê¡£
miniUART¤È¤¤¤¦IP¥³¥¢¤òÍøÍѤ·¤¿¤¤¡£
IP¥³¥¢¤ÏVHDL¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ê¤Î¤Ç¡¢
»î¤·¤Ëverilog¤«¤éVHDL¤ò¸Æ¤Ó½Ð¤·¤Æ¤ß¤ë¡£
verilog¤«¤éVHDL¥â¥¸¥å¡¼¥ë¤ò¸Æ¤Ó½Ð¤¹»þ¤Ë¡¢
¥Ý¡¼¥È¥ê¥¹¥È¤Ïɬ¤º.SW(SWi)¤Î¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ë¤è¤¦¤À¡£
LED_test LED_test( SWi , LEDi );
¤³¤Î¤È¤¤Ë¤Ï°Ê²¼¤Î¥¨¥é¡¼¤¬½Ð¤ë¡£
ERROR:Xst:1858 - Ordered port connections are not yet supported from verilog to VHDL. Please give explicit names to your port connections for instance led_test.
module top( SWi , LEDi ); input SWi; output LEDi; //LED_test LED_test( SWi , LEDi ); LED_test LED_test( .SW(SWi) , .LED(LEDi) ); endmodule
library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; ---- Uncomment the following library declaration if instantiating ---- any Xilinx primitives in this code. --library UNISIM; --use UNISIM.VComponents.all; entity LED_test is port ( SW : in std_logic; LED : out std_logic); end LED_test; architecture Behavioral of LED_test is begin LED <= SW; end Behavioral;
»²¹Í¡§¥Ü¡¼¥É ¡õ £É£Ð ¥µ¥Ý¡¼¥È·Ç¼¨ÈÄ [One Topic All View / Re[1]: USB-IP¤òVerilog¥Ç¥¶¥¤¥ó¤ÎÃæ¤Ç»È¤¤¤¿¤¤ / Page: 0]
http://www.fpga.co.jp/XCM/cbbs/cbbs.cgi?mode=al2&mo=271&namber=269&space=15&rev=1&page=0&no=0&KLOG=1#F
1¥Ð¥¤¥È¤Î²¼2¥Ó¥Ã¥È¤ò¥í¥¸¥¢¥Ê¤Ç´Ñ¬¤·¤Ê¤¬¤é¡¢½ñ¹þ¡¢Æɹþ¤ËÀ®¸ù¤·¤¿¡£
¤³¤³¤Þ¤Ç»þ´Ö¤«¤«¤Ã¤¿¤Ê¡£¡£(´À
¡(¥Ð¥ó¥¯0¤Î0¹ÔÌܤÎ)0ÈÖÃϤˡ¢DQ1¡á£±¡¢DQ0¡á£°¤ò½ñ¹þ
¢1ÈÖÃϤˡ¢DQ1¡á£°¡¢DQ0¡á£±¤ò½ñ¹þ
£0ÈÖÃϤòREAD¡¢(CAS¥ì¥¤¥Æ¥ó¥·)2¥¯¥í¥Ã¥¯¸å¤Ë¡¢DQ1¡á£±¡¢DQ0¡á£°¤òÆɹþ
¤1ÈÖÃϤ⡢DQ1¡á£°¡¢DQ0¡á£±¤òÆɹþ
¥·¥ß¥å¥ì¡¼¥·¥ç¥ó·ë²Ì¤Ï¡¢Àµ¤·¤¯½ÐÎϤµ¤ì¤Æ¤¤¤ë¤Î¤À¤¬¡¢
ÇÈ·Á¤Ï1000nsec¤Þ¤Ç¤·¤«É½¼¨¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
Cleanup project file
¤ò¤·¤ÆÂÌÌܤÀ¤Ã¤¿¤Î¤Ç¡¢¥×¥í¥¸¥§¥¯¥È¤òºî¤êľ¤·¤¿¤é¡¢
¤¦¤Þ¤¯Æ°¤¤¤¿¡£
¤³¤¦¤¤¤¦»þ¤Ï¡¢ÎäÀŤË
ISE WebPACK¤Ç¡¢
ÇÈ·Á¤ò³Îǧ¤¹¤ë¥Ä¡¼¥ë¤ò»È¤¦¤È¡¢
1000ns¤Þ¤Ç¤ÎÇÈ·Á¤·¤«¸«¤ë¤³¤È¤¬¤Ç¤¤Ê¤¤¡£
This is a Lite version of ISE Simulator(ISim).
¤È½ñ¤¤¤Æ¤¢¤ë¤·¡¢µ¡Ç½À©¸Â¤Ê¤Î¤À¤í¤¦¤«¡£
¥Æ¥¹¥È¥Ù¥ó¥Á¤Î¡¢50000¹Ô¤Þ¤Ç¤ÎÀ©¸Â¤Ï¤¢¤ë¤é¤·¤¤¤±¤É¡£
¤É¤¦¤ä¤é´ª°ã¤¤¤Î¤è¤¦¤À¡£
½é´üÀßÄê¤Ç¤Ï1000ns¤Þ¤Ç¤·¤«¸«¤é¤ì¤Ê¤¤¤¬¡¢
°Ê²¼¤Î½ê¤«¤éÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤¤¿¡£
(¥Á¥ë¥À)¤¬¸«¤¨¤Ê¤¯¤Ê¤ëÌäÂê†
ISEɸ½à¤Î¥¨¥Ç¥£¥¿¤ò»È¤Ã¤Æ¤¤¤ë¤È¡¢~(¥Á¥ë¥À)¤¬¤Þ¤Ã¤¿¤¯
¸«¤¨¤Ê¤¯¤Ê¤ë¤³¤È¤¬¤¢¤ë¤è¤¦¤À¡£
¥³¥Ô¡¼¤·¤Æ¡¢Â¾¤Î¥¨¥Ç¥£¥¿¤Ç¸«¤ì¤Ð¡¢Ê¬¤«¤ë¤ß¤¿¤¤¡£
°õºþ¤·¤è¤¦¤È¤·¤Æ¤â¡¢°õºþ¤Ç¤¤Ê¤¤¡£
¸¶°øÉÔÌÀ¡¦¡¦¡¦¡©
¤½¤Î¾å¡¢¤½¤Î¸å¥×¥ê¥ó¥¿¤ÎÄ´»Ò¤¬¤ª¤«¤·¤«¤Ã¤¿¡£
¾¤Î¿Í¤Þ¤Ç°õºþ¤Ç¤¤Ê¤«¤Ã¤¿¤ê¡©¤·¤¿¡£
¤³¤Î¥½¥Õ¥È¤¬¸¶°ø¤«¤É¤¦¤«¤Þ¤Ç¤ÏÄ꤫¤Ç¤Ï¤Ê¤¤¡£
¥¹¥Æ¡¼¥È¥Þ¥·¥ó¤ò½ñ¤¡¢¾õÂÖÁ«°Ü¤µ¤»¤ëHDL¤ò½ñ¤¤¤¿¡£
¤½¤Î¸å¡¢¾õÂ֤˱þ¤¸¤¿À©¸æ¿®¹æ¤ò½ÐÎϤµ¤»¤¿¡£
ºÇ½é¤Ï¡¢¤¦¤Þ¤¯½ÐÎϤµ¤ì¤Ê¤«¤Ã¤¿¡£
¤É¤¦¤ä¤é¥Ç¥³¡¼¥ÉÊý¼°¤Î¥¹¥Æ¡¼¥È¥Þ¥·¥ó¤¬¡¢
¥ï¥ó¥Û¥Ã¥ÈÊý¼°¤Î¥¹¥Æ¡¼¥È¥Þ¥·¥ó¤ØºÇŬ²½¤µ¤ì¤¿¤é¤·¤¤¡£
¤½¤Î¤È¤¤Ë¡¢½ÐÎϤµ¤ì¤ë¤Ï¤º¤ÎÀ©¸æ¿®¹æ¤¬¡¢¾Ã¤µ¤ì¤¿¤é¤·¤¤¡£
¸¶°ø¤Ï¡¢¤è¤¯Ê¬¤«¤é¤Ê¤¤¤¬¡¢HDL¤ò½ñ¤´¹¤¨¤¿¤ê¤·¤Æ¤¤¤ë¤È¡¢
¥Ç¥³¡¼¥ÉÊý¼°¤ÎÏÀÍý¹çÀ®·ë²Ì¤Ë¤Ê¤Ã¤¿¡£
²¿¤À¤Ã¤¿¤ó¤À¤í¤¦¡£
ÇÛÃÖÇÛÀþ¤Î¥Ô¥óÇÛÃÖ¤ò·è¤á¤ë»þ¤Ë¡¢¡ÖPACE¡×¤È¤¤¤¦¥½¥Õ¥È¤¬»È¤¦¡£
¤³¤Î¥½¥Õ¥È¤Ç¥Ô¥óÇÛÃÖ¤ò·è¤á¤Æ¡¢¸å¤Ë¥Ý¡¼¥È¥ê¥¹¥È¤òÊѹ¹¸å¡¢
ºÆÅÙ¥Ô¥óÇÛÃÖ¤ò·è¤á¤ë¤ÈÁ°¤Î¥Ô¥óÇÛÃ֤Υǡ¼¥¿¤¬»Ä¤Ã¤Æ¤·¤Þ¤¦¤è¤¦¤À¡£
¤·¤«¤â¡¢¥Ô¥óÇÛÃÖ¤òÊѹ¹¤·¤Æ¤â¡¢¤É¤³¤«¤Ë¥Ç¡¼¥¿¤¬»Ä¤Ã¤Æ¤¤¤ë¤é¤·¤¯¡¢
ɬ¤º·Ù¹ð¤ËÁø¶ø¤·¤Æ¤·¤Þ¤¦¡£
top.ucf¤òľÀܸ«¤Æ¤â¡¢²¿¤â½ñ¤¤¤Æ¤¤¤Ê¤¤¤Ï¤º¤Î¥Ô¥ó¤Ë¥¨¥é¡¼¤¬Ž¥Ž¥Ž¥
¤è¤¯Ê¬¤«¤é¤Ê¤¤¡£
½©ÅÄÀèÀ¸¤Ë¥³¥Ä¤ò¶µ¤¨¤Æ¤â¤é¤¤¥Á¥ã¥ì¥ó¥¸
·ë¹½»þ´Ö¤¬¤«¤«¤Ã¤¿¤±¤É¡¢¥³¥Ä¤òÄϤá¤Ð¡¢SDRAM¤Î¤Ï¤ó¤À¤Å¤±¤Ï¥¹¥à¡¼¥º¤Ë½ª¤ï¤Ã¤¿¡£
¤¬¡¢¥«¥á¥é¥â¥¸¥å¡¼¥ë¤ÎȾÅÄÉÕ¤±¤¬¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¡£
ÌäÂê¤Ï¡¢¥é¥ó¥É¤Î°ÌÃ֤ȡ¢¥«¥á¥é¥â¥¸¥å¡¼¥ë¤Ë¤ï¤º¤«¤Ê·ä´Ö¤¬¤Ç¤¤Æ¤·¤Þ¤¦¤è¤¦¤À¡£
PCBE¤ÇÀ߷פ¹¤ë»þ¤Ë¤Ô¤Ã¤¿¤ê¤Ë¤·¤¹¤®¤¿¤»¤¤¤Î¤è¤¦¤À¡£
²¿¤«²ò·èÊýË¡¤ò¹Í¤¨¤Ê¤±¤ì¤Ð¡£¡£