Sha256: f0c02625ac9e5c65da3309df0a71cba387ea170fd9da227cf98ae19177d14e3e
Contents?: true
Size: 323 Bytes
Versions: 2
Compression:
Stored size: 323 Bytes
Contents
module OrigenAhbDev 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
origen_ahb-0.2.2 | lib/origen_ahb_dev/block.rb |
origen_ahb-0.2.1 | lib/origen_ahb_dev/block.rb |