microblaze reg_addr and new_reg_value outputs

Jan 21, 2004 1 Replies

hello,



i am working with xilinx microblaze and i am trying to figure out the purpose of the two undocumented output signals reg_addr (5 bits wide) and new_reg_value (32 bits wide).



i assume that reg_addr outputs the register currently written to and new_reg_value outputs the value written to this register.



is anyone able to confirm my assumptions?



thank you, sam



Hi Sam,

Your assumption is correct.

The values is however only valid when the signal VALID_INSTR is '1'. A write is also only happening when REG_WRITE is '1'.

The signal PC_EX is the instruction_address for the executing instruction MSR_REG contains the current msr register value PIPE_RUNNING is '1' when the pipeline is running ("no stalls") INTERRUPT_TAKEN is '1' when an interrupt is acknowledge (when MicroBlaze is jumping to the interrupt address) JUMP_TAKEN is '1' when a jump is taken PREFETCH_ADDR is showing how many instructions that has been prefetched MB_Halted is '1' when MicroBlaze has been halted by the internal debug logic

Göran

samuel nobs wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required