Notifications
Clear all

RVfpga register address question

 

(@james-chan)
New Member
Joined: 4 months ago
Posts: 1
Topic starter  

Dear support team:

 

I am currently working on the RVfpga Project.

I do create an ALU module and intergrade into wishbone, and my ALU module data_out had connected to the register wb_dat_o as the output.

I'm wondering to know the register "wb_dat_o" address that can allow me to dump the vale and doing some process. 

My Peripheral MATCH_ADDR set as 32'h00003000 and the mask is 32'hffffff00.

I use the main.c to create the unsigned char array to store the value and convert to picture file .ppm like the tutorial Lab 4.

However, all the value from READ_int32 is 0.

I wondering how can I know the address of the address of the register "wb_dat_o".

image

   
Quote
Topic Tags