This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MAC simulator shift bugs CoSHL , CoSHR , CoASHR

The MAC shift operations in the simulator
that comes with v4.23 need fixing.
Shifts of 0 to 7 do nothing.
Shifts of 8 to 15 shift by 1.
Shifts of 16 to 24 shift by 2.
Shifts of 25 to 31 shift by 3.
The CoSHR also performs an arithmetic shift
rather than logical.