Forum Discussion
Hi,
I am able to observed that the hex file be used on Quartus. You should be able to observed the below message when you are compiling your design.
Warning (113007): Byte addressed memory initialization file "KBReader.hex" was read in the word-addressed format
Warning (113014): Width of data items in "KBReader.hex" is smaller than the memory width. Padding data items to fit in memory. Found 1024 warnings, reporting 10 .
Warning (113011): Data width of the data at line (1) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (2) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (3) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (4) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (5) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (6) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (7) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (8) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (9) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Warning (113011): Data width of the data at line (10) of memory initialization file "KBReader.hex" is smaller than that of the memory word. Padding with "1" on the LSB.
Critical Warning (127004): Memory depth (512) in the design file differs from memory depth (1024) in the Memory Initialization File "/data/ts_farm/zctio/ISVC/04439636/KBReader.hex" -- truncated remaining initial content value to fit RAM
Many thanks for your reply JohnT.
The response you quote makes some sense.
Indeed the memory width required is 16bits x 512 locations and is what I want.
The zip file in my last post is that resulting from the 'File' process and possibly should have contained 2 bytes per line if correctly formatted ( and I'm guessing here - Address should be by word? -I could generate that by other means if required)
The data I generated it from was in 16bit tab separated format but the result was as shown.
I don't think I had an option for anything other than 16 bit when I generated that file but subsequent attempts have shown an 8 bit option (after the program has been shut down and re-opened).
(I would have expected something like the warnings you saw from the wizard when generating the 41k file and not have to wait until compilation - I saw nothing AFIK)
I will pursue this further as soon as I can (~2days)
Many thanks
Phil