Sha256: 692a8291f60094978da452e209bc0677cf8a1445b3692ce075b9e9ea44944899

Contents?: true

Size: 1.36 KB

Versions: 56

Compression:

Stored size: 1.36 KB

Contents

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

# If you want to add a nested sub-block to this block then run the following command,
# replacing my_sub_block_name with the name of your sub-block:
#   origen new block <%= Pathname.new(resource_path_to_blocks_dir(@resource_path)).relative_path_from(Origen.root) %> my_sub_block_name
#
# If instead you want to add a primary sub-block (one which supports derivatives and
# inheritance then create one using the following command and then instantiate it
# manually below:
#   origen new block my_sub_block_type/my_sub_block_name

# For more examples see: https://origen-sdk.org/origen/guides/models/defining/#Adding_Sub_Blocks

# Examples
# sub_block :nvm                                      # An empty sub-block
# sub_block :nvm, base_address: 0x1000_0000           # How to define the sub-block's address
# sub_block :nvm, load_block: 'features/memory'       # Add the definitions from the given block(s)
# sub_block :nvm, load_block: ['features/memory', 'features/testable']
# sub_block :nvm, class_name: 'MyApp::NVM::Flash2K'   # Instantiate it as an instance of the given class

Version data entries

56 entries across 56 versions & 1 rubygems

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