% % Specification of Shifter for the DLX ALU % % PVS Formalization (C) 2000-2001 Daniel Kroening % alu_shifter_spec[N: posnat, logN: posnat]: THEORY BEGIN IMPORTING bitvectors@top; op: VAR bvec[N]; distance: VAR bvec[logN]; right, arithmetic: VAR bit; arith_right_shift(i: nat, bv: bvec[N]): bvec[N] = IF i=0 THEN bv ELSIF i