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++
12745 토론

Performance counter does not work

Altera_Forum
명예로운 기여자 II
1,234 조회수

Hi, 

 

The Performance Counter module in my Nios II system (v1.1) does not work (timing and counting registers are stuck to 0). I tried to isolate the problem on a simple Nios II system and found out that this behaviour only occurs if the Nios II system is implemented in VHDL. The same implementation in Verilog is ok. 

 

It seems to me that something goes wrong during synthesis because Quartus II (v4.2, SP 1 installed) produces a lot of warnings (e.g. "Warning: Tied undriven net "performance_counter_control_slave_address[4]" at NIOS.vhd(2435) to GND or VCC") indicating that signals belonging to the performance counter module are stuck to VCC or GND. 

 

Does anybody know what's wrong with the VHDL version of the performance counter in my design and how to fix the problem? 

 

Thanks! 

 

jackie
0 포인트
2 응답
Altera_Forum
명예로운 기여자 II
495 조회수

Hi Jackie, 

 

There was a problem with the VHDL version of this peripheral that was reported here on niosforum. I believe this was corrected in Nios II 5.0.
0 포인트
Altera_Forum
명예로운 기여자 II
495 조회수

Thank you! 

 

jackie
0 포인트
응답