Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

new module problem on SOPC

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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