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