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++
12603 Discussions

A problem in a custom component

Altera_Forum
Honored Contributor II
996 Views

Hello every body; 

I have created a pipelined custom component that have ReadDataValid signal, I want to read from this component by its base address. 

Is it neccessary to make a macro that samples the "ReadDataValid" signal, or I can read from it by the simple IoRead() instruction. 

Thanks.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
275 Views

As long as the master connected to our component follows the Avalon specification, such as the Nios CPU, then you don't have to do anything special to handle the ReadDataValid signal. Just use the regular methods to access your component.

0 Kudos
Altera_Forum
Honored Contributor II
275 Views

Thanks Mr Daixiwen for your attention;

0 Kudos
Altera_Forum
Honored Contributor II
275 Views

What Daixiwne said is correct, instead of worrying about the master that will be connected to the slave, ensure that you follow the Avalon-MM specification when designing the slave. The idea behind the spec is that you don't have to worry about the connectivity between the master and slave, if you design towards the spec then the tools or IP on the other side will take care of the rest.

0 Kudos
Reply