Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
patrickli said:use PLI , can read binary file.
reddy said:We have to use $readmemb() to read files in binary form. $readmemh() to read hex files. I used it many-a-time, let you check out once. I hope no need of PLI or whatever mentioned....,...,
regards,
reddy
roger said:************************************************
warning (vsim-PLI-3409) Illegal binary digit 'ç' in data at line 1 of "./ac97.obj"
# ** Warning: (vsim-PLI-3409) Illegal binary digit ' : E:/project/Test1/read_obj/top.v(8)
what's wrong?
qjlsy said:if you use option like "w", each time you open the file will clear the original content of the file automatically. So use "a+" instead.
verilog 1634-2001 standard illustrates it clearly.