摘要: 1.usedw[] is the number of words in the FIFO, 摘自quartusii创建FIFO是窗体中的解释.在使用altera FIFO时 一般会引出该信号. 程序中加载FIFO的步骤可参见特权同学笔记17.2.use a different output width and... 输出可以和输入的宽度不同, 这点尤其在如输入8bit/clk,而输出是16bit/clk, 如5150->fifo, fifo->usb; crazybingo有讲。3.synchronize both reading and writing to "cloc 阅读全文
posted @ 2013-03-09 15:54 winkle.zhang 阅读(476) 评论(1) 推荐(0)
摘要: 1. cnt <= (others => '0');这个是给cnt赋零的意思,还可以这样用比如说cnt是std_logic_vector(7 downto 0);那么cnt<=(1=>'1',others=>'0');就表示给cnt的第1位赋1,其他位的全部都赋0,结果cnt=“00000010”;2.f1_fi_din <= conv_std_logic_vector(8, DW/2-10) & AD_B & conv_std_logic_vector(4, DW/2-10) & AD 阅读全文
posted @ 2013-03-09 15:24 winkle.zhang 阅读(703) 评论(0) 推荐(0)