Sha256: 7c69097dd1a30ec82abd9feb233abfc94b261f784a2420eaa52396636698a2ec
Contents?: true
Size: 432 Bytes
Versions: 1
Compression:
Stored size: 432 Bytes
Contents
module OrigenAhbDev # Dummy sub-block for inclusion in top-level dut class BLOCK include Origen::Model # Initialize block def initialize(options = {}) instantiate_registers(options) end # Create block-level registers 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
origen_ahb-0.2.3 | lib/origen_ahb_dev/block.rb |