lib/origen/registers/reg.rb
# Copies data and overlays from one reg object to another, it does not copy
# read or store flags
Copies data and overlays from one reg object to another, it does not copy
read or store flags
Copies data and overlays from one reg object to another it does not copy read or store flags
def copy(reg)
        size.times do |i|
          source_bit = reg.bit[i]
          @bits[i].overlay(source_bit.overlay_str) if source_bit.has_overlay?
          @bits[i].write(source_bit.data)
        end
        self
      end
def copy ( reg ) size . times do | i | source_bit = reg . bit [ i ] @bits [ i ] . overlay ( source_bit . overlay_str ) if source_bit . has_overlay? @bits [ i ] . write ( source_bit . data ) end self end
Copies data and overlays from one reg object to another, it does not copy
read or store flags
Copies data and overlays from one reg object to another it does not copy read or store flags
reg
<not_specific>