Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17251 Discussions

How do I specify preemption?

Altera_Forum
Honored Contributor II
1,675 Views

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
Altera_Forum
Honored Contributor II
859 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
Reply