- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ??Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that your writedata vector should be 32 bits wide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I think that your writedata vector should be 32 bits wide --- Quote End --- I think I knew that you meaning. But, My Circuit is workable. So, I think that doesn't affect my circuit. But still thanks your suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It will work as long as the only values that you write with IOWR are 0 and 1. If you want to write different values you'll need more bits.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page