Forum Discussion
Altera_Forum
Honored Contributor
8 years agoVerilog coding issue
:confused::confused:Hello everyone can some buddy guide me how initialize your own data set in verilog with complete sample example. I have written a code but getting error module mean(A1,A...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- thank you very much can you tell me text file can contain integers ? and what will be the path of text file? --- Quote End --- The default location of the file will be in the current project directory. As to other data formats the answer is there are two versions of the memory access function: $readmemb expects a binary string format, and $readmemh expects a hex string format. There is no version that will expect decimal strings, which I assume is what you mean by 'integer' format.