- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I have two custom components in my system (the components are coded in VHDL and connect to the software via an Avalon slave interface). One has reigsters of 8 bits (readdata/writedata width 8) and another of 16 bits. Both components were defined with "native addressing" since the access is register-based. While for the 8-bit component I suceed reading and writing registers using the IORD_8DIRECT and IOWR_8DIRECT macros, with the 16-bit one I don't suceed using IORD_16DIRECT and IOWR_16DIRECT. What does work for the 16-bit one is the plain IORD and IOWR. The docs have only minimal information on the differences between these macros. Can someone please elaborate ? What is going on behind the scenes (I see different assembly instructions generated), which one should be used when, how is it all connected to the native addressing vs. memory addressing, and so on. Thanks in advance !Link Copied
0 Replies
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