origen 0.38.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/origen +1 -236
- data/config/application.rb +10 -1
- data/config/version.rb +1 -1
- data/lib/origen/{boot_api.rb → boot/api.rb} +2 -2
- data/lib/origen/boot/app.rb +324 -0
- data/lib/origen/boot.rb +287 -0
- data/lib/origen/commands/archive.rb +175 -0
- data/lib/origen/commands/extract.rb +43 -0
- data/lib/origen/commands/new.rb +33 -23
- data/lib/origen/commands.rb +4 -1
- data/lib/origen/commands_global.rb +3 -2
- data/lib/origen/operating_systems.rb +4 -0
- data/lib/origen/revision_control.rb +1 -1
- data/lib/origen/site_config.rb +4 -1
- data/lib/origen.rb +3 -2
- data/origen_app_generators/Gemfile +16 -0
- data/origen_app_generators/Gemfile.lock +147 -0
- data/origen_app_generators/LICENSE +21 -0
- data/origen_app_generators/README.md +368 -0
- data/origen_app_generators/Rakefile +10 -0
- data/origen_app_generators/bin/boot.rb +37 -0
- data/{bin → origen_app_generators/bin}/fix_my_workspace +0 -0
- data/origen_app_generators/config/application.rb +153 -0
- data/origen_app_generators/config/boot.rb +1 -0
- data/origen_app_generators/config/commands.rb +63 -0
- data/origen_app_generators/config/shared_commands.rb +172 -0
- data/origen_app_generators/config/version.rb +8 -0
- data/origen_app_generators/doc/history +213 -0
- data/origen_app_generators/lib/origen_app_generators/application.rb +62 -0
- data/origen_app_generators/lib/origen_app_generators/base.rb +231 -0
- data/origen_app_generators/lib/origen_app_generators/empty_application.rb +15 -0
- data/origen_app_generators/lib/origen_app_generators/empty_plugin.rb +15 -0
- data/origen_app_generators/lib/origen_app_generators/new.rb +162 -0
- data/origen_app_generators/lib/origen_app_generators/origen_infrastructure/app_generator_plugin.rb +109 -0
- data/origen_app_generators/lib/origen_app_generators/plugin.rb +58 -0
- data/origen_app_generators/lib/origen_app_generators/sub_block_parser.rb +81 -0
- data/origen_app_generators/lib/origen_app_generators/test_engineering/stand_alone_application.rb +236 -0
- data/origen_app_generators/lib/origen_app_generators/test_engineering/test_block.rb +162 -0
- data/origen_app_generators/lib/origen_app_generators.rb +123 -0
- data/origen_app_generators/lib/tasks/app_generators.rake +6 -0
- data/origen_app_generators/lib/tasks/new_app_tests.rake +8 -0
- data/origen_app_generators/origen_app_generators.gemspec +33 -0
- data/origen_app_generators/spec/spec_helper.rb +49 -0
- data/origen_app_generators/spec/sub_block_spec.rb +36 -0
- data/origen_app_generators/target/debug.rb +8 -0
- data/origen_app_generators/target/default.rb +8 -0
- data/origen_app_generators/target/production.rb +0 -0
- data/origen_app_generators/templates/app_generators/application/Gemfile +19 -0
- data/origen_app_generators/templates/app_generators/application/Rakefile +7 -0
- data/origen_app_generators/templates/app_generators/application/config/application.rb +125 -0
- data/origen_app_generators/templates/app_generators/application/config/boot.rb +4 -0
- data/origen_app_generators/templates/app_generators/application/config/commands.rb +79 -0
- data/origen_app_generators/templates/app_generators/application/config/maillist_dev.txt +4 -0
- data/origen_app_generators/templates/app_generators/application/config/maillist_prod.txt +3 -0
- data/origen_app_generators/templates/app_generators/application/config/version.rb +8 -0
- data/origen_app_generators/templates/app_generators/application/doc/history +0 -0
- data/origen_app_generators/templates/app_generators/application/dot_keep +0 -0
- data/origen_app_generators/templates/app_generators/application/lib/app.rake +6 -0
- data/origen_app_generators/templates/app_generators/application/lib/module.rb +22 -0
- data/origen_app_generators/templates/app_generators/application/lib/top_level.rb +12 -0
- data/origen_app_generators/templates/app_generators/application/origen_core_session +2 -0
- data/origen_app_generators/templates/app_generators/application/spec/spec_helper.rb +44 -0
- data/origen_app_generators/templates/app_generators/application/target/debug.rb +8 -0
- data/origen_app_generators/templates/app_generators/application/target/default.rb +1 -0
- data/origen_app_generators/templates/app_generators/application/target/production.rb +4 -0
- data/origen_app_generators/templates/app_generators/application/templates/web/index.md.erb +19 -0
- data/origen_app_generators/templates/app_generators/application/templates/web/layouts/_basic.html.erb +13 -0
- data/origen_app_generators/templates/app_generators/application/templates/web/partials/_navbar.html.erb +20 -0
- data/origen_app_generators/templates/app_generators/application/templates/web/release_notes.md.erb +5 -0
- data/origen_app_generators/templates/app_generators/new/generator.rb +102 -0
- data/origen_app_generators/templates/app_generators/new/info.md.erb +9 -0
- data/origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/config/load_generators.rb +6 -0
- data/origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/application.rb +54 -0
- data/origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/base.rb +55 -0
- data/origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/module.rb +28 -0
- data/origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/plugin.rb +64 -0
- data/origen_app_generators/templates/app_generators/plugin/Gemfile +26 -0
- data/origen_app_generators/templates/app_generators/plugin/Rakefile +10 -0
- data/origen_app_generators/templates/app_generators/plugin/config/boot.rb +24 -0
- data/origen_app_generators/templates/app_generators/plugin/gemspec.rb +42 -0
- data/origen_app_generators/templates/app_generators/plugin/lib/README +4 -0
- data/origen_app_generators/templates/app_generators/plugin/lib_dev/README +5 -0
- data/origen_app_generators/templates/app_generators/plugin/templates/web/index.md.erb +37 -0
- data/origen_app_generators/templates/app_generators/plugin/templates/web/partials/_navbar_external.html.erb +20 -0
- data/origen_app_generators/templates/app_generators/plugin/templates/web/partials/_navbar_internal.html.erb +20 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/Gemfile +23 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/environment/j750.rb +1 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/environment/jlink.rb +1 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/environment/uflex.rb +1 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/environment/v93k.rb +1 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/lib/ip_block.rb +23 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/lib/ip_block_controller.rb +5 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/lib/top_level.rb +33 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/lib/top_level_controller.rb +21 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/pattern/example.rb +4 -0
- data/origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/target/top_level.rb +4 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/environment/j750.rb +2 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/environment/ultraflex.rb +2 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/environment/v93k.rb +2 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/lib/controller.rb +12 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/lib/interface.rb +21 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/lib/model.rb +18 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut.rb +27 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb +26 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/pattern/example.rb +5 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/program/prb1.rb +11 -0
- data/origen_app_generators/templates/app_generators/test_engineering/test_block/target/default.rb +2 -0
- data/origen_site_config.yml +13 -2
- data/templates/git/gitignore.erb +0 -1
- metadata +99 -4
@@ -0,0 +1,26 @@
|
|
1
|
+
module <%= @namespace %>Dev
|
2
|
+
# This is a dummy DUT controller that should be used to test that your test module can
|
3
|
+
# integrate into a top-level app
|
4
|
+
class DUTController
|
5
|
+
def startup(options = {})
|
6
|
+
tester.set_timeset('func_25', 40)
|
7
|
+
ss 'Startup the SoC'
|
8
|
+
pin(:resetb).drive!(0)
|
9
|
+
100.cycles
|
10
|
+
pin(:resetb).dont_care
|
11
|
+
end
|
12
|
+
|
13
|
+
def shutdown(options = {})
|
14
|
+
ss 'Shutdown the SoC'
|
15
|
+
pin(:resetb).drive!(0)
|
16
|
+
end
|
17
|
+
|
18
|
+
def write_register(reg, options = {})
|
19
|
+
arm_debug.mem_ap.write_register(reg, options)
|
20
|
+
end
|
21
|
+
|
22
|
+
def read_register(reg, options = {})
|
23
|
+
arm_debug.mem_ap.read_register(reg, options)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/origen_site_config.yml
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
# BROADCAST MESSAGES
|
2
|
+
|
3
|
+
# All broadcast messages will output to the console for all users every time Origen is invoked
|
4
|
+
#broadcast_info:
|
5
|
+
# - These lines will be output to the console in regular text
|
6
|
+
#broadcast_warning:
|
7
|
+
# - These lines will be output to the console in amber text
|
8
|
+
#broadcast_danger:
|
9
|
+
# - These lines will be output to the console in red text
|
10
|
+
#broadcast_success:
|
11
|
+
# - These lines will be output to the console in green text
|
12
|
+
|
1
13
|
# GENERAL SETUP
|
2
14
|
|
3
15
|
# Application generator plugins can be used to extend the available new application templates
|
@@ -86,9 +98,8 @@ gems_use_tool_repo: true
|
|
86
98
|
# it fresh for each user.
|
87
99
|
# Note that this option will only be applied if gem_manage_bundler is set to true.
|
88
100
|
gem_use_from_system:
|
89
|
-
- [nokogiri, 1.6.4.1] # Only required for earlier versions of Origen
|
90
|
-
- [nokogiri, 1.6.7.2] # Only required for earlier versions of Origen
|
91
101
|
- [nokogiri, 1.7.2]
|
102
|
+
- [nokogiri, 1.8.5]
|
92
103
|
|
93
104
|
# Additionally any build switches/options that are required to build specific gems
|
94
105
|
# in your user environment can be defined here.
|
data/templates/git/gitignore.erb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.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: 2018-11
|
11
|
+
date: 2018-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -382,7 +382,6 @@ executables:
|
|
382
382
|
extensions: []
|
383
383
|
extra_rdoc_files: []
|
384
384
|
files:
|
385
|
-
- bin/fix_my_workspace
|
386
385
|
- bin/origen
|
387
386
|
- config/application.rb
|
388
387
|
- config/boot.rb
|
@@ -418,7 +417,9 @@ files:
|
|
418
417
|
- lib/origen/application/target.rb
|
419
418
|
- lib/origen/application/version_tracker.rb
|
420
419
|
- lib/origen/application/workspace_manager.rb
|
421
|
-
- lib/origen/
|
420
|
+
- lib/origen/boot.rb
|
421
|
+
- lib/origen/boot/api.rb
|
422
|
+
- lib/origen/boot/app.rb
|
422
423
|
- lib/origen/bugs.rb
|
423
424
|
- lib/origen/bugs/bug.rb
|
424
425
|
- lib/origen/callbacks.rb
|
@@ -444,8 +445,10 @@ files:
|
|
444
445
|
- lib/origen/code_generators/timever.rb
|
445
446
|
- lib/origen/commands.rb
|
446
447
|
- lib/origen/commands/add.rb
|
448
|
+
- lib/origen/commands/archive.rb
|
447
449
|
- lib/origen/commands/compile.rb
|
448
450
|
- lib/origen/commands/environment.rb
|
451
|
+
- lib/origen/commands/extract.rb
|
449
452
|
- lib/origen/commands/fetch.rb
|
450
453
|
- lib/origen/commands/generate.rb
|
451
454
|
- lib/origen/commands/helpers.rb
|
@@ -607,6 +610,98 @@ files:
|
|
607
610
|
- lib/origen/version_string.rb
|
608
611
|
- lib/tasks/gem.rake
|
609
612
|
- lib/tasks/private/build.rake
|
613
|
+
- origen_app_generators/Gemfile
|
614
|
+
- origen_app_generators/Gemfile.lock
|
615
|
+
- origen_app_generators/LICENSE
|
616
|
+
- origen_app_generators/README.md
|
617
|
+
- origen_app_generators/Rakefile
|
618
|
+
- origen_app_generators/bin/boot.rb
|
619
|
+
- origen_app_generators/bin/fix_my_workspace
|
620
|
+
- origen_app_generators/config/application.rb
|
621
|
+
- origen_app_generators/config/boot.rb
|
622
|
+
- origen_app_generators/config/commands.rb
|
623
|
+
- origen_app_generators/config/shared_commands.rb
|
624
|
+
- origen_app_generators/config/version.rb
|
625
|
+
- origen_app_generators/doc/history
|
626
|
+
- origen_app_generators/lib/origen_app_generators.rb
|
627
|
+
- origen_app_generators/lib/origen_app_generators/application.rb
|
628
|
+
- origen_app_generators/lib/origen_app_generators/base.rb
|
629
|
+
- origen_app_generators/lib/origen_app_generators/empty_application.rb
|
630
|
+
- origen_app_generators/lib/origen_app_generators/empty_plugin.rb
|
631
|
+
- origen_app_generators/lib/origen_app_generators/new.rb
|
632
|
+
- origen_app_generators/lib/origen_app_generators/origen_infrastructure/app_generator_plugin.rb
|
633
|
+
- origen_app_generators/lib/origen_app_generators/plugin.rb
|
634
|
+
- origen_app_generators/lib/origen_app_generators/sub_block_parser.rb
|
635
|
+
- origen_app_generators/lib/origen_app_generators/test_engineering/stand_alone_application.rb
|
636
|
+
- origen_app_generators/lib/origen_app_generators/test_engineering/test_block.rb
|
637
|
+
- origen_app_generators/lib/tasks/app_generators.rake
|
638
|
+
- origen_app_generators/lib/tasks/new_app_tests.rake
|
639
|
+
- origen_app_generators/origen_app_generators.gemspec
|
640
|
+
- origen_app_generators/spec/spec_helper.rb
|
641
|
+
- origen_app_generators/spec/sub_block_spec.rb
|
642
|
+
- origen_app_generators/target/debug.rb
|
643
|
+
- origen_app_generators/target/default.rb
|
644
|
+
- origen_app_generators/target/production.rb
|
645
|
+
- origen_app_generators/templates/app_generators/application/Gemfile
|
646
|
+
- origen_app_generators/templates/app_generators/application/Rakefile
|
647
|
+
- origen_app_generators/templates/app_generators/application/config/application.rb
|
648
|
+
- origen_app_generators/templates/app_generators/application/config/boot.rb
|
649
|
+
- origen_app_generators/templates/app_generators/application/config/commands.rb
|
650
|
+
- origen_app_generators/templates/app_generators/application/config/maillist_dev.txt
|
651
|
+
- origen_app_generators/templates/app_generators/application/config/maillist_prod.txt
|
652
|
+
- origen_app_generators/templates/app_generators/application/config/version.rb
|
653
|
+
- origen_app_generators/templates/app_generators/application/doc/history
|
654
|
+
- origen_app_generators/templates/app_generators/application/dot_keep
|
655
|
+
- origen_app_generators/templates/app_generators/application/lib/app.rake
|
656
|
+
- origen_app_generators/templates/app_generators/application/lib/module.rb
|
657
|
+
- origen_app_generators/templates/app_generators/application/lib/top_level.rb
|
658
|
+
- origen_app_generators/templates/app_generators/application/origen_core_session
|
659
|
+
- origen_app_generators/templates/app_generators/application/spec/spec_helper.rb
|
660
|
+
- origen_app_generators/templates/app_generators/application/target/debug.rb
|
661
|
+
- origen_app_generators/templates/app_generators/application/target/default.rb
|
662
|
+
- origen_app_generators/templates/app_generators/application/target/production.rb
|
663
|
+
- origen_app_generators/templates/app_generators/application/templates/web/index.md.erb
|
664
|
+
- origen_app_generators/templates/app_generators/application/templates/web/layouts/_basic.html.erb
|
665
|
+
- origen_app_generators/templates/app_generators/application/templates/web/partials/_navbar.html.erb
|
666
|
+
- origen_app_generators/templates/app_generators/application/templates/web/release_notes.md.erb
|
667
|
+
- origen_app_generators/templates/app_generators/new/generator.rb
|
668
|
+
- origen_app_generators/templates/app_generators/new/info.md.erb
|
669
|
+
- origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/config/load_generators.rb
|
670
|
+
- origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/application.rb
|
671
|
+
- origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/base.rb
|
672
|
+
- origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/module.rb
|
673
|
+
- origen_app_generators/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/plugin.rb
|
674
|
+
- origen_app_generators/templates/app_generators/plugin/Gemfile
|
675
|
+
- origen_app_generators/templates/app_generators/plugin/Rakefile
|
676
|
+
- origen_app_generators/templates/app_generators/plugin/config/boot.rb
|
677
|
+
- origen_app_generators/templates/app_generators/plugin/gemspec.rb
|
678
|
+
- origen_app_generators/templates/app_generators/plugin/lib/README
|
679
|
+
- origen_app_generators/templates/app_generators/plugin/lib_dev/README
|
680
|
+
- origen_app_generators/templates/app_generators/plugin/templates/web/index.md.erb
|
681
|
+
- origen_app_generators/templates/app_generators/plugin/templates/web/partials/_navbar_external.html.erb
|
682
|
+
- origen_app_generators/templates/app_generators/plugin/templates/web/partials/_navbar_internal.html.erb
|
683
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/Gemfile
|
684
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/environment/j750.rb
|
685
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/environment/jlink.rb
|
686
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/environment/uflex.rb
|
687
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/environment/v93k.rb
|
688
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/lib/ip_block.rb
|
689
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/lib/ip_block_controller.rb
|
690
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/lib/top_level.rb
|
691
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/lib/top_level_controller.rb
|
692
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/pattern/example.rb
|
693
|
+
- origen_app_generators/templates/app_generators/test_engineering/stand_alone_application/target/top_level.rb
|
694
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/environment/j750.rb
|
695
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/environment/ultraflex.rb
|
696
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/environment/v93k.rb
|
697
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/lib/controller.rb
|
698
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/lib/interface.rb
|
699
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/lib/model.rb
|
700
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut.rb
|
701
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
|
702
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/pattern/example.rb
|
703
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/program/prb1.rb
|
704
|
+
- origen_app_generators/templates/app_generators/test_engineering/test_block/target/default.rb
|
610
705
|
- origen_site_config.yml
|
611
706
|
- source_setup
|
612
707
|
- spec/format/origen_formatter.rb
|