You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first, thank you for all the content and code you publish, I've been following for a while. Right now I'm studying your crossbar code and realized that the request array has the same implementation for OPT_NONESEL and for !(OPT_NONESEL) & !(NS == 1).
I'm guessing a "nonesel slave" is missing as indicated by the comment, but is the code supposed to be duplicated this way or some difference in the actual request decoding is to be implemented?
The nothing is selected slave decoding is handled in the next block down. The logic you are pointing out is the decoding logic for everything else. What makes address 0 special in this logic is that it's used as a catch all address. If nothing else is selected, and slave zero would work (mask == 0), then slave zero becomes the default instead of the extra "nothing is selected" error generating slave.
Yes, the two blocks you point out could be merged. Thanks for pointing that out. No, they don't do the same thing, but the difference is captured by parameter settings in if (!OPT_NONESEL && NS > 1 ..., so the logic looks the same as you've pointed out. Feel free to submit a patch if you would like, or I might do it myself ...
Hi, first, thank you for all the content and code you publish, I've been following for a while. Right now I'm studying your crossbar code and realized that the request array has the same implementation for OPT_NONESEL and for !(OPT_NONESEL) & !(NS == 1).
I'm guessing a "nonesel slave" is missing as indicated by the comment, but is the code supposed to be duplicated this way or some difference in the actual request decoding is to be implemented?
wb2axip/rtl/addrdecode.v
Lines 124 to 161 in c36b2a8
The text was updated successfully, but these errors were encountered: