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++

Qsys Problem with VIC

Altera_Forum
Honored Contributor II
1,639 Views

Always got this Warning: 

"WARNING: Tcl script C:\altera\11.0\ip\altera\altera_vectored_interrupt_controller\top\callbacks.tcl vic_0 c:/work/software/system_bsp drivers" error: expected integer but got "" 

 

And there are also many error in generated system.h. So can not produce correct bsp. 

 

I'm using Quartus II V11.0 Qsys on Windows XP SP3.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
521 Views

The problems you are seeing are due to the interrupt numbers not being populated in the system.h file. The workarounds are: 

 

1) Use SOPC Builder until this issue is resolved 

2) Manually key in the interrupt values into the system.h file 

3) Switch to using the internal interrupt controller
0 Kudos
Altera_Forum
Honored Contributor II
521 Views

You may need to input this define in system.h too 

ALT_ENHANCED_INTERRUPT_API_PRESENT
0 Kudos
Altera_Forum
Honored Contributor II
521 Views

I know rants like this are seldom productive so I apologize in advance ! 

 

How could something this basic be missed by Altera. Sort of makes me think that they should pay early adopters as product testers.  

It doesn't bother me as much that thier are new bugs in every new release, but the fact that thier are bugs in basic features is very scary. 

On the sofware side of this, I think the problem is that Eclipse is so general purpose that it is mediocre at everything. But the flaws in the Altera written programs is inexcusable.
0 Kudos
Reply