axi_tdl 0.0.2 → 0.0.7

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
  SHA256:
3
- metadata.gz: 2a413d6078fa277cff64436fe51971f7d5ca1e8ef09c03660146351c68b42861
4
- data.tar.gz: 61d02c4c5626f4919384c20061555ee8ea664a4127237a64828bdb74bb92dba4
3
+ metadata.gz: d0ae825b35bd8f0680262cd912deaab26389908ef2ec6714b41ec78cac3396c2
4
+ data.tar.gz: dac56ef59fba0409fd2be3d416b27ada73f2883148d753cd2c8b77506bc569dc
5
5
  SHA512:
6
- metadata.gz: e7525bcaacf431e97146b305d942ec5f12116db749c795d7ab750cb6bb2a888c0b764191ef22377d897647d9c72cf1c3dfdc74f336bcebee52bdb106c933c303
7
- data.tar.gz: f9532c534f0e126e2605982f59356936ee8eeb1471ac3a3b9102d1503adff21c1dcc63a3f767447cb0be34ec7c947a579a527a73b5e8e8560264d3c09554856c
6
+ metadata.gz: a1418ec55197a4cff6fdbaadfd30b942c7b3ed349c69a0b79d9b8a0ee48c6c6261b8d5b729356e3f41c8a96f10dbd460aead590e3c3a15c06d5de761a905c585
7
+ data.tar.gz: 8914485b24d7f2233c3c12d47e5cc853642afe31996acb36fcff9035c447a5ec5376d9adbea26c9846207bca02ea0e0bd6e7fab89e1a088007bf7eec13365255
data/.gitignore CHANGED
@@ -6,3 +6,5 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ .rake_tasks~
10
+ lib/tdl/auto_script/tmp/
data/Gemfile.lock CHANGED
@@ -1,32 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- axi_tdl (0.0.2)
4
+ axi_tdl (0.0.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  coderay (1.1.3)
10
- diff-lcs (1.4.4)
11
10
  method_source (1.0.0)
12
11
  minitest (5.14.3)
13
12
  pry (0.14.0)
14
13
  coderay (~> 1.1)
15
14
  method_source (~> 1.0)
16
15
  rake (10.5.0)
17
- rspec (3.10.0)
18
- rspec-core (~> 3.10.0)
19
- rspec-expectations (~> 3.10.0)
20
- rspec-mocks (~> 3.10.0)
21
- rspec-core (3.10.1)
22
- rspec-support (~> 3.10.0)
23
- rspec-expectations (3.10.1)
24
- diff-lcs (>= 1.2.0, < 2.0)
25
- rspec-support (~> 3.10.0)
26
- rspec-mocks (3.10.2)
27
- diff-lcs (>= 1.2.0, < 2.0)
28
- rspec-support (~> 3.10.0)
29
- rspec-support (3.10.2)
30
16
 
31
17
  PLATFORMS
32
18
  ruby
@@ -37,7 +23,6 @@ DEPENDENCIES
37
23
  minitest
38
24
  pry
39
25
  rake (~> 10.0)
40
- rspec
41
26
 
42
27
  BUNDLED WITH
43
28
  1.17.3
data/axi_tdl.gemspec CHANGED
@@ -11,12 +11,12 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Axi is a light weight axi library. Tdl is a hardware Construction language}
13
13
  spec.description = %q{tdl is a hardware Construction language, it like chisel, but more intresting. It is a DSL and base on ruby. Finally, it convert to systemverilog. }
14
- # spec.homepage = "https://www.github.com/CookDarwin/axi_tdl"
15
- spec.homepage = "https://rubygems.org/gems/axi_tdl"
14
+ spec.homepage = "https://www.github.com/CookDarwin/axi_tdl"
15
+ # spec.homepage = "https://rubygems.org/gems/axi_tdl"
16
16
  spec.license = "LGPL-2.1"
17
17
  spec.files = Dir['lib/**/*']
18
18
  spec.require_paths = ["lib"]
19
-
19
+ spec.required_ruby_version = '>= 2.5.0'
20
20
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
21
21
  # to allow pushing to a single host or delete this section to allow pushing to any host.
22
22
  if spec.respond_to?(:metadata)
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  end
28
28
 
29
29
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
30
- f.match(%r{^(test|spec|features)/})
30
+ f.match(%r{^(test|spec|features|pkg)/})
31
31
  end
32
32
 
33
33
  spec.files = (spec.files + Dir['lib/axi/**','lib/tdl/**', 'lib/axi/**/*','lib/tdl/**/*']).union
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
37
37
 
38
38
  spec.add_development_dependency "bundler", "~> 1.16"
39
39
  spec.add_development_dependency "rake", "~> 10.0"
40
- spec.add_development_dependency "rspec"
40
+ # spec.add_development_dependency "rspec"
41
41
  spec.add_development_dependency "pry"
42
42
  spec.add_development_dependency "minitest"
43
43
  end
data/lib/axi_tdl.rb CHANGED
@@ -1,6 +1,15 @@
1
1
  require "axi_tdl/version"
2
2
  require "tdl/tdl.rb"
3
- # ============
4
- # module AxiTdl
5
- # # Your code goes here...
6
- # end
3
+
4
+ module AxiTdl
5
+ AXI_PATH = File.expand_path(File.join(__dir__,"axi"))
6
+ TDL_PATH = File.expand_path(File.join(__dir__,"tdl"))
7
+ end
8
+
9
+
10
+ add_to_tdl_paths File.expand_path(File.join(__dir__, "axi/AXI_stream"))
11
+ add_to_tdl_paths File.expand_path(File.join(__dir__, "axi/AXI_stream/stream_cache"))
12
+ add_to_tdl_paths File.expand_path(File.join(__dir__, "axi/AXI4"))
13
+ add_to_tdl_paths File.expand_path(File.join(__dir__, "axi/AXI4/packet_partition"))
14
+ add_to_tdl_paths File.expand_path(File.join(__dir__, "axi/common"))
15
+ add_to_tdl_paths File.expand_path(File.join(__dir__, "axi/data_interface"))
@@ -1,3 +1,3 @@
1
1
  module AxiTdl
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -9,7 +9,6 @@ created: xxxx.xx.xx
9
9
  madified:
10
10
  ***********************************************/
11
11
  `timescale 1ns/1ps
12
- `timescale 1ns/1ps
13
12
 
14
13
  module tb_exp_test_unit();
15
14
  //==========================================================================
@@ -10,7 +10,6 @@ madified:
10
10
  ***********************************************/
11
11
  `timescale 1ns/1ps
12
12
  `timescale 1ns/1ps
13
- `timescale 1ns/1ps
14
13
 
15
14
  module tb_test_top();
16
15
  //==========================================================================
@@ -9,6 +9,8 @@ created: xxxx.xx.xx
9
9
  madified:
10
10
  ***********************************************/
11
11
  `timescale 1ns/1ps
12
+ `timescale 1ns/1ps
13
+ `timescale 1ns/1ps
12
14
 
13
15
  module tb_test_tttop();
14
16
  //==========================================================================
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: axi_tdl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cook.Darwin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-19 00:00:00.000000000 Z
11
+ date: 2021-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: pry
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -1275,7 +1261,7 @@ files:
1275
1261
  - lib/tdl/testunit/test_all.rb
1276
1262
  - lib/tdl/testunit/test_array_chain.rb
1277
1263
  - lib/tdl/testunit/test_tmp.rb
1278
- homepage: https://rubygems.org/gems/axi_tdl
1264
+ homepage: https://www.github.com/CookDarwin/axi_tdl
1279
1265
  licenses:
1280
1266
  - LGPL-2.1
1281
1267
  metadata: {}
@@ -1287,7 +1273,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1287
1273
  requirements:
1288
1274
  - - ">="
1289
1275
  - !ruby/object:Gem::Version
1290
- version: '0'
1276
+ version: 2.5.0
1291
1277
  required_rubygems_version: !ruby/object:Gem::Requirement
1292
1278
  requirements:
1293
1279
  - - ">="