Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

Questions about Avalon Performance Counter

Altera_Forum
Honored Contributor II
938 Views

1. alt_get_cpu_freq() is not defined by "altera_avalon_performance_counter.h",  

which header file can I use for this function? 

2. When I run the program using Nios II instruction set simulator, it gave me a  

warning : "SOPC Builder system component performance_counter_0 is not  

supported by the simulator. Simulation may be incorrect if your software  

attempts to access it". Also I got an error: "Error! Failed memory access in 

component cpu_0 - Reading data 0x0 from uninitialized memory (addr =  

0x3ff68) Error! : Simulation failed in component cpu_0 at instruction 3257 

(PC=0x21e4 instr=0x24000317)." So, which tool except Modelsim can I use to 

run the program with performance counter? Actually, Modelsim is very slow if 

running a very large code. 

 

Thank you very much!
0 Kudos
0 Replies
Reply