Forum Discussion

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

Inputs and outputs of emulation

That I may access the inputs and outputs of my code during emulation, I have to modify the code for that or during emulation is done automatically?

1 Reply

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

    The emulator does not automatically produce any data trace; you can add printf calls in your kernel as appropriate to dump any input/output or intermediate data. Remember to remove these printf's when doing regular (i.e. non-emulation) compilation since printfs will impact the performance of your kernel.