Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

importing hex files

Can I import hex files from quartus project with HDL import block?

7 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    As far as I know, the only option to import hex files is for ROM/RAM initialization.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    For what do you want the .hex files ?

    Is it a processor executable ?

    FPGA bitstream ?

    RAM initialization ?

    ROM initialization ?

    State machine encoding ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    One more question: by hex, do you mean a file in Intel HEX format or just a text file with hexadecimal data?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi everyone,

    I have a quartus project including fft megacore and some other vhdl files.

    I want to import all the project to simulink;

    when I do this with HDL Import bloc, I got many warnings like this one:

    Could not find RAM initialization file 'fft_opt_twr1.hex'

    What can I do to avoid these warnings
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Put the .hex files in the same directory as the other files.

    Or simply correct the path so that it points to the correct place.