Forum Discussion

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

how to solve the error

a[j]=iord_altera_avalon_pio_data(mem_data[j]);

has any one an idea how to correct this expression?:confused::confused:

6 Replies

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

    the table a[j] receive the contents of the table mem_data[j]

    i'm not sure how to write it.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    think you,

    i want to implement the result in the fpga(altera),that's why i think to use "iord_altera_avalon_pio_data".

    have you any idea?

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

    I want to display the contents of a matrix mem_data [i] [j] after a certain treatment using "IORD_ALTERA_AVALON_PIO_DATA" and "IOWR_ALTERA_AVALON_PIO_DATA".

    can you help me please?

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

    IORD_ALTERA_AVALON_PIO_DATA is a macro to read data from a pio port. You don't need it to read the contents of a table.