lib/origen/registers/reg.rb
# Delete the bits in the collection from the register
Delete the bits in the collection from the register
Delete the bits in the collection from the register
def delete_bit(collection)
        [collection.name].flatten.each do |name|
          @lookup.delete(name)
        end
        collection.each do |bit|
          @bits.delete_at(bit.position)    
          @bits.insert(bit.position, Bit.new(self, bit.position, writable: @init_as_writable))
        end
        self
      end
def delete_bit ( collection ) [ collection . name ] . flatten . each do | name | @lookup . delete ( name ) end collection . each do | bit | @bits . delete_at ( bit . position ) @bits . insert ( bit . position , Bit . new ( self , bit . position , writable : @init_as_writable ) ) end self end
Delete the bits in the collection from the register
Delete the bits in the collection from the register
# Remove the bit
collection
<not_specific>