Sha256: 1d38bdf08862e8e3983bb313d3c8c5689fe4f893798a19cc0cea21cbc8cb16cf

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

module OrigenAhb
  module Test
    class BLOCK
      include Origen::Model

      def initialize(options = {})
        instantiate_registers(options)
      end

      def instantiate_registers(options = {})
        add_reg :control, 0x00, 32, data: { pos: 0, bits: 32 }
        add_reg :status, 0x04, 32, data: { pos: 0, bits: 32 }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
origen_ahb-0.2.0 lib/origen_ahb_dev/block.rb
origen_ahb-0.2.0.pre10 lib/origen_ahb_dev/block.rb
origen_ahb-0.2.0.pre9 lib/origen_ahb_dev/block.rb
origen_ahb-0.2.0.pre8 lib/origen_ahb_dev/block.rb