Sha256: fc97a7e26b8be2cf933349b0ad1797278d353f9f9f839fdd42bca6dd627d03a5

Contents?: true

Size: 825 Bytes

Versions: 57

Compression:

Stored size: 825 Bytes

Contents

# ********************************************************************************
# Any attributes defined in this file be added to <%= @fullname %>
<% unless @nested -%>
# and all of its derivatives (if any).
<% end -%>
# ********************************************************************************

# To define an attribute simply declare instance variables and assign their
# values as shown below.
# Derivative classes will automatically inherit the values defined here unless
# they are overridden by a derivative attribute file.
#
# @address_width = 32
# @has_feature_x = true
#
# Accessors will automatically be created for any attributes defined in this file:
#
#   dut.address_width   # => 32
#   dut.has_feature_x   # => true
#   dut.has_feature_x?  # => true  <attribute>? methods are also added for booleans

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
origen-0.60.18 templates/code_generators/attributes.rb
origen-0.60.17 templates/code_generators/attributes.rb
origen-0.60.16 templates/code_generators/attributes.rb
origen-0.60.14 templates/code_generators/attributes.rb
origen-0.60.13 templates/code_generators/attributes.rb
origen-0.60.12 templates/code_generators/attributes.rb
origen-0.60.11 templates/code_generators/attributes.rb
origen-0.60.10 templates/code_generators/attributes.rb
origen-0.60.9 templates/code_generators/attributes.rb
origen-0.60.8 templates/code_generators/attributes.rb
origen-0.60.7 templates/code_generators/attributes.rb
origen-0.60.6 templates/code_generators/attributes.rb
origen-0.60.5 templates/code_generators/attributes.rb
origen-0.60.4 templates/code_generators/attributes.rb
origen-0.60.3 templates/code_generators/attributes.rb
origen-0.60.2 templates/code_generators/attributes.rb
origen-0.60.1 templates/code_generators/attributes.rb
origen-0.60.0 templates/code_generators/attributes.rb
origen-0.59.8 templates/code_generators/attributes.rb
origen-0.59.7 templates/code_generators/attributes.rb