origen_doc_helpers 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f197ebf8b884da0d6aa316309bf03b18bcf2e5bd
4
- data.tar.gz: 91ed5f470f146302befb1aeacb25b759dff6194e
3
+ metadata.gz: 494c09ae485338938797abd0324eb40bf5d668bb
4
+ data.tar.gz: 46e71f84f0db94e14db584d114a140b7305e4d75
5
5
  SHA512:
6
- metadata.gz: 58141e8f821a5b924c52cc8eae91899afb1c12a837ed9238fe6f7104bdfdad950bfa8f4d5281015c39387dd6531b907f73b7c45d3af1b059960830e0cacca81e
7
- data.tar.gz: 3794c4cba5c64a35e63e33d175c741d9b1c827c5f170eb55ef814436261f31df05da5adeb34c41c9dc5fe2f7d070abdd033bdf884f352697a732bc84504a62f2
6
+ metadata.gz: 374e1f62aa9eaeb2dc2bcf40f1670a12932ba395dc8ea1cdeb1624aaba00fee6badcc4a90ebf82e29ab387d6b64ac5b44b7c094d69da5bbda479a05d9c542fd8
7
+ data.tar.gz: bb32e4b3ba62b228285a7968a598afd5695440887a699361e555c1f0c8b923c92f655629301cebbf06d6e9ca459ebe04c67ff07321a97ad12611282cc447963f
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module OrigenDocHelpers
2
2
  MAJOR = 0
3
3
  MINOR = 6
4
- BUGFIX = 1
4
+ BUGFIX = 2
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -29,7 +29,6 @@
29
29
  % end
30
30
  % end
31
31
 
32
- % # binding.pry
33
32
  % if options[:descriptions]
34
33
  <div markdown="1" style="margin: 0 0 20px 0">
35
34
 
@@ -191,7 +190,7 @@
191
190
 
192
191
  % if options[:current_value]
193
192
  <tr class="current_value">
194
- <td class="heading">Current Value</td>
193
+ <td class="heading">Current Value (Hex)</td>
195
194
  % alignment_done = false
196
195
  % reg.named_bits :include_spacers => true do |name, bit|
197
196
  % if _bit_in_range?(bit, max_bit, min_bit)
@@ -313,6 +312,7 @@
313
312
  % (start_bit..end_bit).each do |b|
314
313
  % bit_val_str << reg.bits[b].data.to_s
315
314
  % end
315
+ % bit_val_str.reverse!
316
316
  % bits.description.each do |line|
317
317
  % if options[:current_value]
318
318
  % if line =~ /^\d{#{bit_val_str.length}}/
@@ -86,6 +86,8 @@ bit descriptions:
86
86
  <%= "%" %> end
87
87
  ~~~
88
88
 
89
+ <%= render "templates/shared/register", :reg => $dut.reg(:mclkdiv), :descriptions => true%>
90
+
89
91
  ~~~eruby
90
92
  ## Register Map with Current Value
91
93
 
@@ -101,7 +103,6 @@ explicitly. It will not match partial descriptions, e.g. value is 000
101
103
  and bitfield description is 00.
102
104
 
103
105
 
104
- <%= render "templates/shared/register", :reg => $dut.reg(:mclkdiv), :descriptions => true, current_value: true %>
105
106
 
106
107
  ### Additional Test Cases
107
108
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_doc_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
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-05-16 00:00:00.000000000 Z
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen