Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12589 Discussions

Avalon mm mapped slave, issue with read

MBena2
Beginner
1,174 Views

Hi there, I am using the DE0 Nano Soc (cyclone V), I am abble to write data from HPS to FPGA using the avalon mm slave, but when I want to write from the fpga to HPS using the avalon mm slave, the HPS crash, indeed the linux terminal is blocked, I can write anithing on it.

 

I am using this simple code for the moment.

process(clock)

begin 

if rising_edge(clock) then 

if read = '1' then 

readdata <= "10111010001100110011001100110000"; 

end if;

end if;

end process;

 

the same code but with a write condition works well.

 

0 Kudos
1 Reply
Fawaz_Al-Jubori
Employee
407 Views

Hello,

May I know what address are you trying to read/write? is it memory? or peripheral?

 

Thanks

0 Kudos
Reply