- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I saw this expression today:
assign IntxReq_o = |irq_reg & intx_mode; noticing there is a "|" right ahead of "irq_reg". I am familiar with "|=", but never saw "=|" before. Anyone knows? Update: It is reduction OR. Since irq_reg has multiple bits, the operator yields an OR result of all bits together. Apparently, I was using a much more labored way for a long time.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