origen_app_generators 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/commands.rb +13 -25
- data/config/version.rb +2 -2
- data/lib/origen_app_generators.rb +22 -6
- data/lib/origen_app_generators/application.rb +21 -14
- data/lib/origen_app_generators/base.rb +18 -3
- data/lib/origen_app_generators/plugin.rb +17 -2
- data/lib/origen_app_generators/sub_block_parser.rb +81 -0
- data/lib/origen_app_generators/test_engineering/stand_alone_application.rb +232 -0
- data/lib/origen_app_generators/test_engineering/{generic_test_block.rb → test_block.rb} +2 -2
- data/lib/tasks/app_generators.rake +42 -3
- data/lib/tasks/boot.rb +1 -1
- data/templates/app_generators/application/Gemfile +6 -7
- data/templates/app_generators/application/Rakefile +0 -4
- data/templates/app_generators/application/config/application.rb +8 -11
- data/templates/app_generators/application/config/{environment.rb → boot.rb} +0 -0
- data/templates/app_generators/application/config/commands.rb +11 -13
- data/templates/app_generators/application/origen_core_session +2 -0
- data/templates/app_generators/plugin/Gemfile +9 -0
- data/templates/app_generators/plugin/Rakefile +9 -0
- data/templates/app_generators/plugin/config/boot.rb +17 -0
- data/templates/app_generators/test_engineering/stand_alone_application/Gemfile +14 -0
- data/templates/app_generators/test_engineering/stand_alone_application/environment/j750.rb +1 -0
- data/templates/app_generators/test_engineering/stand_alone_application/environment/jlink.rb +1 -0
- data/templates/app_generators/test_engineering/stand_alone_application/environment/uflex.rb +1 -0
- data/templates/app_generators/test_engineering/stand_alone_application/environment/v93k.rb +1 -0
- data/templates/app_generators/test_engineering/stand_alone_application/lib/ip_block.rb +23 -0
- data/templates/app_generators/test_engineering/stand_alone_application/lib/ip_block_controller.rb +5 -0
- data/templates/app_generators/test_engineering/stand_alone_application/lib/top_level.rb +33 -0
- data/templates/app_generators/test_engineering/stand_alone_application/lib/top_level_controller.rb +21 -0
- data/templates/app_generators/test_engineering/stand_alone_application/pattern/example.rb +4 -0
- data/templates/app_generators/test_engineering/stand_alone_application/target/top_level.rb +8 -0
- data/templates/app_generators/test_engineering/{generic_test_block → test_block}/lib/interface.rb +0 -0
- data/templates/app_generators/test_engineering/{generic_test_block → test_block}/program/prb1.rb +0 -0
- data/templates/app_generators/test_engineering/{generic_test_block → test_block}/target/j750.rb +0 -0
- data/templates/app_generators/test_engineering/{generic_test_block → test_block}/target/ultraflex.rb +0 -0
- data/templates/app_generators/test_engineering/{generic_test_block → test_block}/target/v93k.rb +0 -0
- data/templates/web/origen_app_generators/test_engineering/generic_stand_alone_application.md.erb +9 -0
- metadata +28 -41
- data/templates/app_generators/application/config/users.rb +0 -29
- data/templates/app_generators/application/templates/web/archive.md.erb +0 -11
- data/templates/app_generators/application/templates/web/contact.md.erb +0 -36
- data/templates/app_generators/application/templates/web/docs/environment/definitions.md.erb +0 -17
- data/templates/app_generators/application/templates/web/docs/environment/installation.md.erb +0 -22
- data/templates/app_generators/application/templates/web/docs/environment/introduction.md.erb +0 -5
- data/templates/app_generators/application/templates/web/index.md.erb +0 -12
- data/templates/app_generators/application/templates/web/layouts/_basic.html.erb +0 -14
- data/templates/app_generators/application/templates/web/layouts/_doc.html.erb +0 -35
- data/templates/app_generators/application/templates/web/partials/_navbar.html.erb +0 -23
- data/templates/app_generators/application/templates/web/references.md.erb +0 -39
- data/templates/app_generators/application/templates/web/release_notes.md.erb +0 -5
- data/templates/app_generators/plugin/config/development.rb +0 -12
- data/templates/app_generators/plugin/templates/web/index.md.erb +0 -60
- data/templates/app_generators/plugin/templates/web/partials/_navbar.html.erb +0 -22
- data/templates/web/_history.md +0 -166
- data/templates/web/archive.md.erb +0 -11
- data/templates/web/contact.md.erb +0 -36
- data/templates/web/docs/developers/creating.md.erb +0 -290
- data/templates/web/docs/environment/installation.md.erb +0 -12
- data/templates/web/docs/environment/introduction.md.erb +0 -10
- data/templates/web/example.md.erb +0 -73
- data/templates/web/index.md.erb +0 -48
- data/templates/web/layouts/_basic.html.erb +0 -18
- data/templates/web/layouts/_doc.html.erb +0 -37
- data/templates/web/origen_app_generators/application.md.erb +0 -116
- data/templates/web/origen_app_generators/plugin.md.erb +0 -29
- data/templates/web/origen_app_generators/test_engineering/generic_test_block.md.erb +0 -16
- data/templates/web/partials/_navbar.html.erb +0 -22
- data/templates/web/release_notes.md.erb +0 -5
@@ -1,8 +1,8 @@
|
|
1
1
|
module OrigenAppGenerators
|
2
2
|
module TestEngineering
|
3
3
|
# Generates a generic plugin shell
|
4
|
-
class
|
5
|
-
desc 'A
|
4
|
+
class TestBlock < Plugin
|
5
|
+
desc 'A test block intended to plugin into a top-level application'
|
6
6
|
|
7
7
|
def generate_files
|
8
8
|
@runtime_dependencies = [
|
@@ -4,9 +4,17 @@ task :new do
|
|
4
4
|
end
|
5
5
|
|
6
6
|
desc 'Test run the new app process'
|
7
|
-
task :test do
|
7
|
+
task :test, [:set] do |t, args|
|
8
8
|
_delete_tmp_dir
|
9
|
-
|
9
|
+
if args[:set]
|
10
|
+
vals = OrigenAppGenerators::TEST_INPUTS[args[:set].to_i]
|
11
|
+
vals.pop # Throw away the test commands
|
12
|
+
str = vals.map { |i| i == :default ? "\n" : "#{i}\n" }.join('')
|
13
|
+
result = system "echo '#{str}' | rake test"
|
14
|
+
else
|
15
|
+
result = _execute_generator(:invoke)
|
16
|
+
end
|
17
|
+
exit 1 unless result
|
10
18
|
end
|
11
19
|
|
12
20
|
desc "Test run a specific generator: rake 'run[TestEngineering::GenericTestBlock]'"
|
@@ -20,6 +28,34 @@ task :run, [:generator_class] do |_t, args|
|
|
20
28
|
_execute_generator(klass)
|
21
29
|
end
|
22
30
|
|
31
|
+
desc 'Test that all generators build'
|
32
|
+
task :regression do
|
33
|
+
OrigenAppGenerators::TEST_INPUTS.each do |inputs|
|
34
|
+
commands = ['origen -v'] + inputs.pop
|
35
|
+
if ENV['TRAVIS'] && ENV['CONTINUOUS_INTEGRATION']
|
36
|
+
prefix = 'bundle && bundle exec '
|
37
|
+
end
|
38
|
+
str = inputs.map { |i| i == :default ? "\n" : "#{i}\n" }.join('')
|
39
|
+
# Test the app can build
|
40
|
+
unless system "echo '#{str}' | rake test"
|
41
|
+
Origen.app.stats.report_fail
|
42
|
+
exit 1
|
43
|
+
end
|
44
|
+
# Test the app can boot
|
45
|
+
Bundler.with_clean_env do
|
46
|
+
Dir.chdir 'tmp' do
|
47
|
+
commands.each do |command|
|
48
|
+
unless system("#{prefix}#{command}")
|
49
|
+
Origen.app.stats.report_fail
|
50
|
+
exit 1
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
Origen.app.stats.report_pass
|
57
|
+
end
|
58
|
+
|
23
59
|
def _execute_generator(klass)
|
24
60
|
# With the generator identified this now launches it in a standalone shell
|
25
61
|
# This is to emulate how it will run in real life and cause it to fail if there are
|
@@ -27,12 +63,15 @@ def _execute_generator(klass)
|
|
27
63
|
|
28
64
|
boot = "#{File.expand_path(File.dirname(__FILE__))}/boot.rb"
|
29
65
|
origen_lib = "#{Origen.top}/lib"
|
66
|
+
origen_lib = '/proj/mem_c40tfs_testeng/r49409/origen/lib'
|
30
67
|
cmd = "#{boot} #{origen_lib} #{klass}"
|
31
68
|
cmd = "ruby #{cmd}" if Origen.running_on_windows?
|
32
69
|
# puts cmd
|
70
|
+
result = false
|
33
71
|
Bundler.with_clean_env do
|
34
|
-
system cmd
|
72
|
+
result = system cmd
|
35
73
|
end
|
74
|
+
result
|
36
75
|
end
|
37
76
|
|
38
77
|
def _delete_tmp_dir
|
data/lib/tasks/boot.rb
CHANGED
@@ -21,8 +21,8 @@ FileUtils.rm_rf tmp_dir if File.exist?(tmp_dir)
|
|
21
21
|
FileUtils.mkdir_p tmp_dir
|
22
22
|
|
23
23
|
begin
|
24
|
+
require 'origen'
|
24
25
|
Dir.chdir tmp_dir do
|
25
|
-
require 'origen'
|
26
26
|
# For some reason this is not being defined by required origen anymore
|
27
27
|
User = Origen::Users::User unless defined? User
|
28
28
|
if RUBY_VERSION >= '2.0.0'
|
@@ -1,11 +1,10 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
+
<% if (@audience != :external) && Origen.site_config.gem_server -%>
|
3
|
+
source '<%= Origen.site_config.gem_server %>'
|
4
|
+
<% end -%>
|
2
5
|
|
3
|
-
gem
|
6
|
+
gem 'origen', '>= <%= @latest_origen_version %>'
|
4
7
|
|
5
|
-
|
8
|
+
gem 'origen_doc_helpers'
|
6
9
|
|
7
|
-
|
8
|
-
gem 'byebug', '~>3.5'
|
9
|
-
else
|
10
|
-
gem 'debugger', '~>1.6'
|
11
|
-
end
|
10
|
+
gem 'byebug', '~>3.5'
|
@@ -1,9 +1,5 @@
|
|
1
1
|
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
2
|
# for example lib/tasks/app_tasks.rake, and they will automatically be available to Rake.
|
3
|
-
|
4
|
-
# Any task files found in lib/tasks/shared/*.rake will be available to other apps that
|
5
|
-
# include this app as a plugin
|
6
|
-
|
7
3
|
require "bundler/setup"
|
8
4
|
require "origen"
|
9
5
|
|
@@ -10,7 +10,10 @@ class <%= @namespace %>Application < Origen::Application
|
|
10
10
|
self.namespace = "<%= @namespace %>"
|
11
11
|
config.name = "<%= @name %>"
|
12
12
|
config.initials = "<%= @namespace %>"
|
13
|
-
config.rc_url
|
13
|
+
config.rc_url = ""
|
14
|
+
<% if @audience == :external -%>
|
15
|
+
config.release_externally = true
|
16
|
+
<% end -%>
|
14
17
|
|
15
18
|
# To enable deployment of your documentation to a web server (via the 'origen web'
|
16
19
|
# command) fill in these attributes.
|
@@ -62,16 +65,10 @@ class <%= @namespace %>Application < Origen::Application
|
|
62
65
|
|
63
66
|
# This will automatically deploy your documentation after every tag
|
64
67
|
def after_release_email(tag, note, type, selector, options)
|
65
|
-
|
66
|
-
|
67
|
-
command
|
68
|
-
|
69
|
-
command += " --archive #{Origen.app.version.prefixed}"
|
70
|
-
end
|
71
|
-
Dir.chdir Origen.root do
|
72
|
-
system command
|
73
|
-
end
|
74
|
-
end
|
68
|
+
command = "origen web compile --remote --api"
|
69
|
+
Dir.chdir Origen.root do
|
70
|
+
system command
|
71
|
+
end
|
75
72
|
end
|
76
73
|
|
77
74
|
# Ensure that all tests pass before allowing a release to continue
|
File without changes
|
@@ -1,11 +1,4 @@
|
|
1
|
-
# This file should be used to extend the origen
|
2
|
-
# specific to your application.
|
3
|
-
# The comments below should help to get started and you can also refer to
|
4
|
-
# lib/origen/commands.rb in your Origen core workspace for more examples and
|
5
|
-
# inspiration.
|
6
|
-
#
|
7
|
-
# Also see the official docs on adding commands:
|
8
|
-
# http://origen.freescale.net/origen/latest/guides/custom/commands/
|
1
|
+
# This file should be used to extend the origen with application specific commands
|
9
2
|
|
10
3
|
# Map any command aliases here, for example to allow 'origen ex' to refer to a
|
11
4
|
# command called execute you would add a reference as shown below:
|
@@ -24,7 +17,7 @@ case @command
|
|
24
17
|
# in here or you can require an external file if preferred.
|
25
18
|
when "my_command"
|
26
19
|
puts "Doing something..."
|
27
|
-
require "commands/my_command" # Would load file lib/commands/my_command.rb
|
20
|
+
#require "commands/my_command" # Would load file lib/commands/my_command.rb
|
28
21
|
# You must always exit upon successfully capturing a command to prevent
|
29
22
|
# control flowing back to Origen
|
30
23
|
exit 0
|
@@ -32,13 +25,11 @@ when "my_command"
|
|
32
25
|
## Example of how to make a command to run unit tests, this simply invokes RSpec on
|
33
26
|
## the spec directory
|
34
27
|
#when "specs"
|
35
|
-
# ARGV.unshift "spec"
|
36
28
|
# require "rspec"
|
37
|
-
#
|
38
|
-
# exit 0 # This will never be hit on a fail, RSpec will automatically exit 1
|
29
|
+
# exit RSpec::Core::Runner.run(['spec'])
|
39
30
|
|
40
31
|
## Example of how to make a command to run diff-based tests
|
41
|
-
#when "examples"
|
32
|
+
#when "examples", "test"
|
42
33
|
# Origen.load_application
|
43
34
|
# status = 0
|
44
35
|
#
|
@@ -60,6 +51,12 @@ when "my_command"
|
|
60
51
|
# status = 1
|
61
52
|
# end
|
62
53
|
# puts
|
54
|
+
# if @command == "test"
|
55
|
+
# Origen.app.unload_target!
|
56
|
+
# require "rspec"
|
57
|
+
# result = RSpec::Core::Runner.run(['spec'])
|
58
|
+
# status = status == 1 ? 1 : result
|
59
|
+
# end
|
63
60
|
# exit status # Exit with a 1 on the event of a failure per std unix result codes
|
64
61
|
|
65
62
|
# Always leave an else clause to allow control to fall back through to the
|
@@ -71,6 +68,7 @@ else
|
|
71
68
|
# @application_commands = <<-EOT
|
72
69
|
# specs Run the specs (tests), -c will enable coverage
|
73
70
|
# examples Run the examples (tests), -c will enable coverage
|
71
|
+
# test Run both specs and examples, -c will enable coverage
|
74
72
|
# EOT
|
75
73
|
|
76
74
|
end
|
@@ -1,8 +1,17 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
+
<% if (@audience != :external) && Origen.site_config.gem_server -%>
|
3
|
+
source '<%= Origen.site_config.gem_server %>'
|
4
|
+
<% end -%>
|
2
5
|
|
3
6
|
# Specify your gem's dependencies in <%= @name %>.gemspec
|
4
7
|
gemspec
|
5
8
|
|
9
|
+
<% if @audience == :external -%>
|
10
|
+
# This gem provides integration with https://coveralls.io/ to monitor
|
11
|
+
# your application's test coverage
|
12
|
+
gem 'coveralls', require: false
|
13
|
+
<% end -%>
|
14
|
+
|
6
15
|
# Only these gems should be added here
|
7
16
|
if RUBY_VERSION >= '2.0.0'
|
8
17
|
gem 'byebug', '~>3.5'
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/app_tasks.rake, and they will automatically be available to Rake.
|
3
|
+
#
|
4
|
+
# Any task files found in lib/tasks/shared/*.rake will be made available to 3rd party
|
5
|
+
# apps that use this plugin
|
6
|
+
require "bundler/setup"
|
7
|
+
require "origen"
|
8
|
+
|
9
|
+
Origen.app.load_tasks
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file is used to boot your plugin when it is running in standalone mode
|
2
|
+
# from its own workspace - i.e. when the plugin is being developed.
|
3
|
+
#
|
4
|
+
# It will not be loaded when the plugin is imported by a 3rd party app - in that
|
5
|
+
# case only lib/<%= @name %>.rb is loaded.
|
6
|
+
#
|
7
|
+
# Therefore this file can be used to load anything extra that you need to boot
|
8
|
+
# the development environment for this app. For example this is typically used
|
9
|
+
# to load some additional test classes to use your plugin APIs so that they can
|
10
|
+
# be tested and/or interacted with in the console.
|
11
|
+
require "<%= @name %>"
|
12
|
+
|
13
|
+
# Load a Top-level/DUT class that is defined within this plugin's lib directory
|
14
|
+
# and is required by some of our tests.
|
15
|
+
# Normally such a class should not be exposed to 3rd party users of the plugin,
|
16
|
+
# so we required it here rather than in lib/<%= @name %>.rb.
|
17
|
+
#require "<%= @name %>/test/top_level"
|
@@ -0,0 +1,14 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
<% if (@audience != :external) && Origen.site_config.gem_server -%>
|
3
|
+
source '<%= Origen.site_config.gem_server %>'
|
4
|
+
<% end -%>
|
5
|
+
|
6
|
+
gem 'origen', '>= <%= @latest_origen_version %>'
|
7
|
+
|
8
|
+
gem 'origen_testers'
|
9
|
+
|
10
|
+
gem 'origen_debuggers'
|
11
|
+
|
12
|
+
gem 'origen_doc_helpers'
|
13
|
+
|
14
|
+
gem 'byebug', '~>3.5'
|
@@ -0,0 +1 @@
|
|
1
|
+
$tester = OrigenTesters::J750.new
|
@@ -0,0 +1 @@
|
|
1
|
+
$tester = OrigenDebuggers::JLink.new
|
@@ -0,0 +1 @@
|
|
1
|
+
$tester = OrigenTesters::UltraFLEX.new
|
@@ -0,0 +1 @@
|
|
1
|
+
$tester = OrigenTesters::V93K.new
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module <%= @namespace %>
|
2
|
+
class <%= @options[:name] %>
|
3
|
+
include Origen::Model
|
4
|
+
|
5
|
+
def initialize(options = {})
|
6
|
+
instantiate_registers(options)
|
7
|
+
instantiate_sub_blocks(options)
|
8
|
+
end
|
9
|
+
|
10
|
+
def instantiate_registers(options = {})
|
11
|
+
end
|
12
|
+
|
13
|
+
def instantiate_sub_blocks(options = {})
|
14
|
+
<% @options[:sub_blocks].each do |name, attrs| -%>
|
15
|
+
<% if attrs[:instances] -%>
|
16
|
+
sub_blocks :<%= name.underscore %>, instances: <%= attrs[:instances] %>, class_name: '<%= name.camelize %>'
|
17
|
+
<% else -%>
|
18
|
+
sub_block :<%= name.underscore %>, class_name: '<%= name.camelize %>'
|
19
|
+
<% end -%>
|
20
|
+
<% end -%>
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module <%= @namespace %>
|
2
|
+
class <%= @options[:name] || "TopLevel" %>
|
3
|
+
include Origen::TopLevel
|
4
|
+
|
5
|
+
def initialize(options = {})
|
6
|
+
instantiate_pins(options)
|
7
|
+
instantiate_registers(options)
|
8
|
+
instantiate_sub_blocks(options)
|
9
|
+
end
|
10
|
+
|
11
|
+
def instantiate_pins(options = {})
|
12
|
+
add_pin :tclk
|
13
|
+
add_pin :tdi
|
14
|
+
add_pin :tdo
|
15
|
+
add_pin :tms
|
16
|
+
add_pin :resetb
|
17
|
+
add_pins :port_a, size: 8
|
18
|
+
end
|
19
|
+
|
20
|
+
def instantiate_registers(options = {})
|
21
|
+
end
|
22
|
+
|
23
|
+
def instantiate_sub_blocks(options = {})
|
24
|
+
<% @options[:sub_blocks].each do |name, attrs| -%>
|
25
|
+
<% if attrs[:instances] -%>
|
26
|
+
sub_blocks :<%= name.underscore %>, instances: <%= attrs[:instances] %>, class_name: '<%= name.camelize %>'
|
27
|
+
<% else -%>
|
28
|
+
sub_block :<%= name.underscore %>, class_name: '<%= name.camelize %>'
|
29
|
+
<% end -%>
|
30
|
+
<% end -%>
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
data/templates/app_generators/test_engineering/stand_alone_application/lib/top_level_controller.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
module <%= @namespace %>
|
2
|
+
class <%= @options[:name] || "TopLevel" %>Controller
|
3
|
+
include Origen::Controller
|
4
|
+
|
5
|
+
def startup(options)
|
6
|
+
pp "Enter test mode" do
|
7
|
+
$tester.set_timeset("func_25mhz", 40) # Where 40 is the period in ns
|
8
|
+
pin(:tclk).drive!(1)
|
9
|
+
pin(:resetb).drive!(1)
|
10
|
+
$tester.wait time_in_us: 100
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def shutdown(options)
|
15
|
+
pp "Reset the device" do
|
16
|
+
pin(:resetb).drive!(0)
|
17
|
+
pin(:tclk).drive!(0)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# The target file is run before *every* Origen operation and is used to instantiate
|
2
|
+
# the runtime environment - usually this means instantiating a top-level SoC or
|
3
|
+
# IP model.
|
4
|
+
#
|
5
|
+
# Naming is arbitrary but instances names should be prefixed with $ which indicates a
|
6
|
+
# global variable in Ruby, and this is required in order for the objects instantiated
|
7
|
+
# here to be visible throughout your application code.
|
8
|
+
$dut = <%= @namespace %>::<%= @options[:name] || "TopLevel" %>.new # Instantiate a DUT instance
|
data/templates/app_generators/test_engineering/{generic_test_block → test_block}/lib/interface.rb
RENAMED
File without changes
|
data/templates/app_generators/test_engineering/{generic_test_block → test_block}/program/prb1.rb
RENAMED
File without changes
|
data/templates/app_generators/test_engineering/{generic_test_block → test_block}/target/j750.rb
RENAMED
File without changes
|
data/templates/app_generators/test_engineering/{generic_test_block → test_block}/target/ultraflex.rb
RENAMED
File without changes
|
data/templates/app_generators/test_engineering/{generic_test_block → test_block}/target/v93k.rb
RENAMED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen_app_generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.4.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.4.1
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- stephen.f.mcginty@gmail.com
|
@@ -43,61 +43,48 @@ files:
|
|
43
43
|
- lib/origen_app_generators/generic_plugin.rb
|
44
44
|
- lib/origen_app_generators/new.rb
|
45
45
|
- lib/origen_app_generators/plugin.rb
|
46
|
-
- lib/origen_app_generators/
|
46
|
+
- lib/origen_app_generators/sub_block_parser.rb
|
47
|
+
- lib/origen_app_generators/test_engineering/stand_alone_application.rb
|
48
|
+
- lib/origen_app_generators/test_engineering/test_block.rb
|
47
49
|
- lib/tasks/app_generators.rake
|
48
50
|
- lib/tasks/boot.rb
|
49
51
|
- templates/app_generators/application/Gemfile
|
50
52
|
- templates/app_generators/application/Rakefile
|
51
53
|
- templates/app_generators/application/config/application.rb
|
54
|
+
- templates/app_generators/application/config/boot.rb
|
52
55
|
- templates/app_generators/application/config/commands.rb
|
53
|
-
- templates/app_generators/application/config/environment.rb
|
54
|
-
- templates/app_generators/application/config/users.rb
|
55
56
|
- templates/app_generators/application/config/version.rb
|
56
57
|
- templates/app_generators/application/doc/history
|
57
58
|
- templates/app_generators/application/lib/app.rake
|
58
59
|
- templates/app_generators/application/lib/module.rb
|
59
60
|
- templates/app_generators/application/lib/top_level.rb
|
61
|
+
- templates/app_generators/application/origen_core_session
|
60
62
|
- templates/app_generators/application/spec/spec_helper.rb
|
61
63
|
- templates/app_generators/application/target/debug.rb
|
62
64
|
- templates/app_generators/application/target/production.rb
|
63
|
-
- templates/app_generators/application/templates/web/archive.md.erb
|
64
|
-
- templates/app_generators/application/templates/web/contact.md.erb
|
65
|
-
- templates/app_generators/application/templates/web/docs/environment/definitions.md.erb
|
66
|
-
- templates/app_generators/application/templates/web/docs/environment/installation.md.erb
|
67
|
-
- templates/app_generators/application/templates/web/docs/environment/introduction.md.erb
|
68
|
-
- templates/app_generators/application/templates/web/index.md.erb
|
69
|
-
- templates/app_generators/application/templates/web/layouts/_basic.html.erb
|
70
|
-
- templates/app_generators/application/templates/web/layouts/_doc.html.erb
|
71
|
-
- templates/app_generators/application/templates/web/partials/_navbar.html.erb
|
72
|
-
- templates/app_generators/application/templates/web/references.md.erb
|
73
|
-
- templates/app_generators/application/templates/web/release_notes.md.erb
|
74
65
|
- templates/app_generators/new/generator.rb
|
75
66
|
- templates/app_generators/new/info.md.erb
|
76
67
|
- templates/app_generators/plugin/Gemfile
|
77
|
-
- templates/app_generators/plugin/
|
68
|
+
- templates/app_generators/plugin/Rakefile
|
69
|
+
- templates/app_generators/plugin/config/boot.rb
|
78
70
|
- templates/app_generators/plugin/gemspec.rb
|
79
|
-
- templates/app_generators/
|
80
|
-
- templates/app_generators/
|
81
|
-
- templates/app_generators/test_engineering/
|
82
|
-
- templates/app_generators/test_engineering/
|
83
|
-
- templates/app_generators/test_engineering/
|
84
|
-
- templates/app_generators/test_engineering/
|
85
|
-
- templates/app_generators/test_engineering/
|
86
|
-
- templates/
|
87
|
-
- templates/
|
88
|
-
- templates/
|
89
|
-
- templates/
|
90
|
-
- templates/
|
91
|
-
- templates/
|
92
|
-
- templates/
|
93
|
-
- templates/
|
94
|
-
- templates/
|
95
|
-
- templates/web/
|
96
|
-
- templates/web/origen_app_generators/application.md.erb
|
97
|
-
- templates/web/origen_app_generators/plugin.md.erb
|
98
|
-
- templates/web/origen_app_generators/test_engineering/generic_test_block.md.erb
|
99
|
-
- templates/web/partials/_navbar.html.erb
|
100
|
-
- templates/web/release_notes.md.erb
|
71
|
+
- templates/app_generators/test_engineering/stand_alone_application/Gemfile
|
72
|
+
- templates/app_generators/test_engineering/stand_alone_application/environment/j750.rb
|
73
|
+
- templates/app_generators/test_engineering/stand_alone_application/environment/jlink.rb
|
74
|
+
- templates/app_generators/test_engineering/stand_alone_application/environment/uflex.rb
|
75
|
+
- templates/app_generators/test_engineering/stand_alone_application/environment/v93k.rb
|
76
|
+
- templates/app_generators/test_engineering/stand_alone_application/lib/ip_block.rb
|
77
|
+
- templates/app_generators/test_engineering/stand_alone_application/lib/ip_block_controller.rb
|
78
|
+
- templates/app_generators/test_engineering/stand_alone_application/lib/top_level.rb
|
79
|
+
- templates/app_generators/test_engineering/stand_alone_application/lib/top_level_controller.rb
|
80
|
+
- templates/app_generators/test_engineering/stand_alone_application/pattern/example.rb
|
81
|
+
- templates/app_generators/test_engineering/stand_alone_application/target/top_level.rb
|
82
|
+
- templates/app_generators/test_engineering/test_block/lib/interface.rb
|
83
|
+
- templates/app_generators/test_engineering/test_block/program/prb1.rb
|
84
|
+
- templates/app_generators/test_engineering/test_block/target/j750.rb
|
85
|
+
- templates/app_generators/test_engineering/test_block/target/ultraflex.rb
|
86
|
+
- templates/app_generators/test_engineering/test_block/target/v93k.rb
|
87
|
+
- templates/web/origen_app_generators/test_engineering/generic_stand_alone_application.md.erb
|
101
88
|
homepage: http://origen-sdk.org/origen_app_generators
|
102
89
|
licenses:
|
103
90
|
- LGPL-3
|