Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16644 Discussions

Hex file interpreted incorrectly in 16 bit mode

Altera_Forum
Honored Contributor II
1,118 Views

I have added a hex file to my project (Generated from a binary file using objcopy), and it appears correct when opened in quartus II with the 8 bit word mode selected. However, when opened in 16 bit mode, the software shows 8 bytes of data, followed by 8 bytes of 0s, followed by 8 more bytes of data and so on. How do I make it so it stops adding the 0s?

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
372 Views

objcopy is producing an 8-bit hex file and you are telling Quartus it is 16-bits. Quartus is showing you 0000's where there are holes in your addresses/data. 

 

You probably need to use another tool to produce your hex file.
0 Kudos
Altera_Forum
Honored Contributor II
372 Views

What you have is an intel format (8 bit) ihex file. You need to use a 16 bit hex format file.

0 Kudos
Reply