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.60.17 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.16 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.14 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.13 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.12 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.11 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.10 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.9 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.8 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.7 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.6 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.5 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.4 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.3 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.2 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.1 vendor/lib/models/origen/export1/block1/x.rb
origen-0.60.0 vendor/lib/models/origen/export1/block1/x.rb
origen-0.59.8 vendor/lib/models/origen/export1/block1/x.rb
origen-0.59.7 vendor/lib/models/origen/export1/block1/x.rb
origen-0.59.6 vendor/lib/models/origen/export1/block1/x.rb