def _arg_varname(self, wire):
        """
        Input, Const, and Registers have special input values
        """
        if isinstance(wire, (Input, Register)):
            return 'd[' + repr(wire.name) + ']'  # passed in
        elif isinstance(wire, Const):
            return str(wire.val)  # hardcoded
        else:
            return self._varname(wire)
def _arg_varname ( self , wire ) : if isinstance ( wire , ( Input , Register ) ) : return 'd[' + repr ( wire . name ) + ']' elif isinstance ( wire , Const ) : return str ( wire . val ) else : return self . _varname ( wire )
Input, Const, and Registers have special input values