[转帖]modelsim:将HEX文件直接读入RAM/ROM
- UID
- 81104
- 性别
- 男
|
[转帖]modelsim:将HEX文件直接读入RAM/ROM
网上一大虾所写!强烈的崇拜啊! verilog只支持readmemh,在设计mcu时,如果要调试程序,需要先转换格式,很麻烦 这个程序可以将编译后HEX格式的文件直接读入ROM中,省去转换环节 稍微改改就可以嵌入到你的程序里了 参照此程序就可以在仿真时读入其它格式的文件了
rPJlWGU3.rar (847 Bytes)
|
|
|
|
|
|
- UID
- 171497
- 性别
- 男
|
好像有的错误,是不是modelsim还需要设置些东西,我没有注意 |
|
|
|
|
|
- UID
- 126158
- 性别
- 男
|
|
|
|
|
|
- UID
- 160172
- 性别
- 男
|
|
|
|
|
|
- UID
- 121859
- 性别
- 男
|
|
|
|
|
|
- UID
- 121859
- 性别
- 男
|
|
|
|
|
|
- UID
- 185716
- 性别
- 男
|
|
|
|
|
|
- UID
- 183156
- 性别
- 男
|
|
|
|
|
|
- UID
- 187686
- 性别
- 女
|
|
|
|
|
|
- UID
- 187686
- 性别
- 女
|
|
|
|
|
|
- UID
- 187766
- 性别
- 男
|
|
|
|
|
|
- UID
- 188597
- 性别
- 男
|
|
|
|
|
|
- UID
- 146838
- 性别
- 男
|
|
|
|
|
|
- UID
- 156555
- 性别
- 男
|
|
|
|
|
|
- UID
- 352631
- 性别
- 男
|
|
|
|
|
|