Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
825 Views

How do I specify preemption?

Hi Folks, 

 

I have write my own peripherals for NIOS and they are working successfully. Yay. However I need to declare them as accepting pre-emption, I have the VIC core and so far the peipherals jum to their ISRs but it appears that one will not interrupt the other if pre-emption is not enabled, even if the priority levels are set. 

 

On reading the developers handbook and the build tools ref I think I am supposed to add a line in the hw_tcl. However when I add the line: 

 

set_sw_property isr_preemption_supported true 

 

I get an error, I also tried preceding with: 

 

create_sw_package test 

 

I am not really sure how to do this, 

 

could someone offer some advice please? 

 

deBoogle
0 Kudos
1 Reply
Highlighted
Valued Contributor III
9 Views

The set_sw_property statements go in the _sw.tcl not the _hw.tcl. Can you try adding it there and see what happens?

0 Kudos