lib/origen/registers/reg.rb
# Shows the bits that have changed from the reset value of the register/bits.
# Currently logs it to the console window using Origen logger.
Shows the bits that have changed from the reset value of the register/bits.
Currently logs it to the console window using Origen logger.
Shows the bits that have changed from the reset value of the register / bits . Currently logs it to the console window using Origen logger .
def changed_bits(options = {})
          temp = named_bits.select { |name, bits| bits.data != bits.reset_val }
          temp.each do |r|
            Origen.log.info "\t\t#{self.name}.#{r[0]} : #{r[1].value.to_hex}".bold.blue
          end
          Origen.log.info '  '
        end
def changed_bits ( options = { } ) temp = named_bits . select { | name , bits | bits . data != bits . reset_val } temp . each do | r | Origen . log . info "\t\t#{self.name}.#{r[0]} : #{r[1].value.to_hex}" . bold . blue end Origen . log . info '  ' end
Shows the bits that have changed from the reset value of the register/bits.
Shows the bits that have changed from the reset value of the register / bits .
options
<not_specific>