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++
공지
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.

new module problem on SOPC

Altera_Forum
명예로운 기여자 II
1,135 조회수

Hi, 

I have a problem with a module (with datain, dataout, rd,wr,cs,clk,....etc.) that I made and I want to use it in SOPC as a new device. 

The problem is in the interface with the software C, 

 

When I try to write data to the module , I can't see it on the memory map. 

 

 

 

As anyone know what I need to do to fix it? 

 

Thanks 

Tal
0 포인트
2 응답
Altera_Forum
명예로운 기여자 II
455 조회수

Place in the component a register with a constant value and read it first. Try some simple RW registers first, before testing the final component. Simulate (for example ModelSim or Quartus integrated simulator) the component before using it. 

 

You may try adding signal tap to check signals inside your component. 

 

You may have common problems with accessing the cache instead of the actual component, but this is not expected for components that are not memory. 

 

IzI
0 포인트
Altera_Forum
명예로운 기여자 II
455 조회수

Hi, 

I tried to write constant values first and read them, but I didn't see them on the memory map too. I simulated the component and it worked OK on the simulation. 

The component isn’t a memory but it has 4 registers inside it. 

 

 

Tal
0 포인트
응답