corrected typo in BitShift9R

This commit is contained in:
Michael Schröder 2023-04-15 08:29:38 +02:00
parent 6f6eb8436a
commit c3cd7b1058

View File

@ -1,7 +1,7 @@
/**
* 10 bit Shiftregister (shifts to right)
* 9 bit Shiftregister (shifts to right)
* if (load == 1) out[t+1] = in[t]
* else if (shift == 1) out[t+1] = out[t]>>1 | (inMSB<<9)
* else if (shift == 1) out[t+1] = out[t]>>1 | (inMSB<<8)
* (shift one position to right and insert inMSB as most significant bit)
*/