Sha256: 2f4a6a9194bbba368276d1b6379ef25a4eeffb9ab5aefe526d7325b7417a3cea
Contents?: true
Size: 1.11 KB
Versions: 37
Compression:
Stored size: 1.11 KB
Contents
module OrigenTesters module Decompiler class Pattern require_relative './base' class Pinlist < Base def initialize(node:, context:) @source = :pinlist super end # Returns the pinlist as an ordered list. # @return [Array] Array of strings where each array element is the # corresponding pin in that position. # @example Return the pinlist. # # (Teradyne ATP format) vector ($tset, tclk, tdi, tdo, tms) # pinlist #=> ['tclk', 'tdi', 'tdo', 'tms'] def pinlist processor.pins end def pins processor.pins end # Returns the size of the pinlist. # @return [Integer] Size of the pinlist. def pinlist_size processor.pinlist.size end alias_method :size, :pinlist_size def to_yaml_hash { class: self.class.to_s, processor: processor.class.to_s, pinlist: pinlist, platform_nodes: _platform_nodes_ } end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems