Forum Discussion

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

Nios 2 to custom component communication

Hi,

I'd like to know what instructions of Nios C program Do I need for writing and reading data to/from a custom component of sopc system???

I saw in some AN people use IORD() /IOWR() macros or printf() function....Is it correct???

bye

13 Replies

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

    The timing depends from a number of factors:

    - actual device and speed grade

    - system clock frequency

    - synthesis result

    - placement inside fpga

    ...

    Then you have different timing even for the very same design.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I tried to program the simple socket server example .sof file doing test using nios2 according to example application explanation...and It works properly....even if there are these critical warnings...Why does it work the same???

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

    Timequest studies the worst case scenarios. Even with those critical warnings, you could still get a system that works perfectly at ambient temperature, but will start failing it higher temperatures, for example.