Sha256: f88795e2e081a7a22d5daa31a3ab613b86fd1aee04f9a866b23845d4c898b9a7

Contents?: true

Size: 1.45 KB

Versions: 173

Compression:

Stored size: 1.45 KB

Contents

module Origen
  module Specs
    # Ruby Data Class that contains Creation Information for the IP Block
    class Creation_Info
      attr_accessor :author, :date, :revision, :source, :tool, :tool_version, :ip_version, :ip_block_name

      # Initialize the Creation Info block to store data for latest version of the file.
      #
      # ==== Parameters
      #
      # * author    # Author/Subject Matter Expert for the IP Block
      # * date      # Date that the File was released to Downstream Audiences
      # ==== Source Information
      #
      # * :revision      # Revision Information
      # * :source        # Where the Information came from
      # * :ip_block_name # Block Name for the IP. e.g. DDR for DDRC1, DDRC2; I2C for I2C1, I2C2
      #
      # ==== Tool Info
      #
      # * :tool      # Tool that created the initial XML file
      # * :version   # Version of the Tool that created the XML file
      #
      # ==== Example
      #
      #   Creation_Info.new("author", "07/10/2015", :revision => "5.4", :source => "CSV", :tool => "oRiGeN", :tool_version => "0.0.6")
      def initialize(author, date, ip_version, src_info = {}, tool_info = {})
        @author = author
        @date = date
        @ip_version = ip_version
        @revision = src_info[:revision]
        @source = src_info[:source]
        @ip_block_name = src_info[:ip_block_name]
        @tool = tool_info[:tool]
        @tool_version = tool_info[:version]
      end
    end
  end
end

Version data entries

173 entries across 173 versions & 1 rubygems

Version Path
origen-0.60.17 lib/origen/specs/creation_info.rb
origen-0.60.16 lib/origen/specs/creation_info.rb
origen-0.60.14 lib/origen/specs/creation_info.rb
origen-0.60.13 lib/origen/specs/creation_info.rb
origen-0.60.12 lib/origen/specs/creation_info.rb
origen-0.60.11 lib/origen/specs/creation_info.rb
origen-0.60.10 lib/origen/specs/creation_info.rb
origen-0.60.9 lib/origen/specs/creation_info.rb
origen-0.60.8 lib/origen/specs/creation_info.rb
origen-0.60.7 lib/origen/specs/creation_info.rb
origen-0.60.6 lib/origen/specs/creation_info.rb
origen-0.60.5 lib/origen/specs/creation_info.rb
origen-0.60.4 lib/origen/specs/creation_info.rb
origen-0.60.3 lib/origen/specs/creation_info.rb
origen-0.60.2 lib/origen/specs/creation_info.rb
origen-0.60.1 lib/origen/specs/creation_info.rb
origen-0.60.0 lib/origen/specs/creation_info.rb
origen-0.59.8 lib/origen/specs/creation_info.rb
origen-0.59.7 lib/origen/specs/creation_info.rb
origen-0.59.6 lib/origen/specs/creation_info.rb