Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/config/application.rb +1 -1
  3. data/config/boot.rb +0 -0
  4. data/config/rubocop/easy.yml +0 -0
  5. data/config/rubocop/easy_disabled.yml +0 -0
  6. data/config/rubocop/easy_enabled.yml +0 -0
  7. data/config/rubocop/strict.yml +0 -0
  8. data/config/rubocop/strict_disabled.yml +0 -0
  9. data/config/rubocop/strict_enabled.yml +0 -0
  10. data/config/version.rb +1 -1
  11. data/helpers/guides.rb +0 -0
  12. data/helpers/url.rb +1 -1
  13. data/lib/origen/acronyms.rb +0 -0
  14. data/lib/origen/application.rb +0 -0
  15. data/lib/origen/application/command_dispatcher.rb +0 -0
  16. data/lib/origen/application/configuration.rb +2 -1
  17. data/lib/origen/application/deployer.rb +0 -0
  18. data/lib/origen/application/environment.rb +0 -0
  19. data/lib/origen/application/lsf.rb +0 -0
  20. data/lib/origen/application/lsf_manager.rb +0 -0
  21. data/lib/origen/application/plugins.rb +11 -3
  22. data/lib/origen/application/plugins_manager.rb +0 -0
  23. data/lib/origen/application/release.rb +0 -0
  24. data/lib/origen/application/runner.rb +0 -0
  25. data/lib/origen/application/statistics.rb +0 -0
  26. data/lib/origen/application/target.rb +0 -0
  27. data/lib/origen/application/version_tracker.rb +0 -0
  28. data/lib/origen/application/workspace_manager.rb +0 -0
  29. data/lib/origen/boot.rb +0 -0
  30. data/lib/origen/boot/api.rb +0 -0
  31. data/lib/origen/boot/app.rb +0 -0
  32. data/lib/origen/bugs.rb +0 -0
  33. data/lib/origen/bugs/bug.rb +0 -0
  34. data/lib/origen/callbacks.rb +0 -0
  35. data/lib/origen/chip_package.rb +0 -0
  36. data/lib/origen/chips.rb +0 -0
  37. data/lib/origen/chips/chip.rb +0 -0
  38. data/lib/origen/chips/design_entry.rb +0 -0
  39. data/lib/origen/chips/doc_entry.rb +0 -0
  40. data/lib/origen/chips/note.rb +0 -0
  41. data/lib/origen/client.rb +0 -0
  42. data/lib/origen/clocks.rb +0 -0
  43. data/lib/origen/clocks/clock.rb +0 -0
  44. data/lib/origen/clocks/clocks_collection.rb +0 -0
  45. data/lib/origen/code_generators.rb +0 -0
  46. data/lib/origen/code_generators/actions.rb +0 -0
  47. data/lib/origen/code_generators/base.rb +0 -0
  48. data/lib/origen/code_generators/block.rb +0 -0
  49. data/lib/origen/code_generators/block_common.rb +0 -0
  50. data/lib/origen/code_generators/dut.rb +0 -0
  51. data/lib/origen/code_generators/feature.rb +0 -0
  52. data/lib/origen/code_generators/klass.rb +0 -0
  53. data/lib/origen/code_generators/model.rb +0 -0
  54. data/lib/origen/code_generators/module.rb +0 -0
  55. data/lib/origen/code_generators/semver.rb +0 -0
  56. data/lib/origen/code_generators/timever.rb +0 -0
  57. data/lib/origen/commands/archive.rb +0 -0
  58. data/lib/origen/commands/compile.rb +0 -0
  59. data/lib/origen/commands/environment.rb +0 -0
  60. data/lib/origen/commands/extract.rb +0 -0
  61. data/lib/origen/commands/fetch.rb +0 -0
  62. data/lib/origen/commands/generate.rb +0 -0
  63. data/lib/origen/commands/helpers.rb +0 -0
  64. data/lib/origen/commands/interactive.rb +0 -0
  65. data/lib/origen/commands/lint.rb +0 -0
  66. data/lib/origen/commands/lsf.rb +0 -0
  67. data/lib/origen/commands/mode.rb +0 -0
  68. data/lib/origen/commands/new.rb +1 -1
  69. data/lib/origen/commands/new_resource.rb +0 -0
  70. data/lib/origen/commands/plugin.rb +0 -0
  71. data/lib/origen/commands/program.rb +0 -0
  72. data/lib/origen/commands/rc.rb +0 -0
  73. data/lib/origen/commands/save.rb +0 -0
  74. data/lib/origen/commands/site.rb +0 -0
  75. data/lib/origen/commands/target.rb +0 -0
  76. data/lib/origen/commands/time.rb +0 -0
  77. data/lib/origen/commands/version.rb +0 -0
  78. data/lib/origen/commands/web.rb +0 -0
  79. data/lib/origen/commands_global.rb +0 -0
  80. data/lib/origen/componentable.rb +0 -0
  81. data/lib/origen/components.rb +0 -0
  82. data/lib/origen/controller.rb +0 -0
  83. data/lib/origen/core_ext.rb +0 -0
  84. data/lib/origen/core_ext/array.rb +0 -0
  85. data/lib/origen/core_ext/enumerable.rb +0 -0
  86. data/lib/origen/core_ext/hash.rb +0 -0
  87. data/lib/origen/core_ext/integer.rb +18 -0
  88. data/lib/origen/core_ext/module.rb +0 -0
  89. data/lib/origen/core_ext/object.rb +14 -0
  90. data/lib/origen/core_ext/option_parser/optparse.rb +0 -0
  91. data/lib/origen/core_ext/range.rb +0 -0
  92. data/lib/origen/core_ext/regexp.rb +0 -0
  93. data/lib/origen/core_ext/string.rb +0 -0
  94. data/lib/origen/database.rb +0 -0
  95. data/lib/origen/database/key_value_store.rb +0 -0
  96. data/lib/origen/database/key_value_stores.rb +0 -0
  97. data/lib/origen/dependencies.rb +0 -0
  98. data/lib/origen/encodings.rb +0 -0
  99. data/lib/origen/errata.rb +0 -0
  100. data/lib/origen/errata/hw_erratum.rb +0 -0
  101. data/lib/origen/errata/sw_erratum_workaround.rb +0 -0
  102. data/lib/origen/features.rb +0 -0
  103. data/lib/origen/features/feature.rb +0 -0
  104. data/lib/origen/fuses.rb +0 -0
  105. data/lib/origen/fuses/fuse_field.rb +0 -0
  106. data/lib/origen/generator.rb +0 -0
  107. data/lib/origen/generator/comparator.rb +0 -0
  108. data/lib/origen/generator/compiler.rb +0 -0
  109. data/lib/origen/generator/flow.rb +0 -0
  110. data/lib/origen/generator/job.rb +0 -0
  111. data/lib/origen/generator/pattern.rb +0 -0
  112. data/lib/origen/generator/pattern_finder.rb +0 -0
  113. data/lib/origen/generator/pattern_iterator.rb +0 -0
  114. data/lib/origen/generator/pattern_sequence.rb +0 -0
  115. data/lib/origen/generator/pattern_sequencer.rb +0 -0
  116. data/lib/origen/generator/pattern_thread.rb +0 -0
  117. data/lib/origen/generator/renderer.rb +0 -0
  118. data/lib/origen/generator/resources.rb +0 -0
  119. data/lib/origen/generator/stage.rb +0 -0
  120. data/lib/origen/global_app.rb +0 -0
  121. data/lib/origen/global_methods.rb +0 -0
  122. data/lib/origen/limits.rb +0 -0
  123. data/lib/origen/limits/limit.rb +0 -0
  124. data/lib/origen/limits/limit_set.rb +0 -0
  125. data/lib/origen/loader.rb +0 -0
  126. data/lib/origen/location.rb +0 -0
  127. data/lib/origen/location/base.rb +0 -0
  128. data/lib/origen/location/map.rb +0 -0
  129. data/lib/origen/logger_methods.rb +0 -0
  130. data/lib/origen/memory.rb +0 -0
  131. data/lib/origen/mode.rb +0 -0
  132. data/lib/origen/model.rb +0 -0
  133. data/lib/origen/model/exporter.rb +0 -0
  134. data/lib/origen/model_initializer.rb +0 -0
  135. data/lib/origen/models.rb +0 -0
  136. data/lib/origen/models/mux.rb +0 -0
  137. data/lib/origen/models/scan_register.rb +0 -0
  138. data/lib/origen/netlist.rb +0 -0
  139. data/lib/origen/netlist/connectable.rb +0 -0
  140. data/lib/origen/netlist/list.rb +0 -0
  141. data/lib/origen/operating_systems.rb +0 -0
  142. data/lib/origen/org_file.rb +0 -0
  143. data/lib/origen/org_file/interceptable.rb +0 -0
  144. data/lib/origen/org_file/interceptor.rb +0 -0
  145. data/lib/origen/parameters.rb +1 -0
  146. data/lib/origen/parameters/live.rb +0 -0
  147. data/lib/origen/parameters/missing.rb +0 -0
  148. data/lib/origen/parameters/set.rb +0 -0
  149. data/lib/origen/pins.rb +64 -12
  150. data/lib/origen/pins/function_proxy.rb +0 -0
  151. data/lib/origen/pins/ground_pin.rb +0 -0
  152. data/lib/origen/pins/pin.rb +79 -0
  153. data/lib/origen/pins/pin_clock.rb +0 -0
  154. data/lib/origen/pins/pin_common.rb +0 -0
  155. data/lib/origen/pins/power_pin.rb +0 -0
  156. data/lib/origen/pins/timing.rb +0 -0
  157. data/lib/origen/pins/timing/timeset.rb +0 -0
  158. data/lib/origen/pins/timing/wave.rb +0 -0
  159. data/lib/origen/ports.rb +0 -0
  160. data/lib/origen/ports/bit_collection.rb +0 -0
  161. data/lib/origen/ports/port.rb +0 -0
  162. data/lib/origen/ports/port_collection.rb +0 -0
  163. data/lib/origen/ports/section.rb +0 -0
  164. data/lib/origen/power_domains.rb +0 -0
  165. data/lib/origen/power_domains/power_domain.rb +0 -0
  166. data/lib/origen/power_domains/power_domains_collection.rb +0 -0
  167. data/lib/origen/registers/bit.rb +0 -0
  168. data/lib/origen/registers/container.rb +0 -0
  169. data/lib/origen/registers/domain.rb +0 -0
  170. data/lib/origen/registers/msb0_delegator.rb +0 -0
  171. data/lib/origen/registers/reg.rb +3 -0
  172. data/lib/origen/registers/reg_collection.rb +0 -0
  173. data/lib/origen/remote_manager.rb +0 -0
  174. data/lib/origen/revision_control.rb +0 -0
  175. data/lib/origen/revision_control/base.rb +0 -0
  176. data/lib/origen/revision_control/design_sync.rb +0 -0
  177. data/lib/origen/revision_control/perforce.rb +0 -0
  178. data/lib/origen/revision_control/subversion.rb +0 -0
  179. data/lib/origen/ruby_version_check.rb +0 -0
  180. data/lib/origen/site_config.rb +0 -0
  181. data/lib/origen/site_config/config.rb +0 -0
  182. data/lib/origen/sub_blocks.rb +7 -0
  183. data/lib/origen/tests.rb +0 -0
  184. data/lib/origen/tests/test.rb +0 -0
  185. data/lib/origen/top_level.rb +0 -0
  186. data/lib/origen/undefined.rb +0 -0
  187. data/lib/origen/users/ldap.rb +0 -0
  188. data/lib/origen/users/user.rb +9 -4
  189. data/lib/origen/utility.rb +0 -0
  190. data/lib/origen/utility/block_args.rb +0 -0
  191. data/lib/origen/utility/collector.rb +2 -2
  192. data/lib/origen/utility/csv_data.rb +2 -1
  193. data/lib/origen/utility/diff.rb +0 -0
  194. data/lib/origen/utility/file_diff.rb +0 -0
  195. data/lib/origen/utility/input_capture.rb +0 -0
  196. data/lib/origen/utility/mailer.rb +0 -0
  197. data/lib/origen/utility/time_and_date.rb +0 -0
  198. data/lib/origen/value.rb +0 -0
  199. data/lib/origen/value/bin_str_val.rb +0 -0
  200. data/lib/origen/value/hex_str_val.rb +0 -0
  201. data/lib/tasks/gem.rake +0 -0
  202. data/origen_app_generators/origen_app_generators.gemspec +1 -1
  203. data/origen_site_config.yml +0 -0
  204. data/source_setup +0 -0
  205. data/spec/format/origen_formatter.rb +0 -0
  206. data/templates/code_generators/attributes.rb +0 -0
  207. data/templates/code_generators/class.rb +0 -0
  208. data/templates/code_generators/controller.rb +0 -0
  209. data/templates/code_generators/model.rb +0 -0
  210. data/templates/code_generators/module.rb +0 -0
  211. data/templates/code_generators/parameters.rb +0 -0
  212. data/templates/code_generators/pins.rb +0 -0
  213. data/templates/code_generators/registers.rb +0 -0
  214. data/templates/code_generators/sub_blocks.rb +0 -0
  215. data/templates/code_generators/timesets.rb +0 -0
  216. data/templates/code_generators/version.rb +0 -0
  217. data/templates/code_generators/version_time.rb +0 -0
  218. data/templates/git/gitignore.erb +0 -0
  219. data/templates/nanoc/Rules +0 -0
  220. data/templates/nanoc/config.yaml +0 -0
  221. data/templates/nanoc/layouts/bootstrap.html.erb +20 -20
  222. data/templates/nanoc/lib/bootstrap_filter.rb +0 -0
  223. data/templates/nanoc/lib/codeblocks_filter.rb +0 -0
  224. data/templates/nanoc/lib/default.rb +0 -0
  225. data/templates/nanoc/lib/gzip_filter.rb +0 -0
  226. data/templates/nanoc/lib/haml_code_filter.rb +0 -0
  227. data/templates/nanoc/lib/helpers.rb +0 -0
  228. data/templates/nanoc/lib/search_filter.rb +0 -0
  229. data/templates/nanoc_dynamic/content/search.js.erb +0 -0
  230. data/templates/shared/web/_logo.html +3 -3
  231. data/templates/time/filter.rb.erb +0 -0
  232. data/templates/time/rules.rb.erb +0 -0
  233. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA256:
3
- metadata.gz: ec695c3ff956efc5ff538a909d2c0b75574bcabf1fba5ed1610e8fceebd2741c
4
- data.tar.gz: 7709bbfc376e05f27bde833c5c6de9d331dd6034fcdbca2f969e3ddf5fc3a87c
3
+ metadata.gz: bfd569a25fe01194aa87a0e7d35c2aca0ed5663b45622a085dce5c397ccb4cf7
4
+ data.tar.gz: b820cb13bd6565d581c9507a26800ae363f75674443f628aac5868a93fc055dc
5
5
SHA512:
6
- metadata.gz: d57041e5e3cf8addaed7e2800e6b5d5a88cf06aee11f2f1ed2a89244d87e4fca1b273c05a22ff7f063b08d3641d5c4e42978494f8583f77fcfa5154a4059fc37
7
- data.tar.gz: 62cc3a8efb54ca3090919fe6a970b42ae75ba208bc12d5ff5886b3e74329140b5860842aa4b4bea5895a8c035374d6be6c2e62e0d21708d7fc5268dfcaa34789
6
+ metadata.gz: 3269cc10dd0868bcde87e641defb89917e4d63ebca8ebd23afcc95224c37dde85551c2e21a3a8acd191539c2619b9b6a541678f86c2d51f3fd5702ad86965294
7
+ data.tar.gz: d427a339ff99a83e2c6dafb31229ebdd35a8f44a62dbe54fe6793109f66b8135e70e33427e4b9d6ad385be7dd4c4578634001250aea3cfb5356ca5cdf3e62e7f
data/config/application.rb CHANGED
@@ -40,7 +40,7 @@ class OrigenCoreApplication < Origen::Application
40
40
41
41
config.web_directory = "https://github.com/Origen-SDK/Origen-SDK.github.io.git/origen"
42
42
#config.web_directory = "git@github.com:Origen-SDK/Origen-SDK.github.io.git/origen"
43
- config.web_domain = "http://origen-sdk.org/origen"
43
+ config.web_domain = "https://origen-sdk.org/origen"
44
44
45
45
config.pattern_prefix = "nvm"
46
46
data/config/boot.rb CHANGED
File without changes
data/config/rubocop/easy.yml CHANGED
File without changes
data/config/rubocop/easy_disabled.yml CHANGED
File without changes
data/config/rubocop/easy_enabled.yml CHANGED
File without changes
data/config/rubocop/strict.yml CHANGED
File without changes
data/config/rubocop/strict_disabled.yml CHANGED
File without changes
data/config/rubocop/strict_enabled.yml CHANGED
File without changes
data/config/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
module Origen
2
2
MAJOR = 0
3
- MINOR = 52
3
+ MINOR = 53
4
4
BUGFIX = 1
5
5
DEV = nil
6
6
VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
data/helpers/guides.rb CHANGED
File without changes
data/helpers/url.rb CHANGED
@@ -68,7 +68,7 @@ module Origen
68
68
end
69
69
70
70
# Returns any path attached to the domain, for example will return "/jtag"
71
- # for "http://origen-sdk.org/jtag"
71
+ # for "https://origen-sdk.org/jtag"
72
72
def root_path # :nodoc:
73
73
if domain =~ /\/\/[^\/]*(\/.*)/ # http://rubular.com/r/UY06Z6DXUS
74
74
$1
data/lib/origen/acronyms.rb CHANGED
File without changes
data/lib/origen/application.rb CHANGED
File without changes
data/lib/origen/application/command_dispatcher.rb CHANGED
File without changes
data/lib/origen/application/configuration.rb CHANGED
@@ -19,7 +19,8 @@ module Origen
19
19
:web_domain,
20
20
:strict_errors, :unmanaged_dirs, :unmanaged_files, :remotes,
21
21
:external_app_dirs, :lint_test, :shared, :yammer_group, :rc_url, :rc_workflow,
22
- :user_aliases, :release_externally, :gem_name, :disqus_shortname
22
+ :user_aliases, :release_externally, :gem_name, :disqus_shortname,
23
+ :default_plugin
23
24
24
25
# Mark any attributes that are likely to depend on properties of the target here,
25
26
# this will raise an error if they are ever accessed before the target has been
data/lib/origen/application/deployer.rb CHANGED
File without changes
data/lib/origen/application/environment.rb CHANGED
File without changes
data/lib/origen/application/lsf.rb CHANGED
File without changes
data/lib/origen/application/lsf_manager.rb CHANGED
File without changes
data/lib/origen/application/plugins.rb CHANGED
@@ -38,16 +38,24 @@ module Origen
38
38
def current
39
39
return nil if @temporary == :none
40
40
return nil if @disabled
41
- name = @temporary || @current ||= Origen.app.session.origen_core[:default_plugin]
41
+ name = @temporary || @current ||= begin
42
+ if Origen.app.session.origen_core[:default_plugin]
43
+ Origen.app.session.origen_core[:default_plugin]
44
+ elsif Origen.app.config.default_plugin && !Origen.app.session.origen_core[:default_plugin_cleared_by_user]
45
+ Origen.app.config.default_plugin
46
+ end
47
+ end
42
48
find { |p| p.name.to_sym == name } if name
43
49
end
44
50
45
51
def current=(name)
46
52
name = name.to_sym if name
47
- Origen.app.session.origen_core[:default_plugin] = name
53
+ if name == :none || name.nil?
48
- if name == :none
49
54
@current = nil
55
+ Origen.app.session.origen_core[:default_plugin] = nil
56
+ Origen.app.session.origen_core[:default_plugin_cleared_by_user] = true
50
57
else
58
+ Origen.app.session.origen_core[:default_plugin] = name
51
59
@current = name
52
60
end
53
61
end
data/lib/origen/application/plugins_manager.rb CHANGED
File without changes
data/lib/origen/application/release.rb CHANGED
File without changes
data/lib/origen/application/runner.rb CHANGED
File without changes
data/lib/origen/application/statistics.rb CHANGED
File without changes
data/lib/origen/application/target.rb CHANGED
File without changes
data/lib/origen/application/version_tracker.rb CHANGED
File without changes
data/lib/origen/application/workspace_manager.rb CHANGED
File without changes
data/lib/origen/boot.rb CHANGED
File without changes
data/lib/origen/boot/api.rb CHANGED
File without changes
data/lib/origen/boot/app.rb CHANGED
File without changes
data/lib/origen/bugs.rb CHANGED
File without changes
data/lib/origen/bugs/bug.rb CHANGED
File without changes
data/lib/origen/callbacks.rb CHANGED
File without changes
data/lib/origen/chip_package.rb CHANGED
File without changes
data/lib/origen/chips.rb CHANGED
File without changes
data/lib/origen/chips/chip.rb CHANGED
File without changes
data/lib/origen/chips/design_entry.rb CHANGED
File without changes
data/lib/origen/chips/doc_entry.rb CHANGED
File without changes
data/lib/origen/chips/note.rb CHANGED
File without changes
data/lib/origen/client.rb CHANGED
File without changes
data/lib/origen/clocks.rb CHANGED
File without changes
data/lib/origen/clocks/clock.rb CHANGED
File without changes
data/lib/origen/clocks/clocks_collection.rb CHANGED
File without changes
data/lib/origen/code_generators.rb CHANGED
File without changes
data/lib/origen/code_generators/actions.rb CHANGED
File without changes
data/lib/origen/code_generators/base.rb CHANGED
File without changes
data/lib/origen/code_generators/block.rb CHANGED
File without changes
data/lib/origen/code_generators/block_common.rb CHANGED
File without changes
data/lib/origen/code_generators/dut.rb CHANGED
File without changes
data/lib/origen/code_generators/feature.rb CHANGED
File without changes
data/lib/origen/code_generators/klass.rb CHANGED
File without changes
data/lib/origen/code_generators/model.rb CHANGED
File without changes
data/lib/origen/code_generators/module.rb CHANGED
File without changes
data/lib/origen/code_generators/semver.rb CHANGED
File without changes
data/lib/origen/code_generators/timever.rb CHANGED
File without changes
data/lib/origen/commands/archive.rb CHANGED
File without changes
data/lib/origen/commands/compile.rb CHANGED
File without changes
data/lib/origen/commands/environment.rb CHANGED
File without changes
data/lib/origen/commands/extract.rb CHANGED
File without changes
data/lib/origen/commands/fetch.rb CHANGED
File without changes
data/lib/origen/commands/generate.rb CHANGED
File without changes
data/lib/origen/commands/helpers.rb CHANGED
File without changes
data/lib/origen/commands/interactive.rb CHANGED
File without changes
data/lib/origen/commands/lint.rb CHANGED
File without changes
data/lib/origen/commands/lsf.rb CHANGED
File without changes
data/lib/origen/commands/mode.rb CHANGED
File without changes
data/lib/origen/commands/new.rb CHANGED
@@ -21,7 +21,7 @@ generators regardless of the base Origen version that this command is being laun
21
21
22
22
See the website for more details:
23
23
24
- http://origen-sdk.org/origen_app_generators
24
+ https://origen-sdk.org/origen_app_generators
25
25
26
26
Usage: origen new [APP_NAME] [options]
27
27
END
data/lib/origen/commands/new_resource.rb CHANGED
File without changes
data/lib/origen/commands/plugin.rb CHANGED
File without changes
data/lib/origen/commands/program.rb CHANGED
File without changes
data/lib/origen/commands/rc.rb CHANGED
File without changes
data/lib/origen/commands/save.rb CHANGED
File without changes
data/lib/origen/commands/site.rb CHANGED
File without changes
data/lib/origen/commands/target.rb CHANGED
File without changes
data/lib/origen/commands/time.rb CHANGED
File without changes
data/lib/origen/commands/version.rb CHANGED
File without changes
data/lib/origen/commands/web.rb CHANGED
File without changes
data/lib/origen/commands_global.rb CHANGED
File without changes
data/lib/origen/componentable.rb CHANGED
File without changes
data/lib/origen/components.rb CHANGED
File without changes
data/lib/origen/controller.rb CHANGED
File without changes
data/lib/origen/core_ext.rb CHANGED
File without changes
data/lib/origen/core_ext/array.rb CHANGED
File without changes
data/lib/origen/core_ext/enumerable.rb CHANGED
File without changes
data/lib/origen/core_ext/hash.rb CHANGED
File without changes
data/lib/origen/core_ext/integer.rb CHANGED
@@ -22,6 +22,11 @@ module Origen
22
22
end
23
23
24
24
class Integer
25
+ class << self
26
+ attr_accessor :width
27
+ end
28
+ @width = 32
29
+
25
30
if RUBY_VERSION >= '2.4.0'
26
31
prepend Origen::IntegerExtension
27
32
end
@@ -72,6 +77,19 @@ class Integer
72
77
alias_method :to_xls_col, :to_spreadsheet_column
73
78
alias_method :to_xlsx_col, :to_spreadsheet_column
74
79
alias_method :to_spreadsheet_col, :to_spreadsheet_column
80
+
81
+ def twos_complement(width = nil)
82
+ _width = width || Integer.width
83
+ if self > 2**(_width - 1) - 1
84
+ fail(RangeError, "Integer #{self} cannot fit into #{_width} bits with 2s complement encoding")
85
+ elsif self < -1 * (2**(_width - 1))
86
+ fail(RangeError, "Integer #{self} cannot fit into #{_width} bits with 2s complement encoding")
87
+ end
88
+
89
+ self < 0 ? ((-1 * self) ^ (2**_width - 1)) + 1 : self
90
+ end
91
+ alias_method :twos_comp, :twos_complement
92
+ alias_method :twos_compliment, :twos_complement
75
93
end
76
94
77
95
if RUBY_VERSION <= '2.4.0'
data/lib/origen/core_ext/module.rb CHANGED
File without changes
data/lib/origen/core_ext/object.rb CHANGED
@@ -10,4 +10,18 @@ class Object
10
10
end
11
11
nil
12
12
end
13
+
14
+ # Indicates whether the object is or can be used as an Origen subblock, where
15
+ # being an Origen subblock is defined as inheriting from either {Origen::Model} or
16
+ # {Origen::Controller}.
17
+ # @return [True/False]
18
+ # @example Subblock NVM (from the Origen guides)
19
+ # dut.nvm.origen_subblock? #=> true
20
+ # @example Non-subblocks
21
+ # 'hi'.origen_subblock? #=> false
22
+ # @see https://origen-sdk.org/origen/guides/models/defining/#Adding_Sub_Blocks
23
+ def origen_subblock?
24
+ self.is_a?(Origen::Model) || self.is_a?(Origen::Controller) || self.is_a?(Origen::SubBlocks::Placeholder)
25
+ end
26
+ alias_method :origen_sub_block?, :origen_subblock?
13
27
end
data/lib/origen/core_ext/option_parser/optparse.rb CHANGED
File without changes
data/lib/origen/core_ext/range.rb CHANGED
File without changes
data/lib/origen/core_ext/regexp.rb CHANGED
File without changes
data/lib/origen/core_ext/string.rb CHANGED
File without changes
data/lib/origen/database.rb CHANGED
File without changes
data/lib/origen/database/key_value_store.rb CHANGED
File without changes
data/lib/origen/database/key_value_stores.rb CHANGED
File without changes
data/lib/origen/dependencies.rb CHANGED
File without changes
data/lib/origen/encodings.rb CHANGED
File without changes
data/lib/origen/errata.rb CHANGED
File without changes
data/lib/origen/errata/hw_erratum.rb CHANGED
File without changes
data/lib/origen/errata/sw_erratum_workaround.rb CHANGED
File without changes
data/lib/origen/features.rb CHANGED
File without changes
data/lib/origen/features/feature.rb CHANGED
File without changes
data/lib/origen/fuses.rb CHANGED
File without changes
data/lib/origen/fuses/fuse_field.rb CHANGED
File without changes
data/lib/origen/generator.rb CHANGED
File without changes
data/lib/origen/generator/comparator.rb CHANGED
File without changes
data/lib/origen/generator/compiler.rb CHANGED
File without changes
data/lib/origen/generator/flow.rb CHANGED
File without changes
data/lib/origen/generator/job.rb CHANGED
File without changes
data/lib/origen/generator/pattern.rb CHANGED
File without changes
data/lib/origen/generator/pattern_finder.rb CHANGED
File without changes
data/lib/origen/generator/pattern_iterator.rb CHANGED
File without changes
data/lib/origen/generator/pattern_sequence.rb CHANGED
File without changes
data/lib/origen/generator/pattern_sequencer.rb CHANGED
File without changes
data/lib/origen/generator/pattern_thread.rb CHANGED
File without changes
data/lib/origen/generator/renderer.rb CHANGED
File without changes
data/lib/origen/generator/resources.rb CHANGED
File without changes
data/lib/origen/generator/stage.rb CHANGED
File without changes
data/lib/origen/global_app.rb CHANGED
File without changes
data/lib/origen/global_methods.rb CHANGED
File without changes
data/lib/origen/limits.rb CHANGED
File without changes
data/lib/origen/limits/limit.rb CHANGED
File without changes
data/lib/origen/limits/limit_set.rb CHANGED
File without changes
data/lib/origen/loader.rb CHANGED
File without changes
data/lib/origen/location.rb CHANGED
File without changes
data/lib/origen/location/base.rb CHANGED
File without changes
data/lib/origen/location/map.rb CHANGED
File without changes
data/lib/origen/logger_methods.rb CHANGED
File without changes
data/lib/origen/memory.rb CHANGED
File without changes
data/lib/origen/mode.rb CHANGED
File without changes
data/lib/origen/model.rb CHANGED
File without changes
data/lib/origen/model/exporter.rb CHANGED
File without changes
data/lib/origen/model_initializer.rb CHANGED
File without changes
data/lib/origen/models.rb CHANGED
File without changes
data/lib/origen/models/mux.rb CHANGED
File without changes
data/lib/origen/models/scan_register.rb CHANGED
File without changes
data/lib/origen/netlist.rb CHANGED
File without changes
data/lib/origen/netlist/connectable.rb CHANGED
File without changes
data/lib/origen/netlist/list.rb CHANGED
File without changes
data/lib/origen/operating_systems.rb CHANGED
File without changes
data/lib/origen/org_file.rb CHANGED
File without changes
data/lib/origen/org_file/interceptable.rb CHANGED
File without changes
data/lib/origen/org_file/interceptor.rb CHANGED
File without changes
data/lib/origen/parameters.rb CHANGED
@@ -131,6 +131,7 @@ module Origen
131
131
redefine_children.each { |model, set_name| Origen::Parameters.redefine(model, set_name) }
132
132
end
133
133
end
134
+ _parameter_sets[name]
134
135
end
135
136
alias_method :define_parameters, :define_params
136
137
data/lib/origen/parameters/live.rb CHANGED
File without changes
data/lib/origen/parameters/missing.rb CHANGED
File without changes
data/lib/origen/parameters/set.rb CHANGED
File without changes
data/lib/origen/pins.rb CHANGED
@@ -693,27 +693,78 @@ If you meant to define the virtual_pin_group then use the add_virtual_pin_group
693
693
end
694
694
alias_method :virtual_pin_group, :virtual_pin_groups
695
695
696
+ def all_pin_ids(type: nil, **options)
697
+ case type
698
+ when :power_pin, :power_pins
699
+ dut.pins(power_pin: true).map { |n, p| [n, *p.aliases.keys] }.flatten.map { |n| [n, dut.power_pin(n)] }.to_h
700
+ when :ground_pin, :ground_pins
701
+ dut.pins(ground_pin: true).map { |n, p| [n, *p.aliases.keys] }.flatten.map { |n| [n, dut.ground_pin(n)] }.to_h
702
+ when :virtual_pin, :virtual_pins
703
+ dut.pins(virtual_pin: true).map { |n, p| [n, *p.aliases.keys] }.flatten.map { |n| [n, dut.virtual_pin(n)] }.to_h
704
+ when :other_pin, :other_pins
705
+ dut.pins(other_pin: true).map { |n, p| [n, *p.aliases.keys] }.flatten.map { |n| [n, dut.other_pin(n)] }.to_h
706
+ else
707
+ # Maintain the legacy lookup of power_pin: true, ground_pin: true, etc.
708
+ if options[:power_pin]
709
+ all_pin_ids(type: :power_pin)
710
+ elsif options[:ground_pin]
711
+ all_pin_ids(type: :ground_pin)
712
+ elsif options[:virtual_pin]
713
+ all_pin_ids(type: :virtual_pin)
714
+ elsif options[:other_pin]
715
+ all_pin_ids(type: :other_pin)
716
+ else
717
+ dut.pins.map { |n, p| [n, *p.aliases.keys] }.flatten.map { |n| [n, dut.pin(n)] }.to_h
718
+ end
719
+ end
720
+ end
721
+
696
722
# Permits access via object.pin(x), returns a hash of all pins if no id
697
723
# is specified.
698
724
# ==== Examples
699
725
# $top.pin(:done)
700
726
# $soc.pin(:port_a1)
701
727
# pin(:fail) # Access directly from within the module
702
- def pins(id = nil, options = {}, &_block)
703
- id, options = nil, id if id.is_a?(Hash)
704
- if id
705
- pin = Origen.pin_bank.find(id, options)
706
- unless pin
707
- puts <<-END
728
+ def pins(*ids, &_block)
729
+ options = (ids.pop if ids.last.is_a?(Hash)) || {}
730
+
731
+ # Methods may give an ID of nil, which would previously gloss over
732
+ # the pin lookup. To maintain backwards compability, reject any nils in the input,
733
+ # then proceed as normal.
734
+ ids.reject!(&:nil?)
735
+ if !ids.empty? || block_given?
736
+ pins = []
737
+
738
+ if block_given?
739
+ pins += all_pin_ids(options).select { |n, p| yield(n, p) }.values.uniq
740
+ end
741
+
742
+ ids.each do |id|
743
+ if id.is_a?(Regexp)
744
+ pins += all_pin_ids(options).select { |n, p| n.to_s =~ id }.values.uniq
745
+ else
746
+ pin = Origen.pin_bank.find(id, options)
747
+ unless pin
748
+ puts <<-END
708
749
You have tried to reference pin :#{id} within #{self.class} but it does not exist, this could be
709
750
because the pin has not been defined yet or it is an alias that is not available in the current context.
710
751
711
752
If you meant to define the pin then use the add_pin method instead.
712
753
713
- END
714
- fail 'Pin not found'
754
+ END
755
+ fail 'Pin not found'
756
+ end
757
+ pins << pin
758
+ end
759
+ end
760
+
761
+ # Maintain return value of a single pin object if only given a single identifier
762
+ if ids.size == 1 && !ids.first.is_a?(Regexp)
763
+ pins.first
764
+ else
765
+ options[:keep_duplicates] ? pins : pins.uniq!
766
+ PinCollection.new(self, *pins, options)
715
767
end
716
- pin
717
768
else
718
769
if options[:power_pin]
719
770
Origen.pin_bank.power_pins
@@ -741,12 +792,13 @@ If you meant to define the pin then use the add_pin method instead.
741
792
alias_method :power_pin, :power_pins
742
793
743
794
# Equivalent to the pins method but considers ground pins rather than regular pins
744
- def ground_pins(id = nil, options = {}, &block)
745
- id, options = nil, id if id.is_a?(Hash)
795
+ def ground_pins(*ids, &block)
796
+ options = (ids.pop if ids.last.is_a?(Hash)) || {}
797
+
746
798
options = {
747
799
ground_pin: true
748
800
}.merge(options)
749
- pins(id, options, &block)
801
+ pins(*ids, options, &block)
750
802
end
751
803
alias_method :ground_pin, :ground_pins
752
804
data/lib/origen/pins/function_proxy.rb CHANGED
File without changes
data/lib/origen/pins/ground_pin.rb CHANGED
File without changes
data/lib/origen/pins/pin.rb CHANGED
@@ -1072,6 +1072,85 @@ module Origen
1072
1072
end
1073
1073
end
1074
1074
1075
+ def index?(context: nil)
1076
+ !!index(context: context).nil?
1077
+ end
1078
+
1079
+ def index(context: nil)
1080
+ if context.is_a?(Symbol)
1081
+ # Context pin group provided
1082
+ group = groups[context].instance_variable_get(:@store)
1083
+ if group
1084
+ group.index(self)
1085
+ end
1086
+ elsif context.is_a?(Array)
1087
+ # Anonymous pin group given
1088
+ context.map { |p| p.is_a?(Symbol) ? owner.pin(p) : p }.index(self)
1089
+ else
1090
+ # Try an index based off of the pin name.
1091
+ # Only works if the pin ends in a decimal. Otherwise, returns nil.
1092
+ i = name.to_s.index(/\d+#x2F;)
1093
+ if i
1094
+ name.to_s[i..-1].to_i
1095
+ end
1096
+ end
1097
+ end
1098
+
1099
+ def mask(context: nil)
1100
+ index = context.is_a?(Integer) ? context : self.index(context: context)
1101
+
1102
+ if index.nil? && context.nil?
1103
+ # If the index is nil and no context was given, no implicit index could be resolved
1104
+ fail("Could not discern pin :#{name}'s implicit index!")
1105
+ elsif index.nil?
1106
+ # If the index is nil and some context was given, then the pin is not in the given context
1107
+ fail("Pin :#{name} is not a member of the given context!")
1108
+ end
1109
+
1110
+ 2**index
1111
+ end
1112
+ alias_method :set_mask, :mask
1113
+ alias_method :smask, :mask
1114
+
1115
+ def clear_mask(context: nil, size: nil)
1116
+ index = context.is_a?(Integer) ? context : self.index(context: context)
1117
+
1118
+ if index.nil? && context.nil?
1119
+ # If the index is nil and no context was given, no implicit index could be resolved
1120
+ fail("Could not discern pin :#{name}'s implicit index!")
1121
+ elsif index.nil?
1122
+ # If the index is nil and some context was given, then the pin is not in the given context
1123
+ fail("Pin :#{name} is not a member of the given context!")
1124
+ end
1125
+
1126
+ if size && context && !context.is_a?(Integer)
1127
+ # A context was given, that was not just an Integer, and size was given
1128
+ # Raise an exception as these two conflict.
1129
+ fail('Both a sized context (e.g. pin group) and a :size option cannot be used simultaneously!')
1130
+ elsif size
1131
+ # A size option was given. Use that.
1132
+ ((2**size) - 1) ^ (1 << index)
1133
+ elsif context.is_a?(Symbol)
1134
+ ((2**groups[context].instance_variable_get(:@store).size) - 1) ^ (1 << index)
1135
+ elsif context.respond_to?(:size) && !context.is_a?(Integer)
1136
+ # PinCollection or Array
1137
+ ((2**context.size) - 1) ^ (1 << index)
1138
+ else
1139
+ # No size option was given. Use the implicit index instead.
1140
+ (2**index) - 1
1141
+ end
1142
+ end
1143
+ alias_method :clr_mask, :clear_mask
1144
+ alias_method :cmask, :clear_mask
1145
+
1146
+ def named?(n)
1147
+ if n.is_a?(Regexp)
1148
+ [name.to_s, *aliases.keys].any? { |na| na =~ n }
1149
+ else
1150
+ [name.to_s, *aliases.keys.map(&:to_s)].include?(n.to_s)
1151
+ end
1152
+ end
1153
+
1075
1154
def method_missing(m, *args, &block)
1076
1155
if meta.include? m
1077
1156
meta[m]
data/lib/origen/pins/pin_clock.rb CHANGED
File without changes
data/lib/origen/pins/pin_common.rb CHANGED
File without changes
data/lib/origen/pins/power_pin.rb CHANGED
File without changes
data/lib/origen/pins/timing.rb CHANGED
File without changes
data/lib/origen/pins/timing/timeset.rb CHANGED
File without changes
data/lib/origen/pins/timing/wave.rb CHANGED
File without changes
data/lib/origen/ports.rb CHANGED
File without changes
data/lib/origen/ports/bit_collection.rb CHANGED
File without changes
data/lib/origen/ports/port.rb CHANGED
File without changes
data/lib/origen/ports/port_collection.rb CHANGED
File without changes
data/lib/origen/ports/section.rb CHANGED
File without changes
data/lib/origen/power_domains.rb CHANGED
File without changes
data/lib/origen/power_domains/power_domain.rb CHANGED
File without changes
data/lib/origen/power_domains/power_domains_collection.rb CHANGED
File without changes
data/lib/origen/registers/bit.rb CHANGED
File without changes
data/lib/origen/registers/container.rb CHANGED
File without changes
data/lib/origen/registers/domain.rb CHANGED
File without changes
data/lib/origen/registers/msb0_delegator.rb CHANGED
File without changes
data/lib/origen/registers/reg.rb CHANGED
@@ -476,6 +476,9 @@ module Origen
476
476
# @api private
477
477
def parse_descriptions
478
478
desc = []
479
+ unless File.exist?(define_file)
480
+ return desc
481
+ end
479
482
File.readlines(define_file).each do |line|
480
483
if line =~ /^\s*#(.*)/
481
484
desc << Regexp.last_match[1].strip
data/lib/origen/registers/reg_collection.rb CHANGED
File without changes
data/lib/origen/remote_manager.rb CHANGED
File without changes
data/lib/origen/revision_control.rb CHANGED
File without changes
data/lib/origen/revision_control/base.rb CHANGED
File without changes
data/lib/origen/revision_control/design_sync.rb CHANGED
File without changes
data/lib/origen/revision_control/perforce.rb CHANGED
File without changes
data/lib/origen/revision_control/subversion.rb CHANGED
File without changes
data/lib/origen/ruby_version_check.rb CHANGED
File without changes
data/lib/origen/site_config.rb CHANGED
File without changes
data/lib/origen/site_config/config.rb CHANGED
File without changes
data/lib/origen/sub_blocks.rb CHANGED
@@ -274,6 +274,13 @@ module Origen
274
274
def sub_block(name = nil, options = {})
275
275
name, options = nil, name if name.is_a?(Hash)
276
276
return sub_blocks unless name
277
+
278
+ if name.is_a?(Class)
279
+ return sub_blocks.select { |n, s| s.is_a?(name) }
280
+ elsif name.origen_sub_block?
281
+ return sub_block(name.class)
282
+ end
283
+
277
284
if i = options.delete(:instances)
278
285
# permit creating multiple instances of a particular sub_block class
279
286
# can pass array for base_address, which will be processed above
data/lib/origen/tests.rb CHANGED
File without changes
data/lib/origen/tests/test.rb CHANGED
File without changes
data/lib/origen/top_level.rb CHANGED
File without changes
data/lib/origen/undefined.rb CHANGED
File without changes
data/lib/origen/users/ldap.rb CHANGED
File without changes
data/lib/origen/users/user.rb CHANGED
@@ -3,6 +3,9 @@ module Origen
3
3
class User
4
4
require 'openssl'
5
5
require 'digest/sha1'
6
+ # Required for STDIN.noecho to work
7
+ # https://stackoverflow.com/questions/9324697/why-cannot-use-instance-method-noecho-of-class-io
8
+ require 'io/console'
6
9
7
10
attr_reader :role
8
11
attr_writer :name, :email
@@ -45,7 +48,9 @@ module Origen
45
48
end
46
49
47
50
def id(options = {})
48
- @id.to_s.downcase
51
+ # Way to force Origen to use the new user ID in case of WSL where the core ID might not match the WSL login name
52
+ # User needs to setup the environment variable in their .bashrc or .tcshrc file
53
+ ENV['ORIGEN_USER_ID'] || @id.to_s.downcase
49
54
end
50
55
alias_method :core_id, :id
51
56
alias_method :username, :id
@@ -67,7 +72,7 @@ module Origen
67
72
end
68
73
69
74
def name
70
- @name ||= ENV['ORIGEN_NAME'] || name_from_rc || @id
75
+ @name ||= ENV['ORIGEN_NAME'] || ENV['ORIGEN_USER_NAME'] || name_from_rc || @id
71
76
end
72
77
73
78
def name_from_rc
@@ -76,7 +81,7 @@ module Origen
76
81
77
82
def email(options = {})
78
83
if current?
79
- @email ||= ENV['ORIGEN_EMAIL'] || email_from_rc || begin
84
+ @email ||= ENV['ORIGEN_EMAIL'] || ENV['ORIGEN_USER_EMAIL'] || email_from_rc || begin
80
85
if Origen.site_config.email_domain
81
86
"#{id}@#{Origen.site_config.email_domain}"
82
87
end
@@ -165,7 +170,7 @@ module Origen
165
170
166
171
# Returns a private global Origen session store (stored in the user's home directory and only readable
167
172
# by them).
168
- # See - http://origen-sdk.org/origen/guides/misc/session/#Global_Sessions
173
+ # See - https://origen-sdk.org/origen/guides/misc/session/#Global_Sessions
169
174
def auth_session
170
175
@session ||= begin
171
176
@session = Origen.session.user
data/lib/origen/utility.rb CHANGED
File without changes
data/lib/origen/utility/block_args.rb CHANGED
File without changes
data/lib/origen/utility/collector.rb CHANGED
@@ -16,7 +16,7 @@ module Origen
16
16
attr_reader :_methods_
17
17
18
18
# Creates a new Collector object and creates a Hash out of the methods names and values in the given block.
19
- # @see http://origen-sdk.org/origen/guides/misc/utilities/#Collector
19
+ # @see https://origen-sdk.org/origen/guides/misc/utilities/#Collector
20
20
# @example Create a collector to transform a block into a Hash
21
21
# Origen::Utility::Collector.new { |c| c.my_param 'My Parameter'}.to_h #=> {my_param: 'My Parameter'}
22
22
# @yield [self] Passes the collector to the given block.
@@ -57,7 +57,7 @@ module Origen
57
57
alias_method :to_h, :to_hash
58
58
59
59
# Using the method name, creates a key in the Collector with argument given to the method.
60
- # @see http://origen-sdk.org/origen/guides/misc/utilities/#Collector
60
+ # @see https://origen-sdk.org/origen/guides/misc/utilities/#Collector
61
61
# @note If no args are given, the method key is set to <code>nil</code>.
62
62
# @raise [ArgumentError] Raised when a method attempts to use both arguments and a block in the same line.
63
63
# E.g.: <code>collector.my_param 'my_param' { 'MyParam' }</code>
data/lib/origen/utility/csv_data.rb CHANGED
@@ -77,7 +77,8 @@ module Origen
77
77
field_values = []
78
78
result = []
79
79
line_no = 1
80
- File.readlines("#{Origen.root}/#{@file}").each do |line|
80
+ file = Origen.file_handler.clean_path_to(@file)
81
+ File.readlines("#{file}").each do |line|
81
82
# Clean up line
82
83
line.strip!
83
84
if line =~ /^#{options[:comment_char]}/
data/lib/origen/utility/diff.rb CHANGED
File without changes
data/lib/origen/utility/file_diff.rb CHANGED
File without changes
data/lib/origen/utility/input_capture.rb CHANGED
File without changes
data/lib/origen/utility/mailer.rb CHANGED
File without changes
data/lib/origen/utility/time_and_date.rb CHANGED
File without changes
data/lib/origen/value.rb CHANGED
File without changes
data/lib/origen/value/bin_str_val.rb CHANGED
File without changes
data/lib/origen/value/hex_str_val.rb CHANGED
File without changes
data/lib/tasks/gem.rake CHANGED
File without changes
data/origen_app_generators/origen_app_generators.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
s.required_rubygems_version = Gem::Requirement.new(">= 1.8.11".freeze) if s.respond_to? :required_rubygems_version=
9
9
s.require_paths = ["lib".freeze]
10
10
s.authors = ["Stephen McGinty".freeze]
11
- s.date = "2019-06-10"
11
+ s.date = "2019-09-02"
12
12
s.email = ["stephen.f.mcginty@gmail.com".freeze]
13
13
s.files = ["bin/boot.rb".freeze, "config/application.rb".freeze, "config/boot.rb".freeze, "config/commands.rb".freeze, "config/shared_commands.rb".freeze, "config/version.rb".freeze, "lib/origen_app_generators.rb".freeze, "lib/origen_app_generators/application.rb".freeze, "lib/origen_app_generators/base.rb".freeze, "lib/origen_app_generators/empty_application.rb".freeze, "lib/origen_app_generators/empty_plugin.rb".freeze, "lib/origen_app_generators/new.rb".freeze, "lib/origen_app_generators/new_app_tests.rb".freeze, "lib/origen_app_generators/origen_infrastructure/app_generator_plugin.rb".freeze, "lib/origen_app_generators/plugin.rb".freeze, "lib/origen_app_generators/test_engineering/common.rb".freeze, "lib/origen_app_generators/test_engineering/stand_alone_application.rb".freeze, "lib/origen_app_generators/test_engineering/test_block.rb".freeze, "templates/app_generators".freeze, "templates/app_generators/application".freeze, "templates/app_generators/application/.gitignore".freeze, "templates/app_generators/application/.irbrc".freeze, "templates/app_generators/application/.rspec".freeze, "templates/app_generators/application/.travis.yml".freeze, "templates/app_generators/application/Gemfile".freeze, "templates/app_generators/application/Rakefile".freeze, "templates/app_generators/application/app".freeze, "templates/app_generators/application/app/blocks".freeze, "templates/app_generators/application/app/blocks/top_level.rb".freeze, "templates/app_generators/application/app/lib".freeze, "templates/app_generators/application/app/lib/module.rb".freeze, "templates/app_generators/application/app/templates".freeze, "templates/app_generators/application/app/templates/web".freeze, "templates/app_generators/application/app/templates/web/index.md.erb".freeze, "templates/app_generators/application/app/templates/web/layouts".freeze, "templates/app_generators/application/app/templates/web/layouts/_basic.html.erb".freeze, "templates/app_generators/application/app/templates/web/partials".freeze, "templates/app_generators/application/app/templates/web/partials/_navbar.html.erb".freeze, "templates/app_generators/application/app/templates/web/release_notes.md.erb".freeze, "templates/app_generators/application/config".freeze, "templates/app_generators/application/config/application.rb".freeze, "templates/app_generators/application/config/boot.rb".freeze, "templates/app_generators/application/config/commands.rb".freeze, "templates/app_generators/application/config/maillist_dev.txt".freeze, "templates/app_generators/application/config/maillist_prod.txt".freeze, "templates/app_generators/application/config/version.rb".freeze, "templates/app_generators/application/doc".freeze, "templates/app_generators/application/doc/history".freeze, "templates/app_generators/application/dot_keep".freeze, "templates/app_generators/application/origen_core_session".freeze, "templates/app_generators/application/spec".freeze, "templates/app_generators/application/spec/spec_helper.rb".freeze, "templates/app_generators/application/target".freeze, "templates/app_generators/application/target/debug.rb".freeze, "templates/app_generators/application/target/default.rb".freeze, "templates/app_generators/application/target/production.rb".freeze, "templates/app_generators/new".freeze, "templates/app_generators/new/generator.rb".freeze, "templates/app_generators/new/info.md.erb".freeze, "templates/app_generators/origen_infrastructure".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib/application.rb".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib/base.rb".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib/module.rb".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/app/lib/plugin.rb".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/config".freeze, "templates/app_generators/origen_infrastructure/app_generator_plugin/config/load_generators.rb".freeze, "templates/app_generators/plugin".freeze, "templates/app_generators/plugin/Gemfile".freeze, "templates/app_generators/plugin/Rakefile".freeze, "templates/app_generators/plugin/app".freeze, "templates/app_generators/plugin/app/templates".freeze, "templates/app_generators/plugin/app/templates/web".freeze, "templates/app_generators/plugin/app/templates/web/index.md.erb".freeze, "templates/app_generators/plugin/app/templates/web/partials".freeze, "templates/app_generators/plugin/app/templates/web/partials/_navbar_external.html.erb".freeze, "templates/app_generators/plugin/app/templates/web/partials/_navbar_internal.html.erb".freeze, "templates/app_generators/plugin/config".freeze, "templates/app_generators/plugin/config/boot.rb".freeze, "templates/app_generators/plugin/gemspec.rb".freeze, "templates/app_generators/test_engineering".freeze, "templates/app_generators/test_engineering/environment".freeze, "templates/app_generators/test_engineering/environment/j750.rb".freeze, "templates/app_generators/test_engineering/environment/uflex.rb".freeze, "templates/app_generators/test_engineering/environment/v93k.rb".freeze, "templates/app_generators/test_engineering/stand_alone_application".freeze, "templates/app_generators/test_engineering/stand_alone_application/.keep".freeze, "templates/app_generators/test_engineering/test_block".freeze, "templates/app_generators/test_engineering/test_block/.keep".freeze]
14
14
s.homepage = "http://origen-sdk.org/origen_app_generators".freeze
data/origen_site_config.yml CHANGED
File without changes
data/source_setup CHANGED
File without changes
data/spec/format/origen_formatter.rb CHANGED
File without changes
data/templates/code_generators/attributes.rb CHANGED
File without changes
data/templates/code_generators/class.rb CHANGED
File without changes
data/templates/code_generators/controller.rb CHANGED
File without changes
data/templates/code_generators/model.rb CHANGED
File without changes
data/templates/code_generators/module.rb CHANGED
File without changes
data/templates/code_generators/parameters.rb CHANGED
File without changes
data/templates/code_generators/pins.rb CHANGED
File without changes
data/templates/code_generators/registers.rb CHANGED
File without changes
data/templates/code_generators/sub_blocks.rb CHANGED
File without changes
data/templates/code_generators/timesets.rb CHANGED
File without changes
data/templates/code_generators/version.rb CHANGED
File without changes
data/templates/code_generators/version_time.rb CHANGED
File without changes
data/templates/git/gitignore.erb CHANGED
File without changes
data/templates/nanoc/Rules CHANGED
File without changes
data/templates/nanoc/config.yaml CHANGED
File without changes
data/templates/nanoc/layouts/bootstrap.html.erb CHANGED
@@ -29,7 +29,7 @@
29
29
<meta property="og:url" content="<%= @item[:url] %>">
30
30
<meta name="twitter:url" content="<%= @item[:url] %>">
31
31
<% end %>
32
- <% image = @item[:image] || "http://origen-sdk.org/favicon-260x260.png" %>
32
+ <% image = @item[:image] || "https://origen-sdk.org/favicon-260x260.png" %>
33
33
<meta property="og:image" content="<%= image %>">
34
34
<meta name="twitter:image" content="<%= image %>">
35
35
<meta itemprop="image" content="<%= image %>">
@@ -48,7 +48,7 @@
48
48
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
49
49
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
50
50
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
51
- <link rel="stylesheet" href="http://origen-sdk.org/css/bootstrap_custom.css"></script>
51
+ <link rel="stylesheet" href="https://origen-sdk.org/css/bootstrap_custom.css"></script>
52
52
<!-- Load this up top to allow pages to execute JQuery snippets -->
53
53
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
54
54
@@ -71,20 +71,20 @@
71
71
<% end %>
72
72
73
73
<!-- Fav and touch icons -->
74
- <link rel="apple-touch-icon" sizes="57x57" href="http://origen-sdk.org/apple-touch-icon-57x57.png">
75
- <link rel="apple-touch-icon" sizes="60x60" href="http://origen-sdk.org/apple-touch-icon-60x60.png">
76
- <link rel="apple-touch-icon" sizes="72x72" href="http://origen-sdk.org/apple-touch-icon-72x72.png">
77
- <link rel="apple-touch-icon" sizes="76x76" href="http://origen-sdk.org/apple-touch-icon-76x76.png">
78
- <link rel="apple-touch-icon" sizes="114x114" href="http://origen-sdk.org/apple-touch-icon-114x114.png">
79
- <link rel="apple-touch-icon" sizes="120x120" href="http://origen-sdk.org/apple-touch-icon-120x120.png">
80
- <link rel="apple-touch-icon" sizes="144x144" href="http://origen-sdk.org/apple-touch-icon-144x144.png">
81
- <link rel="apple-touch-icon" sizes="152x152" href="http://origen-sdk.org/apple-touch-icon-152x152.png">
82
- <link rel="apple-touch-icon" sizes="180x180" href="http://origen-sdk.org/apple-touch-icon-180x180.png">
83
- <link rel="icon" type="image/png" href="http://origen-sdk.org/favicon-32x32.png" sizes="32x32">
84
- <link rel="icon" type="image/png" href="http://origen-sdk.org/android-chrome-192x192.png" sizes="192x192">
85
- <link rel="icon" type="image/png" href="http://origen-sdk.org/favicon-96x96.png" sizes="96x96">
86
- <link rel="icon" type="image/png" href="http://origen-sdk.org/favicon-16x16.png" sizes="16x16">
87
- <link rel="manifest" href="http://origen-sdk.org/manifest.json">
74
+ <link rel="apple-touch-icon" sizes="57x57" href="https://origen-sdk.org/apple-touch-icon-57x57.png">
75
+ <link rel="apple-touch-icon" sizes="60x60" href="https://origen-sdk.org/apple-touch-icon-60x60.png">
76
+ <link rel="apple-touch-icon" sizes="72x72" href="https://origen-sdk.org/apple-touch-icon-72x72.png">
77
+ <link rel="apple-touch-icon" sizes="76x76" href="https://origen-sdk.org/apple-touch-icon-76x76.png">
78
+ <link rel="apple-touch-icon" sizes="114x114" href="https://origen-sdk.org/apple-touch-icon-114x114.png">
79
+ <link rel="apple-touch-icon" sizes="120x120" href="https://origen-sdk.org/apple-touch-icon-120x120.png">
80
+ <link rel="apple-touch-icon" sizes="144x144" href="https://origen-sdk.org/apple-touch-icon-144x144.png">
81
+ <link rel="apple-touch-icon" sizes="152x152" href="https://origen-sdk.org/apple-touch-icon-152x152.png">
82
+ <link rel="apple-touch-icon" sizes="180x180" href="https://origen-sdk.org/apple-touch-icon-180x180.png">
83
+ <link rel="icon" type="image/png" href="https://origen-sdk.org/favicon-32x32.png" sizes="32x32">
84
+ <link rel="icon" type="image/png" href="https://origen-sdk.org/android-chrome-192x192.png" sizes="192x192">
85
+ <link rel="icon" type="image/png" href="https://origen-sdk.org/favicon-96x96.png" sizes="96x96">
86
+ <link rel="icon" type="image/png" href="https://origen-sdk.org/favicon-16x16.png" sizes="16x16">
87
+ <link rel="manifest" href="https://origen-sdk.org/manifest.json">
88
88
<meta name="msapplication-TileColor" content="#da532c">
89
89
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
90
90
<meta name="theme-color" content="#ffffff">
@@ -102,7 +102,7 @@
102
102
<footer class="footer">
103
103
<div class="container">
104
104
<p class="pull-left text-muted">
105
- Generated with the <a href="http://origen-sdk.org">Origen Semiconductor Developer's Kit</a>
105
+ Generated with the <a href="https://origen-sdk.org">Origen Semiconductor Developer's Kit</a>
106
106
</p>
107
107
<p class="pull-right text-muted">Origen is released under the terms of the <a href="https://choosealicense.com/licenses/mit/">MIT license</a></p>
108
108
</div>
@@ -111,9 +111,9 @@
111
111
================================================== -->
112
112
<!-- Placed at the end of the document so the pages load faster -->
113
113
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
114
- <script src="http://origen-sdk.org/js/lunr.min.js"></script>
115
- <script src="http://origen-sdk.org/js/highlight.js"></script>
116
- <script src="http://origen-sdk.org/js/custom.js"></script>
114
+ <script src="https://origen-sdk.org/js/lunr.min.js"></script>
115
+ <script src="https://origen-sdk.org/js/highlight.js"></script>
116
+ <script src="https://origen-sdk.org/js/custom.js"></script>
117
117
<% if @item[:gitter_chat] %>
118
118
<script>
119
119
((window.gitter = {}).chat = {}).options = {
data/templates/nanoc/lib/bootstrap_filter.rb CHANGED
File without changes
data/templates/nanoc/lib/codeblocks_filter.rb CHANGED
File without changes
data/templates/nanoc/lib/default.rb CHANGED
File without changes
data/templates/nanoc/lib/gzip_filter.rb CHANGED
File without changes
data/templates/nanoc/lib/haml_code_filter.rb CHANGED
File without changes
data/templates/nanoc/lib/helpers.rb CHANGED
File without changes
data/templates/nanoc/lib/search_filter.rb CHANGED
File without changes
data/templates/nanoc_dynamic/content/search.js.erb CHANGED
File without changes
data/templates/shared/web/_logo.html CHANGED
@@ -1,4 +1,4 @@
1
- <a href="http://origen-sdk.org" class=" pull-right">
2
- <img src="http://origen-sdk.org/img/origen-device.png" style="height:30px; margin-top: 10px;">
3
- <img src="http://origen-sdk.org/img/origen-text.png" style="height:15px; margin-top: 10px; margin-left: 5px;">
1
+ <a href="https://origen-sdk.org" class=" pull-right">
2
+ <img src="https://origen-sdk.org/img/origen-device.png" style="height:30px; margin-top: 10px;">
3
+ <img src="https://origen-sdk.org/img/origen-text.png" style="height:15px; margin-top: 10px; margin-left: 5px;">
4
4
</a>
data/templates/time/filter.rb.erb CHANGED
File without changes
data/templates/time/rules.rb.erb CHANGED
File without changes
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.52.1
4
+ version: 0.53.1
5
5
platform: ruby
6
6
authors:
7
7
- Stephen McGinty
8
8
autorequire:
9
9
bindir: bin
10
10
cert_chain: []
11
- date: 2019-06-10 00:00:00.000000000 Z
11
+ date: 2019-09-11 00:00:00.000000000 Z
12
12
dependencies:
13
13
- !ruby/object:Gem::Dependency
14
14
name: activesupport
@@ -716,7 +716,7 @@ files:
716
716
- vendor/lib/models/origen/export1/block1.rb
717
717
- vendor/lib/models/origen/export1/block1/x.rb
718
718
- vendor/lib/models/origen/non_origen_meta_data.md
719
- homepage: http://origen-sdk.org
719
+ homepage: https://origen-sdk.org
720
720
licenses:
721
721
- MIT
722
722
metadata: {}