Clifford Wolf
3d0e51f813
Updated ABC to hg rev 8bab2eedbba4
2016-12-21 09:13:20 +01:00
rodrigosiqueira
b932e2355d
Improved unit test structure
...
Signed-off-by: rodrigosiqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: chaws <18oliveira.charles@gmail.com>
* Merged run-all-unitest inside unit-test target
* Fixed Makefile dependencies
* Updated documentation about unit test
2016-12-10 18:21:56 -02:00
rodrigosiqueira
e0152319f5
Added required structure to implement unit tests
...
Added modifications inside the main Makefile to refers the unit test Makefile.
Added separated Makefile only for compiling unit tests.
Added simple example of unit test.
Signed-off-by: Charles Oliveira <18oliveira.charles@gmail.com>
Signed-off-by: Pablo Alejandro <pabloabur@usp.br>
Signed-off-by: Rodrigo Siqueira <siqueira@ime.usp.br>
2016-12-04 11:34:27 -02:00
Clifford Wolf
8a90e61c1a
Updated ABV to hg rev 8b555d9e67cf
2016-12-01 17:45:40 +01:00
oldtopman
277f478572
Added optional flag for linking curses with readline.
2016-11-21 23:11:58 -07:00
Clifford Wolf
e3330fb98f
We are now in 0.7+ development
2016-11-03 10:31:51 +01:00
Clifford Wolf
61f6811627
Yosys 0.7
2016-11-03 09:08:43 +01:00
Clifford Wolf
7fc69b3095
Fixed version string for out-of-tree builds
2016-10-14 17:18:18 +02:00
Clifford Wolf
09aeb9a2aa
Merge branch 'master' of github.com:cliffordwolf/yosys
2016-10-14 09:36:40 +02:00
Clifford Wolf
788e51164e
Added YOSYS_VER_STR make variable
2016-10-14 09:35:18 +02:00
Salvador E. Tropea
80749f174c
Ugh! extra patches got here, reverting
2016-10-13 17:57:09 -03:00
Salvador E. Tropea
cc8f29a1e6
Allow to overwrite ABCEXTERNAL from the environment.
...
In this way Debian scripts can define it as berkeley-abc from the shell.
2016-10-13 17:51:14 -03:00
Salvador E. Tropea
f263b175b5
Modified test target name (to test-all)
...
As this target depends on external tools, and packagers run "make test",
I think the name should be less generic.
2016-10-13 17:38:42 -03:00
Salvador E. Tropea
77ce8139a5
Added a new configuration variable GIT_REV_WHERE
...
It determines from where we get the gits SHA1 value. By default is HEAD,
suitable for Clifford, but for Debian we can define it as upstream/master
2016-10-13 17:34:15 -03:00
Clifford Wolf
e586e5e15a
Update ABV to hg rev eb6eca6807cc
2016-10-02 22:08:53 +02:00
Clifford Wolf
23594597bc
Updated ABV to hg rev 6b74de13c57f
2016-10-01 12:23:24 +02:00
Clifford Wolf
ca5462523e
Updated ABV to hg rev 2bc57cc30593
2016-09-30 10:56:36 +02:00
Eric Smith
f4240cc8a4
Add optional SEED=n command line option to Makefile, and -S n command line option to test scripts, for deterministic regression tests.
2016-09-22 11:49:29 -06:00
Clifford Wolf
ceff7ecd91
Install celledges.h
2016-09-07 13:43:57 +02:00
Clifford Wolf
e2570ffb87
Updated ABC to hg 8e08604f8ad3
2016-09-07 11:08:54 +02:00
Russell L Friesenhahn
ee620c6a24
Relax test to see if yosys dir is a git repository in Makefile
...
This prevents the test from failing in the case that yosys is a
submodule of a repository since for a submodule the .git is actually a
file containing the location of the submodule's .git directory
2016-08-26 11:15:36 -05:00
Russell L Friesenhahn
23f217b166
Allow redefining of the ABC repository URL
...
For persons or organizations that prefer to keep their own mirrors of
repositories, users may now specify the URL of the ABC Mercurial
repository that yosys clones during build.
The URL may be set in the Makefile directly, on the
command-line, or in the environment
2016-08-26 11:14:24 -05:00
Clifford Wolf
42a971226b
Fixed default build config
2016-08-16 22:44:38 +02:00
William D. Jones
5299b17056
Add MSYS2-compatible build.
2016-08-16 14:41:59 -04:00
Clifford Wolf
5531bd7578
Updated ABC to hg rev a86455b00da5
2016-08-16 09:08:26 +02:00
Clifford Wolf
b4d544f0d9
Updated ABC to hg rev 760ba358e790
2016-08-16 00:56:42 +02:00
Clifford Wolf
4561586eed
ABC mxe cross-build fix
2016-08-16 00:52:10 +02:00
Clifford Wolf
f162b858f2
Added CellEdgesDatabase API
2016-07-24 13:59:57 +02:00
Clifford Wolf
c3365034e9
Updated ABC to hg rev b5df6e2b76f0
2016-06-17 11:16:31 +02:00
Clifford Wolf
407cdea0bc
Updated min GCC requirement to GCC 4.8
2016-05-11 09:31:53 +02:00
Clifford Wolf
f103bfb9ba
Fixes for MXE build
2016-05-07 10:53:18 +02:00
Clifford Wolf
06d35ea942
Improved TCL_VERSION detection so it does not read .tclshrc
2016-04-29 10:26:22 +02:00
Clifford Wolf
38245b6733
Added msan origins tracking
2016-04-05 13:25:05 +02:00
Sergey Kvachonok
963c0d2525
Embed DATDIR make variable value into yosys binary.
...
Use it as the last resort in the share/ directory location search.
2016-03-26 11:16:53 +03:00
Sergey Kvachonok
d53a16e43a
Allow redefining pkg-config Makefile command.
...
Example usage:
$ make CXX=i686-w64-mingw32-g++ PKG_CONFIG=i686-w64-mingw32-pkg-config
2016-03-25 10:35:42 +03:00
Sergey Kvachonok
972f4a9616
Allow redefining binary and data install locations.
...
Add three more Makefile variables in addition to PREFIX:
$ make BINDIR=/.../bin LIBDIR=/.../lib DATDIR=/.../share/yosys
The defaults are:
BINDIR = $(PREFIX)/bin
LIBDIR = $(PREFIX)/lib
DATDIR = $(PREFIX)/share/yosys
2016-03-25 10:35:42 +03:00
Clifford Wolf
4f2ea221dc
Added ast.h to exported headers
2016-03-22 14:46:10 +01:00
Clifford Wolf
bb9374b67c
Improvements in ABCEXTERNAL handling
2016-03-19 20:02:40 +01:00
Sergey Kvachonok
2656b2c55a
Support calling out to an external ABC.
...
$ make ABCEXTERNAL=my-abc && make ABCEXTERNAL=my-abc install
configures yosys to use an external ABC executable instead of
building and installing the in-tree ABC copy (yosys-abc).
2016-03-19 18:36:18 +03:00
Clifford Wolf
c89f61c730
We are now in 0.6+ development
2016-02-26 17:24:31 +01:00
Clifford Wolf
5869d26da0
Yosys 0.6
2016-02-26 16:55:21 +01:00
Clifford Wolf
7a9257e7b5
Updated ABC to ae7d65e71adc
2016-02-15 15:30:46 +01:00
Clifford Wolf
0373bd98bb
Fixed MXE ABC build
2016-02-13 15:43:23 +01:00
Clifford Wolf
840a6dc893
Updated ABC
2016-02-08 01:13:53 +01:00
Clifford Wolf
e7bec9bbb8
Updated ABC
2016-02-07 08:56:32 +01:00
Clifford Wolf
7ef613ebdf
Updated ABC to hg rev ee212a9e94df
2016-02-01 15:51:27 +01:00
Clifford Wolf
71f418c468
More clang sanitizer stuff
2016-01-31 19:55:48 +01:00
Clifford Wolf
fe97110be0
Addedd clang sanitizers
2016-01-31 16:08:21 +01:00
Micah Elizabeth Scott
7948156abf
Mac build fix, gsed -> sed
...
Homebrew is calling its GNU sed just 'sed' now.
2015-12-15 10:22:35 -08:00
Clifford Wolf
b18f3a2974
Changes for Verific 3.16_484_32_151112
2015-11-12 19:28:14 +01:00
Ruben Undheim
978933704b
Use DESTDIR as defined in https://www.gnu.org/prep/standards/html_node/DESTDIR.html
...
This is needed for painless packaging of yosys
2015-10-11 00:56:20 +02:00
Ruben Undheim
2792b00792
Use LDFLAGS, CXXFLAGS and CPPFLAGS from the environment when building
2015-10-11 00:47:37 +02:00
Clifford Wolf
405cf67b64
Fixed emcc build
2015-09-21 12:33:36 +02:00
Clifford Wolf
aedcfd6fd3
Fixed Makefile rules for generated share files
2015-08-16 21:15:07 +02:00
Larry Doolittle
1e67b29919
Fix version strings for out-of-tree builds
...
Still assumes source tree is a git repository
2015-08-14 23:27:19 +02:00
Clifford Wolf
fc20b1c3d2
Fixed "make clean" for out-of-tree builds
2015-08-12 16:54:30 +02:00
Clifford Wolf
e4ef000b70
Adjust makefiles to work with out-of-tree builds
...
This is based on work done by Larry Doolittle
2015-08-12 15:04:44 +02:00
Clifford Wolf
4e4b156e13
Added ENABLE_LIBYOSYS Makefile option
2015-08-04 20:25:26 +02:00
Clifford Wolf
31b555ae72
Added libyosys.so build
2015-08-04 13:22:49 +02:00
Clifford Wolf
3049a08912
Updated ABC
2015-07-06 17:45:40 +02:00
Clifford Wolf
94fbaff58f
Using static mem size of 128 MB in emcc build
2015-06-20 08:58:02 +02:00
Clifford Wolf
285f140f60
Makefile fix for YosysJS build
2015-06-11 15:48:40 +02:00
Clifford Wolf
e49e2662aa
Added cellaigs API
2015-06-09 09:54:22 +02:00
Clifford Wolf
7dad017c9c
abc/blifparse files reorganization
2015-05-17 14:44:28 +02:00
Clifford Wolf
bd0597137d
Updated ABC to hg rev 779de2de1481
2015-04-25 18:07:13 +02:00
Clifford Wolf
082550f1f3
Updated ABC to 51705b168d7a
2015-04-04 11:47:59 +02:00
Clifford Wolf
e0e6d130cd
YosysJS stuff
2015-02-19 13:36:54 +01:00
Clifford Wolf
33e80b96c7
Added YosysJS wrapper
2015-02-16 12:41:48 +01:00
Clifford Wolf
0283703f9e
Added Viz to yosys.js
2015-02-15 22:53:41 +01:00
Clifford Wolf
8d45f81046
More emcc stuff
2015-02-15 17:15:29 +01:00
Clifford Wolf
3216f9420e
More emscripten stuff, Added example app
2015-02-15 12:09:30 +01:00
Clifford Wolf
86819cc9f8
Fixed default EMCCFLAGS
2015-02-15 10:30:29 +01:00
Clifford Wolf
2f0edff019
Added EMCCFLAGS
2015-02-13 12:32:04 +01:00
Clifford Wolf
68979d1395
Various changes to release checklist
2015-02-09 16:36:37 +01:00
Clifford Wolf
e0ff4d1152
We are now in 0.5+ development
2015-02-09 13:13:51 +01:00
Clifford Wolf
c3c9fbfb8c
Yosys 0.5
2015-02-09 12:49:52 +01:00
Clifford Wolf
8901f405ca
Bugfix in "make vcxsrc"
2015-02-09 12:48:15 +01:00
Clifford Wolf
0fcc8c1467
Minor "make vgtest" changes
2015-02-08 15:13:51 +01:00
Clifford Wolf
0da320f151
Cleanup in add_share_file make macro
2015-02-08 00:01:31 +01:00
Clifford Wolf
2ef812d67e
Removed "make mklibyosys"
2015-02-07 19:05:06 +01:00
Clifford Wolf
743da01e9e
Improved building of plugins
2015-02-07 19:04:06 +01:00
Clifford Wolf
cc400b279a
Added "make uninstall"
2015-02-07 17:46:46 +01:00
Clifford Wolf
ac7d5e0658
Auto-detect TCL version
2015-02-05 23:39:26 +01:00
Clifford Wolf
1df81f92ce
Added "make mklibyosys", some minor API changes
2015-02-01 13:38:46 +01:00
Clifford Wolf
c7c99a694b
Updaed ABC to hg rev 61ad5f908c03
2015-01-27 19:22:56 +01:00
Clifford Wolf
2a9ad48eb6
Added ENABLE_NDEBUG makefile options
2015-01-24 12:16:46 +01:00
Clifford Wolf
0bfec8e24c
Faster "make clean-abc"
2015-01-20 23:17:53 +00:00
Martin Schmölzer
026b94a6f1
Add "echo-yosys-ver" and "echo-git-rev" Makefile targets.
...
These Makefile targets simply echo the corresponding Makefile variable,
simplifying package build scripts.
Signed-off-by: Martin Schmölzer <mschmoelzer@gmail.com>
2015-01-18 16:20:57 +01:00
Clifford Wolf
dd699e03c1
Small Makefile typo fix
2015-01-13 12:21:27 +01:00
Fabio Utzig
0a231f96d7
Enable use of homebrew's provided bison if available
2015-01-08 09:58:24 -02:00
Fabio Utzig
fff6f00b3c
Enable bison to be customized
2015-01-08 09:56:20 -02:00
Fabio Utzig
b16ed78b43
Add homebrew's libffi paths
2015-01-08 09:54:28 -02:00
Fabio Utzig
0ca889a433
Add homebrew's readline paths
2015-01-08 09:52:30 -02:00
Clifford Wolf
1d96277f5d
Added add_share_file Makefile macro
2015-01-08 00:23:18 +01:00
Clifford Wolf
bbf89c4dc6
Progress in memory_bram
2015-01-02 13:59:47 +01:00
Clifford Wolf
e52d1f9b9a
Added new_dict (hashmap.h) and re-enabled code coverage counters
2014-12-26 19:28:52 +01:00
Clifford Wolf
c832b188a5
Another 'make vcxsrc'
2014-11-12 01:17:11 +01:00
Clifford Wolf
a8cdcb3dd2
Some fixed in "make vcxsrc" srcfiles.txt creation
2014-11-12 00:45:21 +01:00
Clifford Wolf
cb1b245a8d
Split MXE "make dist" into MXE "make mxebin" and non-MXE "make vcxsrc"
2014-11-12 00:26:47 +01:00
Clifford Wolf
cb9e10b462
Added automatic "make clean" to abc "hg pull" make rules
2014-11-08 22:19:22 +01:00
Clifford Wolf
73f5ffcce8
Now we are in Yoys 0.4+ development
2014-11-08 12:23:54 +01:00
Clifford Wolf
d5aa0ee158
Yosys 0.4
2014-11-08 12:15:01 +01:00
Clifford Wolf
4f4d729e02
Updated ABC to 5b5af75f1dda
2014-11-07 14:39:49 +01:00
Clifford Wolf
a346c0bf2b
Made "cover" a compile-time option (disabled by default)
2014-11-06 09:39:55 +01:00
Clifford Wolf
80869531b9
Removed QMAKE variable from Makefile
2014-11-05 10:37:37 +01:00
Clifford Wolf
0471d158d9
Various improvements to version reporting on win32
2014-10-18 19:00:52 +02:00
Clifford Wolf
57cd485236
Disabled READLINE in MXE cross build
2014-10-18 18:21:33 +02:00
Clifford Wolf
85572b05e5
Create vcxsrc in mxe build "make dist"
2014-10-18 15:17:33 +02:00
Clifford Wolf
b5da3a60e1
Moved yosys-config.in to misc/
2014-10-18 14:15:05 +02:00
Clifford Wolf
c321b419d4
Added notes regarding building in VS
2014-10-17 16:39:24 +02:00
Clifford Wolf
e8a609f0e5
Added vcxproj_files.txt to MXE "make dist"
2014-10-17 16:05:00 +02:00
Clifford Wolf
b3a6f8f530
More win32 (mxe and vs) build fixes
2014-10-17 16:04:59 +02:00
Clifford Wolf
468ae92374
Various win32 / vs build fixes
2014-10-17 14:01:47 +02:00
Clifford Wolf
973d376733
Added genfiles.zip to MXE "make dist"
2014-10-17 12:11:15 +02:00
Clifford Wolf
3445a933a5
Fixed MXE build
2014-10-15 02:43:50 +02:00
Clifford Wolf
2873a8444e
Updated ABC, enabled ABC in mxe builds
2014-10-15 00:41:14 +02:00
Clifford Wolf
09d2e5cf5d
Fixed ABC ARCHFLAGS for win32 cross build
2014-10-12 15:02:40 +02:00
Clifford Wolf
0913e968f5
More win32/abc fixes
2014-10-12 14:48:19 +02:00
Clifford Wolf
2fdb3a4a91
Various Makefile changes for cross-compiling ABC for Win32
2014-10-12 13:48:05 +02:00
Clifford Wolf
f30aee01f9
Added "make dist" for mxe builds
2014-10-11 11:53:36 +02:00
Clifford Wolf
217c7c7b8d
Fixed Makefile PRETTY=1 for MXE (win32) and EMCC (js) builds
2014-10-11 11:44:36 +02:00
Clifford Wolf
a32e067e5c
Strip win32 executeables
2014-10-11 11:35:54 +02:00
Clifford Wolf
e8c66ee36b
Fixed MXE readline support
2014-10-11 10:59:11 +02:00
Clifford Wolf
ccf7b2e342
Added mxe-based cross build for win32
2014-10-09 10:50:44 +02:00
Clifford Wolf
f9a307a50b
namespace Yosys
2014-09-27 16:17:53 +02:00
Clifford Wolf
ba61925071
Added commit count to devel version number
2014-09-17 07:19:34 +02:00
Clifford Wolf
7815f81c32
Added "synth" command
2014-09-14 16:09:06 +02:00
Clifford Wolf
3ae96f85a5
Using pkg-config to find libffi
2014-09-13 17:28:15 +02:00
Ruben Undheim
79cbf9067c
Corrected spelling mistakes found by lintian
2014-09-06 08:47:06 +02:00
Clifford Wolf
ee29ae2206
Removed yosys-svgviewer
2014-09-02 03:52:46 +02:00
Clifford Wolf
cfb4338319
Fixed printing of multi-line Makefile.conf
2014-08-27 12:13:53 +02:00
Clifford Wolf
e70480655e
Print Makefile.conf as make info message
2014-08-26 10:11:46 +02:00
Clifford Wolf
672b2c6db1
Checking for valid CONFIG value in Makefile
2014-08-25 12:48:20 +02:00
Clifford Wolf
58367cd87a
Removed compatbility.{h,cc}: Not using open_memstream/fmemopen anymore
2014-08-23 15:14:58 +02:00
Clifford Wolf
98442e019d
Added emscripten (emcc) support to build system and some build fixes
2014-08-22 16:20:22 +02:00
Clifford Wolf
74af3a2b70
Archibald Rust and Clifford Wolf: ffi-based dpi_call()
2014-08-22 14:22:09 +02:00
Clifford Wolf
a3494fa9ed
Added "plugin" command
2014-08-22 14:00:11 +02:00
Clifford Wolf
752650a062
Updated ABC to 4d547a5e065b
2014-08-22 12:20:23 +02:00
Clifford Wolf
aa3a6663e2
Makefile fixes
2014-08-17 02:24:53 +02:00
Clifford Wolf
a878095b46
Updated ABC to 4935c2b946de
2014-08-14 10:19:12 +02:00
Clifford Wolf
51aa5544fb
Improved FSM tests
2014-08-08 15:08:11 +02:00
Clifford Wolf
0b8b8d41eb
Fixed build with gcc-4.6
2014-08-07 22:37:01 +02:00
Clifford Wolf
62c8a71525
Various cleanups in Makefile, Renamed default configurations
2014-07-31 23:14:17 +02:00
Clifford Wolf
069fe0db42
Added compiler + compiler version + compiler flags to version string
2014-07-31 23:07:00 +02:00
Clifford Wolf
7d98645fe8
Added "make -j{N}" support to "make test"
2014-07-30 19:23:26 +02:00
Clifford Wolf
a7c6b37abf
Added "kernel/yosys.h" and "kernel/yosys.cc"
2014-07-30 14:10:15 +02:00
Clifford Wolf
d7916a49af
New message for completion of build
2014-07-26 21:35:16 +02:00
Clifford Wolf
b21ebe1859
Added tests/various/submod_extract.ys
2014-07-26 17:22:18 +02:00
Clifford Wolf
b90f443338
Added "passed" message to make test targets
2014-07-26 14:08:20 +02:00
Clifford Wolf
665759fcee
Cosmetic fixes for "make abc"
2014-07-26 11:55:58 +02:00