Class: ShiftRotate

ShiftRotate(DBIn, selects)

The ShiftRotate block is a combinational logic device which performs shift and rotate operations on the input data bus based on the control signals from the CPU control unit.

Constructor

new ShiftRotate(DBIn, selects)

Create a new ShiftRotate block
Parameters:
Name Type Description
DBIn IOBus the input data bus
selects Array.<Tri> the control signals from the CPU control unit
Properties:
Name Type Description
mux NineTwo the mux which selects the output of the ShiftRotate
Source:

Extends

Methods

compute()

Compute the output of the ShiftRotate block
Source: