vhdl_doctest 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -0
- data/lib/vhdl_doctest/test_file.rb +4 -0
- data/lib/vhdl_doctest/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -60,6 +60,8 @@ If you found a bug (or unexpected movement), let me know. Please attach your vh
|
|
60
60
|
|
61
61
|
Any feature request is welcome. I appreciate if it have an example, or a test case.
|
62
62
|
|
63
|
+
I am noob about hardware, and VHDL. If you have knowledge about hardware testing, give me advice.
|
64
|
+
|
63
65
|
## Contributing
|
64
66
|
|
65
67
|
1. Fork it
|
@@ -68,3 +70,7 @@ Any feature request is welcome. I appreciate if it have an example, or a test c
|
|
68
70
|
4. Write tests with rspec for your changes
|
69
71
|
5. Push to the branch (`git push origin my-new-feature`)
|
70
72
|
6. Create new Pull Request
|
73
|
+
|
74
|
+
## References
|
75
|
+
|
76
|
+
Utility functions in a generated test file are from http://www.eda-stds.org/vhdl-200x/vhdl-200x-ft/packages_old/ .
|
@@ -38,6 +38,7 @@ module VhdlDoctest
|
|
38
38
|
private
|
39
39
|
def header
|
40
40
|
%Q{-- This file is generated by vhdl_doctest
|
41
|
+
-- https://github.com/tomykaira/vhdl_doctest/
|
41
42
|
library IEEE;
|
42
43
|
use IEEE.STD_LOGIC_1164.all;
|
43
44
|
use IEEE.STD_LOGIC_ARITH.all;
|
@@ -76,6 +77,9 @@ dut : #{ @dut_entity } port map (
|
|
76
77
|
end
|
77
78
|
|
78
79
|
UTILS = %Q{
|
80
|
+
|
81
|
+
-- This is from http://www.eda-stds.org/vhdl-200x/vhdl-200x-ft/packages_old/
|
82
|
+
|
79
83
|
function to_string (value : STD_ULOGIC) return STRING;
|
80
84
|
function to_string (value : STD_ULOGIC_VECTOR) return STRING;
|
81
85
|
function to_string (value : STD_LOGIC_VECTOR) return STRING;
|
data/lib/vhdl_doctest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vhdl_doctest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -88,7 +88,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
segments:
|
90
90
|
- 0
|
91
|
-
hash:
|
91
|
+
hash: 574229357
|
92
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
93
|
none: false
|
94
94
|
requirements:
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
segments:
|
99
99
|
- 0
|
100
|
-
hash:
|
100
|
+
hash: 574229357
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
103
|
rubygems_version: 1.8.24
|