Module 7: Advanced RTL Design Techniques · 7.6 Low-Power Design Techniques

Operand Isolation

Clock gating disables clock tree switching in sequential registers. Power gating disconnects power rails from idle hardware domains. However, active combinational logic blocks can still waste significant dynamic power. When an ALU evaluates an addition, downstream multiplexers discard the parallel multiplier result. If input operands continue toggling, the multiplier burns dynamic power calculating products that downstream circuits ignore:

Adder and multiplier sharing operands; the unselected unit still switches
Figure 1: Where the wasted switching happens

Operand isolation freezes input lines to idle combinational blocks. Preventing input transitions suppresses internal gate toggling throughout the unselected circuit.

Implementing Input Isolation Logic

Designers isolate combinational inputs using transparent latches or AND masking gates:

`timescale 1ns / 1ps
`default_nettype none

module alu_with_isolation #(parameter WIDTH = 16) (
    input  wire [WIDTH-1:0]   a, b,
    input  wire               op_is_multiply,   // Asserts when multiplier output is selected
    output wire [WIDTH-1:0]   add_result,
    output wire [2*WIDTH-1:0] mul_result,
    output wire [2*WIDTH-1:0] final_result
);
    // Isolate multiplier inputs: hold previous values when multiplication is inactive
    reg [WIDTH-1:0] a_isolated, b_isolated;

    always @(*) begin
        if (op_is_multiply) begin
            a_isolated = a;
            b_isolated = b;
        end
        // Omission of else infers a level-sensitive latch to hold state
    end

    assign add_result   = a + b;
    assign mul_result   = a_isolated * b_isolated;
    assign final_result = op_is_multiply ? mul_result : {{WIDTH{1'b0}}, add_result};
endmodule

In this context, the level-sensitive latch serves an intentional purpose. Holding input vectors stable prevents internal logic transitions inside the multiplier.

An alternative approach gates input operands to zero using AND gates: a & {WIDTH{op_is_multiply}}. AND masking avoids transparent latches, though it causes a single transition when returning to active state.

Architectural Trade-Offs and Selective Application

Operand isolation requires hardware resources. Adding isolation latches or masking gates introduces silicon area overhead and adds combinational propagation delay.

Apply operand isolation selectively to large, logic-intensive functional units:

  • Multipliers and divider arrays.
  • Wide barrel shifters and rotation networks.
  • Floating-point arithmetic units.
  • Deep Wallace tree compressors.

Do not apply operand isolation to simple logic gates, such as 2-input multiplexers or narrow adders. For simple circuits, the power consumed by the isolation gates exceeds the power saved by suppressing internal transitions.

Verification Exercise

A 64-bit barrel shifter operates inside an execution pipeline. Downstream multiplexers discard the shifter output on 90 percent of execution cycles. Explain why this shifter represents an ideal candidate for operand isolation.

View Solution

A 64-bit barrel shifter contains $\log_2(64) = 6$ sequential multiplexer stages. Input signal transitions propagate through hundreds of internal logic gates. Because the output is discarded on 90 percent of operational cycles, most switching power is wasted. Freezing the shifter inputs suppresses nine out of ten switching events. The substantial dynamic power savings far outweigh the minor silicon area cost of input isolation gates.

Operand isolation suppresses internal switching activity in unselected combinational logic blocks. The next article summarizes activity-aware design principles across all hardware layers.

← Power Gating Activity-Aware Design →