Gast
#2687131
Hallo zusammen, bin ganz neu beim Thema Altera Nios ii (11.1), hätte gern eine Frage an Euch: Im Docu "Niosii Custom Instruction User Guide" http://www.altera.com/literature/ug/ug_nios2_custom_instruction.pdf auf der Seite 8 (Table 1–1. Custom Instruction Types, Applications, and Hardware Ports) gibt es eine Note für "clk_en"-Port, die lautet: The clk_en input signal must be connected to the clk_en signals of all the registers in the custom instruction, in case the Nios II processor needs to stall the custom instruction during execution. Meine Frage ist: Wie der Nios-ii sich verhält, wenn (sage ich mal, z.b. mein Custom Instruction dauert 10 Cycle) ein Interrupt kommt, während mein Custom Instruction gerade schon z.b. 4 Cycle läuft? (also noch 10-4 = 6 Cycle bis mein Custom Instruction fertig ist) Wird der Nios das Signal "clk_en" auf LOW (also inaktiv) zurücksetzt, und springt er in ISR. Wenn ISR fertig ist, setzt der NIOS das Signal "clk_en" auf HIGH (also wieder aktiv) für 6 restliche Cycles? vielen Danke für Euche Hilfe! Lg Tomy