memory pattern file
摘要:
$readmemh(“file_name”,mem_array,start_addr,end_addr);其中要求file_name是memory_pattern file。例如:…initial begin $readmemh(“memory.list”,my_mem);endmemory.list的内容大概是这样子:1100_1100 //this is the first addr,i.e 8’h001010_1010 //this is the second addr, i.e 8’h01@ 55 //jump to new address 8’h550101_0101 //this 阅读全文
posted @ 2011-03-23 13:39 freshair_cn 阅读(172) 评论(0) 推荐(0) 编辑