Class: Origen::Chips::ChipArray

Inherits:
Array show all
Defined in:
lib/origen/chips.rb

Overview

A regular Array but print specs to the console via their ID for brevity and consistency with other APIs (e.g. $dut.regs # => [:reg1, :reg2])

Instance Method Summary collapse

Methods inherited from Array

#dups, #dups?, #dups_with_index, #ids, #include_hash?, #include_hash_with_key?

Instance Method Details

#inspectObject



19
20
21
# File 'lib/origen/chips.rb', line 19

def inspect
  map(&:name).inspect
end