- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
I practiced the tutorial named Making Qsys Components, and have questions regarding the byteenable. (linked it following line) ftp://ftp.altera.com/up/pub/altera_material/12.0/tutorials/making_qsys_components.pdf how do I address(controll) the byteenable inputs ? i programed my DE2-115 board according to the manual, and used eclipse to test the resolutes. i used the function : IOWR_16DIRECT(REG16_AVALON_INTERFACE_0_BASE, 0, 0x2222); to write to the register , i changed the address (base + offset of 0,1,2,3,4) to control byteenable but it seems that bouth bytes are enabled all of the time (until the address gets to base addres +offset of 4) if i would like to disenable 1 of the bytes what should i do? thanks in advance YakirLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is you peripheral 16-bit data wide? You should use IOWR_8DIRECT() to access individual bytes, or use a unsigned char or char pointer with cache bypassing.

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