Sha256: 28e77122b17bb6100d8666a7c9c528b990657d6c91567ca34f1fc00770617f6f

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

# The target file is run before *every* Origen operation and is used to instantiate
# the runtime environment - usually this means instantiating a top-level SoC or
# IP model.
#
# Naming is arbitrary but instances names should be prefixed with $ which indicates a 
# global variable in Ruby, and this is required in order for the objects instantiated
# here to be visible throughout your application code.
$dut = <%= @namespace %>::<%= @options[:name] || "TopLevel" %>.new   # Instantiate a DUT instance

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
origen_app_generators-0.1.0 templates/app_generators/test_engineering/stand_alone_application/target/top_level.rb