Verilog读取HEX文件初始化ROM
摘要:
ROM.v代码这个模块设计的关键是在复位信号中执行初始化代码,读取指定位置的HEX文件中的数据初始化rom,然后在其他时钟沿时刻输出地址所指的数据。//read hex file to initial ROM or RAMmodule ROM( input clk, input rst_n, input[15:0] addr, output reg[7:0] q );... 阅读全文
posted @ 2015-12-15 23:12 CoderTheWorld 阅读(6652) 评论(0) 推荐(1) 编辑