ruby_abc 0.0.2 → 0.0.3
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 +4 -4
- data/README.md +2 -1
- data/Rakefile +1 -1
- data/bin/rubyabc_synthesis +1 -1
- data/ext/extconf.rb +0 -14
- data/lib/ruby_abc.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6abe5392a1e4a4a1fef29a58dcb779d362a0f56e
|
4
|
+
data.tar.gz: 5b0fbd1658b02b68fbf3ef889e15b64a0b28279d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68a27236404b7971e92f8260e44ad062234d2571ee51d84f2ac8ec58b0295966a21623feac728090497236b50acd1e782e186326f313aea4aa22a27e1324dc7b
|
7
|
+
data.tar.gz: 6e309377f139024493249c634c6511e40d13a2cc1ab58fecc600d52d47457ac1021cfe51fe8b0ee382d07c8952e5a31f06f506c1cf2eff2c7f5d9ed347c463ef
|
data/README.md
CHANGED
@@ -11,7 +11,7 @@ Documentation on *abc* can be found on its website:
|
|
11
11
|
|
12
12
|
The source code of *abc* is included in this gem,
|
13
13
|
it was cloned on 2017/11/22 from :
|
14
|
-
[
|
14
|
+
[https://bitbucket.org/alanmi/abc](https://bitbucket.org/alanmi/abc)
|
15
15
|
It is under MIT license.
|
16
16
|
|
17
17
|
|
@@ -22,6 +22,7 @@ The *abc* program is a command line interface: the user issue commands and adjus
|
|
22
22
|
In order to automate this process, the *ruby_abc* allows to retreive some information on the current logic network in ruby,
|
23
23
|
such as the number of nodes or its logic level. The command adjustment can then be done in ruby instead of manually.
|
24
24
|
|
25
|
+
|
25
26
|
Installation
|
26
27
|
------------
|
27
28
|
|
data/Rakefile
CHANGED
@@ -51,7 +51,7 @@ end
|
|
51
51
|
|
52
52
|
desc 'Generate html documentation'
|
53
53
|
task :doc do
|
54
|
-
sh "rdoc --main
|
54
|
+
sh "rdoc --main=README.md --title='ruby_abc ruby extension' --output='#{root_path}/doc' #{docsrcfiles}"
|
55
55
|
end
|
56
56
|
|
57
57
|
desc 'Cleanup build files'
|
data/bin/rubyabc_synthesis
CHANGED
data/ext/extconf.rb
CHANGED
@@ -6,20 +6,6 @@ extension_name = 'ruby_abc'
|
|
6
6
|
|
7
7
|
abc_path = File.dirname(File.expand_path(__FILE__)) + '/abc'
|
8
8
|
|
9
|
-
#abort "Library libpthread was not found" if !have_library('pthread')
|
10
|
-
#abort "Library libdl was not found" if !have_library('dl')
|
11
|
-
#abort "Library librt was not found" if !have_library('rt')
|
12
|
-
#
|
13
|
-
#unless File.exist?(abc_path + '/libabc.so') then
|
14
|
-
# wd = Dir.getwd
|
15
|
-
# Dir.chdir(abc_path)
|
16
|
-
# unless system("make -j4 ABC_USE_PIC=true OPTFLAGS='-O2' ABC_USE_NO_READLINE=true libabc.so") then
|
17
|
-
# Dir.chdir(wd)
|
18
|
-
# abort "Cannot build ABC"
|
19
|
-
# end
|
20
|
-
# Dir.chdir(wd)
|
21
|
-
#end
|
22
|
-
|
23
9
|
$CFLAGS += " -I #{abc_path}/src"
|
24
10
|
$CFLAGS += ' ' + `#{abc_path}/arch_flags`
|
25
11
|
$LOCAL_LIBS += " #{abc_path}/libabc.so"
|
data/lib/ruby_abc.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_abc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Théotime Bollengier
|
@@ -11,7 +11,7 @@ cert_chain: []
|
|
11
11
|
date: 2017-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
|
-
|
14
|
+
ruby_abc is a ruby C extension intended to allow the use of ABC from Ruby.
|
15
15
|
ABC is a system for sequential synthesis and verification, developped at the University of California, Berkeley.
|
16
16
|
ABC website: http://people.eecs.berkeley.edu/~alanmi/abc/
|
17
17
|
email:
|
@@ -1744,7 +1744,7 @@ files:
|
|
1744
1744
|
- lib/ruby_abc.rb
|
1745
1745
|
- test/generic_netlist.blif
|
1746
1746
|
- test/test_ruby_abc.rb
|
1747
|
-
homepage:
|
1747
|
+
homepage: http://github.com/TheotimeBollengier/ruby_abc
|
1748
1748
|
licenses:
|
1749
1749
|
- MIT
|
1750
1750
|
metadata: {}
|
@@ -1767,5 +1767,6 @@ rubyforge_project:
|
|
1767
1767
|
rubygems_version: 2.6.12
|
1768
1768
|
signing_key:
|
1769
1769
|
specification_version: 4
|
1770
|
-
summary:
|
1770
|
+
summary: ruby_abc is a ruby C extension wrapping the Berkeley ABC logic synthesis
|
1771
|
+
system.
|
1771
1772
|
test_files: []
|