Class: Origen::Errata::HwErratum

Inherits:
Object
  • Object
show all
Defined in:
lib/origen/errata/hw_erratum.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, ip_block, overview = {}, status = {}, sw_workaround = {}) ⇒ HwErratum

Returns a new instance of HwErratum



34
35
36
37
38
39
40
41
42
43
44
# File 'lib/origen/errata/hw_erratum.rb', line 34

def initialize(id, ip_block, overview  = {}, status = {}, sw_workaround = {})
  @id = id
  @ip_block = ip_block
  @title = overview[:title]
  @description = overview[:description]
  @hw_workaround_description = overview[:hw_workaround_description]
  @disposition = status[:disposition]
  @impact = status[:impact]
  @fix_plan = status[:fix_plan]
  @sw_workaround = sw_workaround
end

Instance Attribute Details

#descriptionObject

Description of erratum



11
12
13
# File 'lib/origen/errata/hw_erratum.rb', line 11

def description
  @description
end

#dispositionObject

How the errata is to be distributed ex:

--Internal Only
--Customer visible
--Other: 3rd party, etc.


20
21
22
# File 'lib/origen/errata/hw_erratum.rb', line 20

def disposition
  @disposition
end

#fix_planObject

When/if the erratum will be fixed



26
27
28
# File 'lib/origen/errata/hw_erratum.rb', line 26

def fix_plan
  @fix_plan
end

#hw_workaround_descriptionObject

Description of the hardware workaround for the erratum



14
15
16
# File 'lib/origen/errata/hw_erratum.rb', line 14

def hw_workaround_description
  @hw_workaround_description
end

#idObject (readonly)

ID number used to identify erratum



5
6
7
# File 'lib/origen/errata/hw_erratum.rb', line 5

def id
  @id
end

#impactObject

Impact of erratum to customer



23
24
25
# File 'lib/origen/errata/hw_erratum.rb', line 23

def impact
  @impact
end

#ip_blockObject

IP block that is associate with this errata



29
30
31
# File 'lib/origen/errata/hw_erratum.rb', line 29

def ip_block
  @ip_block
end

#sw_workaroundObject

Software workaround object associated with erratum



32
33
34
# File 'lib/origen/errata/hw_erratum.rb', line 32

def sw_workaround
  @sw_workaround
end

#titleObject

Erratum Title



8
9
10
# File 'lib/origen/errata/hw_erratum.rb', line 8

def title
  @title
end