Altera_Forum
Honored Contributor
15 years agoProblem about How to read the data form the avalon bus with the component by myself
Thank you very much,
My problem is How to read the value of data from the avalon slave bus, due to the data is from my component. I build my component into the Nios at the SOPC Builder. I try to read the data in the NIOS II IDE, Dose anyoneunderstand my problem?? Does any could help me?? Thank you so much In the frigue, that is my interface of latch circuit in the NIOS II core I have tried to...define the IO function of latch like this "# define IORD_AVALON_LATCH_HIGH(base) IORD(base, 0)# define IOWR_AVALON_LATCH_HIGH(base, data) IOWR(base, 0, data)# define IORD_AVALON_LATCH_LOW(base) IORD(base, 1)# define IOWR_AVALON_LATCH_LOW(base, data) IOWR(base, 1, data) " Dose anyone could tell me I wrong or right ??? and give me some advice ??