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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Avalon mm mapped slave, issue with read

MBena2
Beginner
1,548 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
FawazJ_Altera
Employee
781 Views

Hello,

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

 

Thanks

0 Kudos
Reply