ruby-ise 0.4.0 → 0.6.1
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.
- data/.travis.yml +8 -0
- data/Gemfile +12 -0
- data/Rakefile +24 -0
- data/bin/xoptimize +6 -2
- data/lib/ise/{preference_set.rb → preference_file.rb} +2 -1
- data/lib/ise/project.rb +2 -27
- data/lib/ise/project_navigator.rb +15 -4
- data/lib/ise/symbol.rb +235 -0
- data/lib/ise/version.rb +2 -4
- data/lib/ise/xml_file.rb +38 -0
- data/lib/ise.rb +4 -1
- data/ruby-ise.gemspec +3 -3
- data/spec/ise/project_navigator_spec.rb +20 -0
- data/spec/ise/project_spec.rb +3 -3
- data/spec/ise/symbol_spec.rb +132 -0
- data/spec/ise/test_data/ise.conf +1267 -0
- data/spec/ise/{project.xise → test_data/project.xise} +0 -0
- data/spec/ise/test_data/symbol.sym +90 -0
- data/spec/ise/{toplevel.bit → test_data/toplevel.bit} +0 -0
- metadata +27 -10
File without changes
|
@@ -0,0 +1,90 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<symbol version="7" name="BusMux16">
|
3
|
+
<symboltype>BLOCK</symboltype>
|
4
|
+
<timestamp>2013-2-3T2:44:47</timestamp>
|
5
|
+
<attr value="8" name="BusWidth">
|
6
|
+
<trait vhdl="all:1" />
|
7
|
+
<trait valuetype="Integer" />
|
8
|
+
</attr>
|
9
|
+
<pin polarity="Input" x="48" y="-1072" name="i0(7:0)" />
|
10
|
+
<pin polarity="Input" x="48" y="-1008" name="i1(7:0)" />
|
11
|
+
<pin polarity="Input" x="48" y="-944" name="i2(7:0)" />
|
12
|
+
<pin polarity="Input" x="48" y="-880" name="i3(7:0)" />
|
13
|
+
<pin polarity="Input" x="48" y="-816" name="i4(7:0)" />
|
14
|
+
<pin polarity="Input" x="48" y="-752" name="i5(7:0)" />
|
15
|
+
<pin polarity="Input" x="48" y="-688" name="i6(7:0)" />
|
16
|
+
<pin polarity="Input" x="48" y="-624" name="i7(7:0)" />
|
17
|
+
<pin polarity="Input" x="48" y="-560" name="i8(7:0)" />
|
18
|
+
<pin polarity="Input" x="48" y="-496" name="i9(7:0)" />
|
19
|
+
<pin polarity="Input" x="48" y="-432" name="i10(7:0)" />
|
20
|
+
<pin polarity="Input" x="48" y="-368" name="i11(7:0)" />
|
21
|
+
<pin polarity="Input" x="48" y="-304" name="i12(7:0)" />
|
22
|
+
<pin polarity="Input" x="48" y="-240" name="i13(7:0)" />
|
23
|
+
<pin polarity="Input" x="48" y="-176" name="i14(7:0)" />
|
24
|
+
<pin polarity="Input" x="48" y="-112" name="i15(7:0)" />
|
25
|
+
<pin polarity="Input" x="48" y="-48" name="sel(3:0)" />
|
26
|
+
<pin polarity="Output" x="368" y="-608" name="o(7:0)" />
|
27
|
+
<graph>
|
28
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-1072" type="pin i0(7:0)" />
|
29
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-1008" type="pin i1(7:0)" />
|
30
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-944" type="pin i2(7:0)" />
|
31
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-880" type="pin i3(7:0)" />
|
32
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-816" type="pin i4(7:0)" />
|
33
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-752" type="pin i5(7:0)" />
|
34
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-688" type="pin i6(7:0)" />
|
35
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-624" type="pin i7(7:0)" />
|
36
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-560" type="pin i8(7:0)" />
|
37
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-496" type="pin i9(7:0)" />
|
38
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-432" type="pin i10(7:0)" />
|
39
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-368" type="pin i11(7:0)" />
|
40
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-304" type="pin i12(7:0)" />
|
41
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-240" type="pin i13(7:0)" />
|
42
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-176" type="pin i14(7:0)" />
|
43
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="120" y="-112" type="pin i15(7:0)" />
|
44
|
+
<rect width="64" x="48" y="-1084" height="24" />
|
45
|
+
<line x2="48" y1="-1072" y2="-1072" x1="112" />
|
46
|
+
<rect width="64" x="48" y="-1020" height="24" />
|
47
|
+
<line x2="48" y1="-1008" y2="-1008" x1="112" />
|
48
|
+
<rect width="64" x="48" y="-956" height="24" />
|
49
|
+
<line x2="48" y1="-944" y2="-944" x1="112" />
|
50
|
+
<rect width="64" x="48" y="-892" height="24" />
|
51
|
+
<line x2="48" y1="-880" y2="-880" x1="112" />
|
52
|
+
<rect width="64" x="48" y="-828" height="24" />
|
53
|
+
<line x2="48" y1="-816" y2="-816" x1="112" />
|
54
|
+
<rect width="64" x="48" y="-764" height="24" />
|
55
|
+
<line x2="48" y1="-752" y2="-752" x1="112" />
|
56
|
+
<rect width="64" x="48" y="-700" height="24" />
|
57
|
+
<line x2="48" y1="-688" y2="-688" x1="112" />
|
58
|
+
<rect width="64" x="48" y="-636" height="24" />
|
59
|
+
<line x2="48" y1="-624" y2="-624" x1="112" />
|
60
|
+
<rect width="64" x="48" y="-572" height="24" />
|
61
|
+
<line x2="48" y1="-560" y2="-560" x1="112" />
|
62
|
+
<rect width="64" x="48" y="-508" height="24" />
|
63
|
+
<line x2="48" y1="-496" y2="-496" x1="112" />
|
64
|
+
<rect width="64" x="48" y="-444" height="24" />
|
65
|
+
<line x2="48" y1="-432" y2="-432" x1="112" />
|
66
|
+
<rect width="64" x="48" y="-380" height="24" />
|
67
|
+
<line x2="48" y1="-368" y2="-368" x1="112" />
|
68
|
+
<rect width="64" x="48" y="-316" height="24" />
|
69
|
+
<line x2="48" y1="-304" y2="-304" x1="112" />
|
70
|
+
<rect width="64" x="48" y="-252" height="24" />
|
71
|
+
<line x2="48" y1="-240" y2="-240" x1="112" />
|
72
|
+
<rect width="64" x="48" y="-188" height="24" />
|
73
|
+
<line x2="48" y1="-176" y2="-176" x1="112" />
|
74
|
+
<rect width="64" x="48" y="-124" height="24" />
|
75
|
+
<line x2="48" y1="-112" y2="-112" x1="112" />
|
76
|
+
<rect width="64" x="48" y="-60" height="24" />
|
77
|
+
<line x2="48" y1="-48" y2="-48" x1="112" />
|
78
|
+
<line x2="112" y1="-128" y2="-68" x1="304" />
|
79
|
+
<line x2="304" y1="-1120" y2="-1040" x1="112" />
|
80
|
+
<line x2="112" y1="-68" y2="-1120" x1="112" />
|
81
|
+
<attrtext style="alignment:RIGHT;fontsize:24;fontname:Arial" attrname="PinName" x="296" y="-608" type="pin o(7:0)" />
|
82
|
+
<rect width="64" x="304" y="-620" height="24" />
|
83
|
+
<line x2="368" y1="-608" y2="-608" x1="304" />
|
84
|
+
<line x2="304" y1="-1040" y2="-128" x1="304" />
|
85
|
+
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="48" y="-12" type="pin sel(3:0)" />
|
86
|
+
<line x2="232" y1="-48" y2="-48" style="linewidth:W" x1="112" />
|
87
|
+
<line x2="232" y1="-48" y2="-104" style="linewidth:W" x1="232" />
|
88
|
+
<attrtext style="alignment:BCENTER;fontsize:56;fontname:Arial" attrname="SymbolName" x="208" y="-1124" type="symbol" />
|
89
|
+
</graph>
|
90
|
+
</symbol>
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-ise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: inifile
|
@@ -75,8 +75,8 @@ dependencies:
|
|
75
75
|
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
|
-
description: Simple gem which extracts meta-data from Xilinx ISE files.
|
79
|
-
simplify using Rake with ruby-adept, and with ISE/XST.
|
78
|
+
description: Simple gem which extracts and modifies meta-data from Xilinx ISE files.
|
79
|
+
Intended to simplify using Rake with ruby-adept, and with ISE/XST.
|
80
80
|
email:
|
81
81
|
- ktemkin@binghamton.edu
|
82
82
|
executables:
|
@@ -85,20 +85,27 @@ extensions: []
|
|
85
85
|
extra_rdoc_files: []
|
86
86
|
files:
|
87
87
|
- .gitignore
|
88
|
+
- .travis.yml
|
88
89
|
- Gemfile
|
89
90
|
- LICENSE.txt
|
90
91
|
- README.md
|
91
92
|
- Rakefile
|
92
93
|
- bin/xoptimize
|
93
94
|
- lib/ise.rb
|
94
|
-
- lib/ise/
|
95
|
+
- lib/ise/preference_file.rb
|
95
96
|
- lib/ise/project.rb
|
96
97
|
- lib/ise/project_navigator.rb
|
98
|
+
- lib/ise/symbol.rb
|
97
99
|
- lib/ise/version.rb
|
100
|
+
- lib/ise/xml_file.rb
|
98
101
|
- ruby-ise.gemspec
|
99
|
-
- spec/ise/
|
102
|
+
- spec/ise/project_navigator_spec.rb
|
100
103
|
- spec/ise/project_spec.rb
|
101
|
-
- spec/ise/
|
104
|
+
- spec/ise/symbol_spec.rb
|
105
|
+
- spec/ise/test_data/ise.conf
|
106
|
+
- spec/ise/test_data/project.xise
|
107
|
+
- spec/ise/test_data/symbol.sym
|
108
|
+
- spec/ise/test_data/toplevel.bit
|
102
109
|
homepage: http://www.github.com/ktemkin/ruby-ise
|
103
110
|
licenses: []
|
104
111
|
post_install_message:
|
@@ -111,19 +118,29 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
118
|
- - ! '>='
|
112
119
|
- !ruby/object:Gem::Version
|
113
120
|
version: '0'
|
121
|
+
segments:
|
122
|
+
- 0
|
123
|
+
hash: 1703058363022956588
|
114
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
125
|
none: false
|
116
126
|
requirements:
|
117
127
|
- - ! '>='
|
118
128
|
- !ruby/object:Gem::Version
|
119
129
|
version: '0'
|
130
|
+
segments:
|
131
|
+
- 0
|
132
|
+
hash: 1703058363022956588
|
120
133
|
requirements: []
|
121
134
|
rubyforge_project:
|
122
135
|
rubygems_version: 1.8.23
|
123
136
|
signing_key:
|
124
137
|
specification_version: 3
|
125
|
-
summary: Simple gem which extracts metadata from Xilinx ISE files.
|
138
|
+
summary: Simple gem which extracts and modifies metadata from Xilinx ISE files.
|
126
139
|
test_files:
|
127
|
-
- spec/ise/
|
140
|
+
- spec/ise/project_navigator_spec.rb
|
128
141
|
- spec/ise/project_spec.rb
|
129
|
-
- spec/ise/
|
142
|
+
- spec/ise/symbol_spec.rb
|
143
|
+
- spec/ise/test_data/ise.conf
|
144
|
+
- spec/ise/test_data/project.xise
|
145
|
+
- spec/ise/test_data/symbol.sym
|
146
|
+
- spec/ise/test_data/toplevel.bit
|