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

Problem with reading the ROM data using Avalon Interface

Altera_Forum
Honored Contributor II
1,155 Views

Hi all 

 

I am trying to learn the usage of avalon interface  

 

I created a ROM in verilog and i want to read the data into Nios  

 

Rom is connected as a avalon slave to Nios II processor  

 

But i see the data read into NIOS from the particular address is not as i modeled the ROM 

 

What is the mistake i am doing Please help  

 

regards 

M Kalyansrinivas
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
494 Views

Here with i paste the result i am getting  

 

Memory 32 should have an output of 42 but it shows 0 which is incorrect 

 

 

nios2-terminal: connected to hardware target using JTAG UART on cable 

nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 0 

nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) 

Hello from Nios II! 

data_rom_out 0 = 0  

data_rom_out 1 = 12  

data_rom_out 2 = 14  

data_rom_out 3 = 16  

data_rom_out 4 = 18  

data_rom_out 5 = 20  

data_rom_out 6 = 22  

data_rom_out 7 = 24  

data_rom_out 8 = 26  

data_rom_out 9 = 28  

data_rom_out 10 = 30  

data_rom_out 11 = 32  

data_rom_out 12 = 34  

data_rom_out 13 = 36  

data_rom_out 14 = 38  

data_rom_out 15 = 40  

data_rom_out 16 = 42  

data_rom_out 17 = 44  

data_rom_out 18 = 46  

data_rom_out 19 = 48  

data_rom_out 20 = 50  

data_rom_out 21 = 52  

data_rom_out 22 = 54  

data_rom_out 23 = 56  

data_rom_out 24 = 58  

data_rom_out 25 = 60  

data_rom_out 26 = 62  

data_rom_out 27 = 64  

data_rom_out 28 = 66  

data_rom_out 29 = 68  

data_rom_out 30 = 70  

data_rom_out 31 = 72  

data_rom_out 32 = 0  

data_rom_out 33 = 12  

data_rom_out 34 = 14  

0 Kudos
Reply