cross_origen 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22b8f1762b75a8679be92a19f549aa4cf0da1849bbd5dfbc5713163e32534b27
4
- data.tar.gz: e618175099f2025422bee4cc92c5286ea5dae03517f8d0c72230ddaf496ebabb
3
+ metadata.gz: 25e797bef6d607b7aa5b308916967bf592b4a28196b2b6fb593e494fe5fc1243
4
+ data.tar.gz: b113a24df2dd46e790f5160f14c591b14b80ab0c49c69491aa0de92c3f8928df
5
5
  SHA512:
6
- metadata.gz: 323c13ef959afbd8334bd39534f3ca19d1dd573ef43384fb8f848e0633a4e136269a1f32f10b1727f5668c5a3590c064c74f7cc5790e3ae52acaafe317dbb63c
7
- data.tar.gz: 8d957c81ee5f9ddadc10b297576755b66f923e177887f24c3d76fc53f6215cd572e2a30e3bd2b2a3f2c606562518b61f995b6dec5fc7d6e46e5481af26684d47
6
+ metadata.gz: 50e9fad4eeb0cebe185d64e14409c18ebe7c7a083a25ca5cab99d774e17d335a867a3d619da7d33440b60cd1bae346c59ab385ea9542c8346be63d5385ad7537
7
+ data.tar.gz: 1a47ce7f1f733a8bfbf21cbdb598623af473aa066c9621b0b13bc8ab7747eaf56f2d1855423021408d0d8e20c2437b2b71642d3a863f405d2cc2ee516eb2cd66
@@ -1,7 +1,7 @@
1
1
  module CrossOrigen
2
2
  MAJOR = 1
3
3
  MINOR = 2
4
- BUGFIX = 2
4
+ BUGFIX = 3
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -6,7 +6,8 @@ The following examples are available which are used for testing but
6
6
  also provide some code examples of how to use the plugin for the various
7
7
  supported formats:
8
8
 
9
- * [IP-XACT Export](<%= path "examples/ip_xact_export" %>)
9
+ * [Spirit 1.4 IP-XACT Export](<%= path "examples/ip_xact_export" %>)
10
+ * [IEEE 1685-2009 IP-XACT Export](<%= path "examples/ip_xact_export_1685_2009" %>)
10
11
  * [RALF Export](<%= path "examples/ralf_export" %>)
11
12
  * [Origen Export](<%= path "examples/origen_export" %>)
12
13
 
@@ -1,6 +1,6 @@
1
1
  % render "layouts/basic.html", tab: :examples do
2
2
 
3
- ## IP-XACT Export
3
+ ## IP-XACT Export (Spirit 1.4)
4
4
 
5
5
  This page shows IP-XACT formatted XML that has been generated from an Origen
6
6
  representation of a module.
@@ -0,0 +1,32 @@
1
+ % render "layouts/basic.html", tab: :examples do
2
+
3
+ ## IP-XACT Export (IEEE 1685-2009)
4
+
5
+ This page shows IEEE 1685-2009 IP-XACT formatted XML that has been generated from an Origen
6
+ representation of a module.
7
+
8
+ The exporter has the following options:
9
+
10
+ * **:format** - nil by default, can be set to :uvm to include the associated vendor
11
+ extentions
12
+ * **:include_bit_field_values** - true by default, when false the bit field values
13
+ fields will not be output
14
+ * **:schema** - nil by default, which assumes a Spirit 1.4 format. '1685-2009' is also supported.
15
+ * **:mmap_name** - nil by default, can be set to any string name for the memory map name.
16
+ * **:mmap_ref** - nil by default, can be set to any string name for the memory map reference used by a downstream tool.
17
+ * **:vendor** - nil by default, can be set to any string name for the company name.
18
+ * **:library** - nil by default, can be set to any string name for the library used by a downstream tool (ex: Magillem XML -> UVM conversion)
19
+ %#* **:name** - nil by default, can be set to any string name for the an overall device/model name.
20
+ %#* **:bus_interface** - nil by default, can be set to 'AMBA3' for an AMBA3 bus interface.
21
+
22
+ For this example, targeting CrossOrigen's target/debug.rb, the code to generate this page is:
23
+
24
+ ~~~eruby
25
+ <%= "<" + "%= $dut.to_ip_xact :format => :uvm, :schema=> '1685-2009', :mmap_name => 'RegisterMap', :vendor => 'origen-sdk.org', :library => 'id', :mmap_ref => 'test' %" + ">" %>
26
+ ~~~
27
+
28
+ ~~~xml
29
+ <%= $dut.to_ip_xact :format => :uvm, :schema=> '1685-2009', :mmap_name => 'RegisterMap', :vendor => 'origen-sdk.org', :library => 'id', :mmap_ref => 'test' %>
30
+ ~~~
31
+
32
+ % end
@@ -35,7 +35,7 @@ Currently the following formats are supported:
35
35
  * CMSIS-SVD - Import registers and hierarchy
36
36
  * RALF (Synopsys format) - Export registers
37
37
 
38
- See the [examples](<%= path "examples" %>) for format specific documentation, but
38
+ See the [Examples](<%= path "examples" %>) for format specific documentation, but
39
39
  most formats should follow this basic structure...
40
40
 
41
41
  #### Data Import
@@ -100,7 +100,9 @@ and then compiled through Origen:
100
100
  <%= "<" + "%= $dut.to_ip_xact %" + ">" %>
101
101
  ~~~
102
102
 
103
- In future support may be added to export directly to a 3rd party tool if
103
+ Please explore the [Examples](<%= path "examples" %>) page to see the differences between Spirit 1.4 and IEEE 1685-2009 IP-XACT export settings.
104
+
105
+ In the future, support may be added to export directly to a 3rd party tool if
104
106
  it provides such an API.
105
107
 
106
108
  ### How To Setup a Development Environment
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cross_origen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
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-02-13 00:00:00.000000000 Z
11
+ date: 2019-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen
@@ -72,6 +72,7 @@ files:
72
72
  - templates/web/example.md.erb
73
73
  - templates/web/examples.md.erb
74
74
  - templates/web/examples/ip_xact_export.md.erb
75
+ - templates/web/examples/ip_xact_export_1685_2009.md.erb
75
76
  - templates/web/examples/origen_export.md.erb
76
77
  - templates/web/examples/ralf_export.md.erb
77
78
  - templates/web/index.md.erb