Sha256: 4a0d515a03e8ae08e2ea551438347c06b35d483e26a585f99194d60d7c2275dc

Contents?: true

Size: 1.14 KB

Versions: 62

Compression:

Stored size: 1.14 KB

Contents

# This file was generated by Origen, any hand edits will likely get overwritten
# rubocop:disable all
module Origen
  module Export1
    module Block1
      module X
        def self.extended(model)
          # ** Some Control Register **
          # Blah, blah,
          # and some more blah
          model.add_reg :ctrl, 0x24, size: 16 , str_meta: "a's", str_meta2: "\"works?\"" do |reg|
            reg.bit 7, :coco, access: :ro
            reg.bit 6, :aien
            # **Some Diff Bit** - This is a...
            # blah, blah
            # 
            # 0 | It's off
            # 1 | It's on
            reg.bit 5, :diff
            reg.bit 4..0, :adch, reset: 0x1F
          end
          # ** A MSB0 Test Case **
          # Blah-ba-bi-blah
          # just following the comment pattern above
          model.add_reg :msb0_test, 0x28, size: 16 , bit_order: :msb0, some_attr: true, another_attr: :testing, fourth_attr: "string_attr" do |reg|
            reg.bit 8, :ale
            reg.bit 9, :xsfg
            reg.bit 10, :yml
            reg.bit 11..15, :field, reset: 0x1F
          end
        end
      end
    end
  end
end
# rubocop:enable all

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
origen-0.54.3 vendor/lib/models/origen/export1/block1/x.rb
origen-0.54.2 vendor/lib/models/origen/export1/block1/x.rb
origen-0.54.1 vendor/lib/models/origen/export1/block1/x.rb
origen-0.54.0 vendor/lib/models/origen/export1/block1/x.rb
origen-0.53.1 vendor/lib/models/origen/export1/block1/x.rb
origen-0.53.0 vendor/lib/models/origen/export1/block1/x.rb
origen-0.52.4 vendor/lib/models/origen/export1/block1/x.rb
origen-0.52.3 vendor/lib/models/origen/export1/block1/x.rb
origen-0.52.2 vendor/lib/models/origen/export1/block1/x.rb
origen-0.52.1 vendor/lib/models/origen/export1/block1/x.rb
origen-0.52.0 vendor/lib/models/origen/export1/block1/x.rb
origen-0.51.3 vendor/lib/models/origen/export1/block1/x.rb
origen-0.51.2 vendor/lib/models/origen/export1/block1/x.rb
origen-0.51.1 vendor/lib/models/origen/export1/block1/x.rb
origen-0.51.0 vendor/lib/models/origen/export1/block1/x.rb
origen-0.50.0 vendor/lib/models/origen/export1/block1/x.rb
origen-0.44.0 vendor/lib/models/origen/export1/block1/x.rb
origen-0.43.0 vendor/lib/models/origen/export1/block1/x.rb
origen-0.42.2 vendor/lib/models/origen/export1/block1/x.rb
origen-0.42.1 vendor/lib/models/origen/export1/block1/x.rb