Question: Using Fidex IDE, write an assembly code including an interrupt. The interrupt signal should be generated inside the Picoblaze by your program using an I

Using Fidex IDE, write an assembly code including an interrupt. The interrupt signal should be generated inside the Picoblaze by your program using an I/O port. Make the interrupt vector address as 4095(0xFFF) from the configuration. Remember that interrupt enable flag should be set when an interrupt signal comes.
Connect an I/O port to the interrupt input and implement your design in Vivado. An example top module and a simulation file is provided (out_port(7) is connected to interrupt input). Show the instruction addresses and stack pointer before and after the interrupt call in Vivado.
Write 10 nested interrupts and implement your design in Vivado. Show that Program Counter (PC) returns the initial instruction address (first callee) after 10 returns.
Write 32 nested interrupts and implement your design in Vivado. Observe the consequences and explain the behavior of Picoblaze. Does Program Counter (PC) return the initial instruction address?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!