Changeset 3445 for proto


Ignore:
Timestamp:
Sep 7, 2013, 6:15:16 PM (6 years ago)
Author:
cameron
Message:

Change hard constant 127 to BLOCK_SIZE-1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/CCGO.py

    r3017 r3445  
    102102        carry_index = self.carryIndex[operation_no - self.operation_offset]
    103103        return [ast.Assign([ast.Subscript(self.CarryGroupAtt('cq'), ast.Index(ast.Num(carry_index)), ast.Store())],
    104                           mkast.call("bitblock::srli<%i>" % (self.BLOCK_SIZE - 1), [carry_out_expr]))]
     104                          mkast.call("bitblock::srli<BLOCK_SIZE-1>", [carry_out_expr]))]
    105105    def GenerateAdvanceInAccess(self, operation_no):
    106106        adv_index = self.advIndex[operation_no - self.operation_offset]
Note: See TracChangeset for help on using the changeset viewer.