- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
is it possible to use the carry output of a datapath ADD/SUB operation as the shift input in the same cycle?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @RaAl_264636
If you go through the simplified Datapath Architecture the ALU which is capable of performing add and subtract operation is separate from the shifter block.
Therefore, It should be possible to perform the shift and add/sub operation within the same cycle.
When using the UDB Editor to configure the Datapath, it is possible to configure both add/sub and shift operation in a single instruction:
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Ekta_N
using the ADD/SUB operation in combination with shift is no problem, many components use this - but the question is if it's possible to use the carry bit from an ADD/SUB operation as the shift input in the same cycle. Something like this:
Regards