origen 0.60.7 → 0.60.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/config/rubocop/easy.yml +4875 -308
  3. data/config/rubocop/strict.yml +4875 -308
  4. data/config/version.rb +1 -1
  5. data/lib/origen/application/configuration.rb +6 -3
  6. data/lib/origen/application/deployer.rb +4 -4
  7. data/lib/origen/application/environment.rb +4 -2
  8. data/lib/origen/application/lsf.rb +23 -4
  9. data/lib/origen/application/lsf_manager.rb +48 -52
  10. data/lib/origen/application/plugins.rb +7 -7
  11. data/lib/origen/application/release.rb +5 -3
  12. data/lib/origen/application/runner.rb +5 -6
  13. data/lib/origen/application/statistics.rb +1 -0
  14. data/lib/origen/application/target.rb +9 -6
  15. data/lib/origen/application/version_tracker.rb +4 -5
  16. data/lib/origen/application/workspace_manager.rb +5 -2
  17. data/lib/origen/application.rb +9 -9
  18. data/lib/origen/boot/api.rb +3 -0
  19. data/lib/origen/boot/app.rb +28 -30
  20. data/lib/origen/boot.rb +1 -0
  21. data/lib/origen/bugs.rb +2 -2
  22. data/lib/origen/chip_mode.rb +7 -4
  23. data/lib/origen/chip_package.rb +50 -53
  24. data/lib/origen/chips/chip.rb +8 -4
  25. data/lib/origen/chips.rb +16 -12
  26. data/lib/origen/client.rb +1 -0
  27. data/lib/origen/clocks/clock.rb +8 -7
  28. data/lib/origen/clocks/clocks_collection.rb +2 -1
  29. data/lib/origen/code_generators/actions.rb +1 -1
  30. data/lib/origen/code_generators/base.rb +1 -1
  31. data/lib/origen/code_generators.rb +3 -0
  32. data/lib/origen/commands/archive.rb +1 -1
  33. data/lib/origen/commands/compile.rb +2 -2
  34. data/lib/origen/commands/fetch.rb +1 -1
  35. data/lib/origen/commands/generate.rb +3 -3
  36. data/lib/origen/commands/interactive.rb +6 -7
  37. data/lib/origen/commands/lint.rb +1 -1
  38. data/lib/origen/commands/lsf.rb +2 -2
  39. data/lib/origen/commands/new.rb +1 -1
  40. data/lib/origen/commands/plugin.rb +2 -2
  41. data/lib/origen/commands/program.rb +3 -3
  42. data/lib/origen/commands/rc.rb +4 -4
  43. data/lib/origen/commands/save.rb +1 -1
  44. data/lib/origen/commands/time.rb +4 -6
  45. data/lib/origen/commands/web.rb +5 -2
  46. data/lib/origen/commands.rb +1 -1
  47. data/lib/origen/componentable.rb +1 -0
  48. data/lib/origen/controller.rb +11 -13
  49. data/lib/origen/core_ext/array.rb +2 -1
  50. data/lib/origen/core_ext/enumerable.rb +4 -2
  51. data/lib/origen/core_ext/hash.rb +5 -6
  52. data/lib/origen/core_ext/integer.rb +2 -4
  53. data/lib/origen/core_ext/object.rb +2 -2
  54. data/lib/origen/core_ext/option_parser/optparse.rb +1 -1
  55. data/lib/origen/core_ext/string.rb +8 -8
  56. data/lib/origen/database/key_value_store.rb +12 -14
  57. data/lib/origen/database/key_value_stores.rb +1 -0
  58. data/lib/origen/errata/hw_erratum.rb +1 -1
  59. data/lib/origen/errata.rb +7 -8
  60. data/lib/origen/features/feature.rb +1 -0
  61. data/lib/origen/features.rb +4 -6
  62. data/lib/origen/file_handler.rb +8 -7
  63. data/lib/origen/fuses/fuse_field.rb +2 -2
  64. data/lib/origen/generator/compiler.rb +2 -4
  65. data/lib/origen/generator/job.rb +3 -2
  66. data/lib/origen/generator/pattern.rb +3 -3
  67. data/lib/origen/generator/pattern_finder.rb +6 -5
  68. data/lib/origen/generator/pattern_sequence.rb +3 -0
  69. data/lib/origen/generator/renderer.rb +3 -4
  70. data/lib/origen/generator/resources.rb +1 -1
  71. data/lib/origen/generator/stage.rb +3 -0
  72. data/lib/origen/limits/limit.rb +14 -11
  73. data/lib/origen/limits/limit_set.rb +2 -1
  74. data/lib/origen/loader.rb +4 -2
  75. data/lib/origen/log.rb +3 -2
  76. data/lib/origen/memory.rb +1 -0
  77. data/lib/origen/model.rb +10 -4
  78. data/lib/origen/models.rb +2 -2
  79. data/lib/origen/netlist/list.rb +1 -0
  80. data/lib/origen/netlist.rb +5 -7
  81. data/lib/origen/org_file/interceptor.rb +1 -1
  82. data/lib/origen/org_file.rb +4 -1
  83. data/lib/origen/parameters/set.rb +1 -0
  84. data/lib/origen/parameters.rb +3 -1
  85. data/lib/origen/pins/pin.rb +18 -12
  86. data/lib/origen/pins/pin_bank.rb +3 -0
  87. data/lib/origen/pins/pin_clock.rb +3 -2
  88. data/lib/origen/pins/pin_collection.rb +3 -0
  89. data/lib/origen/pins/timing/wave.rb +5 -0
  90. data/lib/origen/pins.rb +7 -1
  91. data/lib/origen/ports.rb +1 -1
  92. data/lib/origen/power_domains/power_domain.rb +5 -2
  93. data/lib/origen/power_domains/power_domains_collection.rb +2 -1
  94. data/lib/origen/registers/bit.rb +21 -17
  95. data/lib/origen/registers/bit_collection.rb +15 -6
  96. data/lib/origen/registers/reg.rb +34 -28
  97. data/lib/origen/registers.rb +25 -24
  98. data/lib/origen/remote_manager.rb +3 -2
  99. data/lib/origen/revision_control/base.rb +1 -4
  100. data/lib/origen/revision_control/design_sync.rb +10 -10
  101. data/lib/origen/revision_control/git.rb +4 -2
  102. data/lib/origen/site_config/config.rb +3 -1
  103. data/lib/origen/site_config.rb +3 -0
  104. data/lib/origen/specs/checkers.rb +12 -8
  105. data/lib/origen/specs/doc_resource.rb +3 -4
  106. data/lib/origen/specs/spec.rb +5 -1
  107. data/lib/origen/specs/version_history.rb +1 -1
  108. data/lib/origen/specs.rb +52 -37
  109. data/lib/origen/sub_blocks.rb +20 -14
  110. data/lib/origen/top_level.rb +2 -1
  111. data/lib/origen/users/user.rb +4 -5
  112. data/lib/origen/utility/csv_data.rb +6 -4
  113. data/lib/origen/utility/diff.rb +9 -9
  114. data/lib/origen/utility/file_diff.rb +4 -0
  115. data/lib/origen/utility/input_capture.rb +6 -6
  116. data/lib/origen/utility/mailer.rb +8 -11
  117. data/lib/origen/utility/time_and_date.rb +1 -2
  118. data/lib/origen/utility.rb +2 -2
  119. data/lib/origen/value.rb +2 -1
  120. data/lib/origen/version_string.rb +33 -41
  121. data/lib/origen.rb +62 -64
  122. data/origen_app_generators/origen_app_generators.gemspec +1 -1
  123. data/origen_site_config.yml +2 -0
  124. metadata +9 -27
  125. data/config/rubocop/easy_disabled.yml +0 -275
  126. data/config/rubocop/easy_enabled.yml +0 -727
  127. data/config/rubocop/strict_disabled.yml +0 -251
  128. data/config/rubocop/strict_enabled.yml +0 -751
@@ -1,275 +0,0 @@
1
- # These are all the cops that are disabled in the strict configuration.
2
-
3
- Style/ClassAndModuleCamelCase:
4
- Description: 'Use CamelCase for classes and modules.'
5
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#camelcase-classes'
6
- Enabled: false
7
-
8
- Style/SingleLineBlockParams:
9
- Description: 'Enforces the names of some block params.'
10
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#reduce-blocks'
11
- Enabled: false
12
-
13
- Style/MultilineBlockChain:
14
- Description: 'Avoid multi-line chains of blocks.'
15
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
16
- Enabled: false
17
-
18
- Style/EachWithObject:
19
- Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
20
- Enabled: false
21
-
22
- Style/EndOfLine:
23
- Description: 'Use Unix-style line endings.'
24
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#crlf'
25
- Enabled: false
26
-
27
- Style/CaseEquality:
28
- Description: 'Avoid explicit use of the case equality operator(===).'
29
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-case-equality'
30
- Enabled: false
31
-
32
- Style/AndOr:
33
- Description: 'Use &&/|| instead of and/or.'
34
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-and-or-or'
35
- Enabled: false
36
-
37
- Lint/EndAlignment:
38
- Description: 'Align ends correctly.'
39
- Enabled: false
40
-
41
- Style/CaseIndentation:
42
- Description: 'Indentation of when in a case/when/[else/]end.'
43
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-when-to-case'
44
- Enabled: false
45
-
46
- Style/Lambda:
47
- Description: 'Use the new lambda literal syntax for single-line blocks.'
48
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#lambda-multi-line'
49
- Enabled: false
50
-
51
- Lint/UnderscorePrefixedVariableName:
52
- Description: 'Do not use prefix `_` for a variable that is used.'
53
- Enabled: false
54
-
55
- Style/OpMethod:
56
- Description: 'When defining binary operators, name the argument other.'
57
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#other-arg'
58
- Enabled: false
59
-
60
- Style/Next:
61
- Description: 'Use `next` to skip iteration instead of a condition at the end.'
62
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
63
- Enabled: false
64
-
65
- Lint/RescueException:
66
- Description: 'Avoid rescuing the Exception class.'
67
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-blind-rescues'
68
- Enabled: false
69
-
70
- Style/AccessorMethodName:
71
- Description: Check the naming of accessor methods for get_/set_.
72
- Enabled: false
73
-
74
- Style/Semicolon:
75
- Description: "Don't use semicolons to terminate expressions."
76
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon'
77
- Enabled: false
78
-
79
- Style/RegexpLiteral:
80
- Description: >-
81
- Use %r for regular expressions matching more than
82
- `MaxSlashes` '/' characters.
83
- Use %r only for regular expressions matching more than
84
- `MaxSlashes` '/' character.
85
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-r'
86
- Enabled: false
87
-
88
- Style/SelfAssignment:
89
- Description: >-
90
- Checks for places where self-assignment shorthand should have
91
- been used.
92
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#self-assignment'
93
- Enabled: false
94
-
95
- Lint/AssignmentInCondition:
96
- Description: "Don't use assignment in conditions."
97
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
98
- Enabled: false
99
-
100
- Style/ClassVars:
101
- Description: 'Avoid the use of class variables.'
102
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-class-vars'
103
- Enabled: false
104
-
105
- Style/GlobalVars:
106
- Description: 'Do not introduce global variables.'
107
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#instance-vars'
108
- Enabled: false
109
-
110
- Style/FormatString:
111
- Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
112
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#sprintf'
113
- Enabled: false
114
-
115
- Metrics/BlockNesting:
116
- Description: 'Avoid excessive block nesting'
117
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count'
118
- Enabled: false
119
-
120
- Lint/Eval:
121
- Description: 'The use of eval represents a serious security risk.'
122
- Enabled: false
123
-
124
- Lint/UselessAssignment:
125
- Description: 'Checks for useless assignment to a local variable.'
126
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
127
- Enabled: false
128
-
129
- Lint/ShadowingOuterLocalVariable:
130
- Description: >-
131
- Do not use the same name as outer local variable
132
- for block arguments or block local variables.
133
- Enabled: false
134
-
135
- Style/PredicateName:
136
- Description: 'Check the names of predicate methods.'
137
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
138
- Enabled: false
139
-
140
- Metrics/ClassLength:
141
- Description: 'Avoid classes longer than 100 lines of code.'
142
- Enabled: false
143
-
144
- Style/CollectionMethods:
145
- Description: 'Preferred collection methods.'
146
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#map-fine-select-reduce-size'
147
- Enabled: false
148
-
149
- Style/Encoding:
150
- Description: 'Use UTF-8 as the source file encoding.'
151
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#utf-8'
152
- Enabled: false
153
-
154
- Style/InlineComment:
155
- Description: 'Avoid inline comments.'
156
- Enabled: false
157
-
158
- Style/MethodCalledOnDoEndBlock:
159
- Description: 'Avoid chaining a method call on a do...end block.'
160
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
161
- Enabled: false
162
-
163
- Style/SymbolArray:
164
- Description: 'Use %i or %I for arrays of symbols.'
165
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-i'
166
- Enabled: false
167
-
168
- Style/TrivialAccessors:
169
- Description: 'Prefer attr_* methods to trivial readers/writers.'
170
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr_family'
171
- Enabled: false
172
-
173
- Metrics/LineLength:
174
- Description: 'Limit lines to 80 characters.'
175
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
176
- Enabled: false
177
-
178
- Lint/HandleExceptions:
179
- Description: "Don't suppress exception."
180
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
181
- Enabled: false
182
-
183
- Style/DoubleNegation:
184
- Description: 'Checks for uses of double negation (!!).'
185
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-bang-bang'
186
- Enabled: false
187
-
188
- Metrics/MethodLength:
189
- Description: 'Avoid methods longer than 10 lines of code.'
190
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
191
- Enabled: false
192
-
193
- Metrics/AbcSize:
194
- Description: >-
195
- A calculated magnitude based on number of assignments,
196
- branches, and conditions.
197
- Enabled: false
198
-
199
- Style/Documentation:
200
- Description: 'Document classes and non-namespace modules.'
201
- Enabled: false
202
-
203
- Metrics/PerceivedComplexity:
204
- Description: >-
205
- A complexity metric geared towards measuring complexity for a
206
- human reader.
207
- Enabled: false
208
-
209
- Metrics/CyclomaticComplexity:
210
- Description: >-
211
- A complexity metric that is strongy correlated to the number
212
- of test cases needed to validate a method.
213
- Enabled: false
214
-
215
- Style/GuardClause:
216
- Description: 'Check for conditionals that can be replaced with guard clauses'
217
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
218
- Enabled: false
219
-
220
- Style/IfUnlessModifier:
221
- Description: >-
222
- Favor modifier if/unless usage when you have a
223
- single-line body.
224
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier'
225
- Enabled: false
226
-
227
- Lint/UnusedBlockArgument:
228
- Description: 'Checks for unused block arguments.'
229
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
230
- Enabled: false
231
-
232
- Lint/UnusedMethodArgument:
233
- Description: 'Checks for unused method arguments.'
234
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
235
- Enabled: false
236
-
237
- ##################### Rails ##################################
238
-
239
- Rails/ActionFilter:
240
- Description: 'Enforces consistent use of action filter methods.'
241
- Enabled: false
242
-
243
- Rails/DefaultScope:
244
- Description: 'Checks if the argument passed to default_scope is a block.'
245
- Enabled: false
246
-
247
- Rails/Delegate:
248
- Description: 'Prefer delegate method for delegations.'
249
- Enabled: false
250
-
251
- Rails/HasAndBelongsToMany:
252
- Description: 'Prefer has_many :through to has_and_belongs_to_many.'
253
- Enabled: false
254
-
255
- Rails/Output:
256
- Description: 'Checks for calls to puts, print, etc.'
257
- Enabled: false
258
-
259
- Rails/ReadWriteAttribute:
260
- Description: >-
261
- Checks for read_attribute(:attr) and
262
- write_attribute(:attr, val).
263
- Enabled: false
264
-
265
- Rails/ScopeArgs:
266
- Description: 'Checks the arguments of ActiveRecord scopes.'
267
- Enabled: false
268
-
269
- Rails/Validation:
270
- Description: 'Use validates :attribute, hash of validations.'
271
- Enabled: false
272
-
273
- Style/ClassAndModuleChildren:
274
- Description: 'Checks style of children classes and modules.'
275
- Enabled: false