2010年5月14日

verilog uart interface IP

摘要: 参考代码:http://www.fpga4fun.com/SerialInterface3.htm下载地址:http://yanhc519.download.csdn.net/ 阅读全文

posted @ 2010-05-14 14:57 yanhc 阅读(288) 评论(0) 推荐(0) 编辑

Verilog SPI interface IP

摘要: 参考http://www.fpga4fun.com/SPI2.htmlclk为FPGA的50M晶振需要用到SPI的四线制模式,SSEL信号必须要有。8位数据模式,polarity=0,phase=1。发送数据:把要发送的数据给到byte_data_tosent上,byte_sent_request给出一个上升沿,从而byte_sent_int也给DSP一个上升沿,触发DSP的SPI读。接收数据:当byte_received产生上升沿的时候,表明byte_data_received数据有效,可以读取。仿真波形:发送数据为0xF1,接收数据为0xFA下载地址:http://download.csd 阅读全文

posted @ 2010-05-14 14:17 yanhc 阅读(307) 评论(0) 推荐(0) 编辑

导航