Forum Discussion

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

What is the fastest way of accessing on-chip register contents?

Hi all,

I am in the phase of hardware verification of my design, that is developed based on 10 Gb/s Ethernet subsystem. One of the requirements for my application is to collect the performance statistics and export those to another machine, and this should be done in runtime. Currently, I am using the System Console with JTAG to Avalon Master bridge for configuring the input parameters as well as monitoring the result statistics.

However, using Avalon-MM commands, such as master_read_32(8,16), master_write takes longer time than the update frequency of the statistics. For example, I use the command "time {master_read_32 BASE_ADDR register_add}" in TCL script to check the time needed for one read operation, and that is around 360 milliseconds. Therefore, I am looking for a solution that enables to read the content of statistics registers in a faster way. Please help share your knowledge and experience about this. If you need any information, please kindly ask.

Thank you very much.

PLMT.

15 Replies