- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
When going through a reference design i encountered a particular type of wire assignment as follows. data[92-:8]=a; what does this part[92-:8] mean? is it actually 92:84 ie 92:(92-8)? Thanks in advanceLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have it mostly correct, but it would actually be equivalent to data[92:85]. It means to include 8 bits total starting from data[92] and counting down. [92:84] would be 9 bits instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- You have it mostly correct, but it would actually be equivalent to data[92:85]. It means to include 8 bits total starting from data[92] and counting down. [92:84] would be 9 bits instead. --- Quote End --- Thanks for confirming and making it clear

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