Commit Graph

730 Commits

Author SHA1 Message Date
github-actions[bot] b20bb653ce Bump version 2021-08-31 00:51:55 +00:00
github-actions[bot] 1dbf91a8ef Bump version 2021-08-30 00:49:03 +00:00
github-actions[bot] 591fe72203 Bump version 2021-08-23 00:46:01 +00:00
github-actions[bot] 21e710eb55 Bump version 2021-08-21 00:48:23 +00:00
Miodrag Milanovic b59c427348 Make Verific extensions optional 2021-08-20 10:19:04 +02:00
github-actions[bot] 75a4cdfc8a Bump version 2021-08-18 00:51:20 +00:00
github-actions[bot] e6dd4db0af Bump version 2021-08-17 00:49:33 +00:00
github-actions[bot] 83c0f82dc8 Bump version 2021-08-15 00:50:04 +00:00
github-actions[bot] 539d4ee907 Bump version 2021-08-14 00:46:42 +00:00
Rupert Swarbrick ee2b5b7ed1 Generate an RTLIL representation of bind constructs
This code now takes the AST nodes of type AST_BIND and generates a
representation in the RTLIL for them.

This is a little tricky, because a binding of the form:

    bind baz foo_t foo_i (.arg (1 + bar));

means "make an instance of foo_t called foo_i, instantiate it inside
baz and connect the port arg to the result of the expression 1+bar".
Of course, 1+bar needs a cell for the addition. Where should that cell
live?

With this patch, the Binding structure that represents the construct
is itself an AST::AstModule module. This lets us put the adder cell
inside it. We'll pull the contents out and plonk them into 'baz' when
we actually do the binding operation as part of the hierarchy pass.

Of course, we don't want RTLIL::Binding to contain an
AST::AstModule (since kernel code shouldn't depend on a frontend), so
we define RTLIL::Binding as an abstract base class and put the
AST-specific code into an AST::Binding subclass. This is analogous to
the AST::AstModule class.
2021-08-13 17:11:35 -06:00
github-actions[bot] c8023e37d8 Bump version 2021-08-13 00:50:48 +00:00
github-actions[bot] bfcd08a323 Bump version 2021-08-12 00:49:51 +00:00
github-actions[bot] b96eb888cc Bump version 2021-08-11 00:52:20 +00:00
github-actions[bot] f368e2c7e6 Bump version 2021-08-10 00:52:49 +00:00
Marcelina Kościelnicka d25b9088c8 Refactor common parts of SAT-using optimizations into a helper.
This also aligns the functionality:

- in all cases, the onehot attribute is used to create appropriate
  constraints (previously, opt_dff didn't do it at all, and share
  created one-hot constraints based on $pmux presence alone, which
  is unsound)
- in all cases, shift and mul/div/pow cells are now skipped when
  importing the SAT problem (previously only memory_share did this)
  — this avoids creating clauses for hard cells that are unlikely
  to help with proving the UNSATness needed for optimization
2021-08-09 16:54:35 +02:00
github-actions[bot] d8fcf1ab25 Bump version 2021-08-08 00:50:48 +00:00
github-actions[bot] a24906a7d2 Bump version 2021-08-07 00:45:55 +00:00
github-actions[bot] 2e421feb0e Bump version 2021-08-05 00:51:08 +00:00
github-actions[bot] d8b0c3277f Bump version 2021-08-04 00:49:53 +00:00
github-actions[bot] ca8ad62696 Bump version 2021-08-03 00:55:22 +00:00
github-actions[bot] 10bcc4e192 Bump version 2021-08-02 00:50:24 +00:00
github-actions[bot] 12db9b4273 Bump version 2021-07-31 00:50:30 +00:00
github-actions[bot] 87ef1dd805 Bump version 2021-07-30 00:52:33 +00:00
github-actions[bot] a055145b95 Bump version 2021-07-29 00:49:14 +00:00
github-actions[bot] 37d76deef1 Bump version 2021-07-28 00:52:46 +00:00
github-actions[bot] 9600f20be8 Bump version 2021-07-27 00:52:14 +00:00
Miodrag Milanovic 7a5ac90985 Update to latest Verific with extensions for initial assertions 2021-07-09 09:02:27 +02:00
Xiretza 75e5500d4d Makefile: allow running multiple sanitizers at once 2021-07-05 16:42:10 +02:00
Xiretza a189284a28 Makefile: use git/make -C instead of cd 2021-07-05 16:42:01 +02:00
Xiretza ef68c2762c Makefile: pass PRETTY=0 to ABC 2021-07-05 16:40:48 +02:00
Xiretza 9c31ecfab8 Makefile: don't bake DESTDIR into libyosys DT_SONAME
DESTDIR is only used as a temporary destination for installed files
before they are packaged into an archive; the "real" installed location
is determined by PREFIX/{BIN,LIB,DAT}DIR.
2021-07-05 16:39:16 +02:00
Xiretza 18f4ae482c Makefile: clean up PYOSYS configuration 2021-07-05 16:38:58 +02:00
Ashton Snelgrove 092f0cb01e Include blif reader header in public facing extension header files. 2021-06-16 22:29:34 +02:00
Claire Xenia Wolf 0ada13cbe2 Use HTTPS for website links, gatecat email
git ls-tree -r --name-only HEAD | xargs sed -i -rf ~/fixemails.sed

s/((Claire|Xen|Xenia|Clifford)\s+)+(Wolf|Xen)\s+<(claire|clifford)@(symbioticeda.com|clifford.at|yosyshq.com)>/Claire Xenia Wolf <claire@yosyshq.com>/gi;
s/((Nina|Nak|N\.)\s+)+Engelhardt\s+<nak@(symbioticeda.com|yosyshq.com)>/N. Engelhardt <nak@yosyshq.com>/gi;
s/((David)\s+)+(Shah|gatecat)\s+<(dave|david|gatecat)@(symbioticeda.com|yosyshq.com|ds0.me)>/gatecat <gatecat@ds0.me>/gi;
s/((Miodrag)\s+)+Milanovic\s+<(miodrag|micko)@(symbioticeda.com|yosyshq.com)>/Miodrag Milanovic <micko@yosyshq.com>/gi;
s,https?://www.clifford.at/yosys/|http://yosyshq.net/yosys/,https://yosyshq.net/yosys/,g;
2021-06-09 12:16:56 +02:00
Claire Xenia Wolf 72787f52fc Fixing old e-mail addresses and deadnames
s/((Claire|Xen|Xenia|Clifford)\s+)+(Wolf|Xen)\s+<(claire|clifford)@(symbioticeda.com|clifford.at|yosyshq.com)>/Claire Xenia Wolf <claire@yosyshq.com>/gi;
s/((Nina|Nak|N\.)\s+)+Engelhardt\s+<nak@(symbioticeda.com|yosyshq.com)>/N. Engelhardt <nak@yosyshq.com>/gi;
s/((David)\s+)+Shah\s+<(dave|david)@(symbioticeda.com|yosyshq.com|ds0.me)>/David Shah <dave@ds0.me>/gi;
s/((Miodrag)\s+)+Milanovic\s+<(miodrag|micko)@(symbioticeda.com|yosyshq.com)>/Miodrag Milanovic <micko@yosyshq.com>/gi;
s,https?://www.clifford.at/yosys/,http://yosyshq.net/yosys/,g;
2021-06-08 00:39:36 +02:00
Marcelina Kościelnicka 1eea06bcc0 Add new helper class for merging FFs into cells, use for memory_dff.
Fixes #1854.
2021-05-23 14:46:59 +02:00
Marcelina Kościelnicka 25de8faf10 Bump version 2021-05-20 12:50:32 +02:00
Marcelina Kościelnicka 32a0ce9d68 blif: Use library cells' start_offset and upto for wideports.
Fixes #2729.
2021-05-08 15:50:03 +02:00
Marcelina Kościelnicka 687f381b69 Bump version 2021-03-30 02:30:17 +02:00
Lofty f4298b057a quicklogic: PolarPro 3 support
Co-authored-by: Grzegorz Latosiński <glatosinski@antmicro.com>
Co-authored-by: Maciej Kurc <mkurc@antmicro.com>
Co-authored-by: Tarachand Pagarani <tpagarani@quicklogic.com>
Co-authored-by: Lalit Sharma <lsharma@quicklogic.com>
Co-authored-by: kkumar23 <kkumar@quicklogic.com>
2021-03-18 13:28:16 +01:00
Marcelina Kościelnicka 0b0e219765 Bump version 2021-03-08 20:18:11 +01:00
Marcelina Kościelnicka 0e0f84299a Bump version 2021-03-01 19:33:05 +01:00
Marcelina Kościelnicka 5d0cc54f5c Bump version 2021-02-26 00:24:33 +01:00
William D. Jones 9cb0bae1b2 machxo2: Add test/arch/machxo2 directory (test does not pass). 2021-02-23 17:39:58 +01:00
Yosys Bot 127484e675 Bump version 2021-02-18 00:10:06 +00:00
Yosys Bot 78684596dc Bump version 2021-02-16 00:10:06 +00:00
Yosys Bot 4e741adda9 Bump version 2021-02-13 00:10:04 +00:00
Yosys Bot 17c895cbf8 Bump version 2021-02-12 00:10:05 +00:00
Yosys Bot eff18a2b15 Bump version 2021-02-07 00:10:04 +00:00
Yosys Bot 2f64f96129 Bump version 2021-02-06 00:10:05 +00:00
Yosys Bot 7c6bf42db8 Bump version 2021-02-05 00:10:05 +00:00
Yosys Bot afcc31ceba Bump version 2021-02-04 00:10:05 +00:00
Yosys Bot beeaad1904 Bump version 2021-01-31 00:10:05 +00:00
Yosys Bot 1057273852 Bump version 2021-01-30 00:10:05 +00:00
Yosys Bot ffa1cb836b Bump version 2021-01-29 00:10:05 +00:00
Yosys Bot 98afe2b758 Bump version 2021-01-27 00:10:04 +00:00
Yosys Bot 8eaeaa8434 Bump version 2021-01-26 00:10:05 +00:00
Yosys Bot 410ea42242 Bump version 2021-01-25 00:10:07 +00:00
Yosys Bot 54294957ed Bump version 2021-01-22 00:10:05 +00:00
Yosys Bot 699a98b265 Bump version 2021-01-21 00:10:05 +00:00
Yosys Bot 4762cc06c6 Bump version 2021-01-19 00:10:05 +00:00
Yosys Bot 339848b954 Bump version 2021-01-15 00:10:05 +00:00
Yosys Bot 7cd044bbc4 Bump version 2021-01-14 00:10:05 +00:00
Yosys Bot b0004911ca Bump version 2021-01-05 00:10:05 +00:00
Yosys Bot b72c294653 Bump version 2021-01-02 00:10:04 +00:00
umarcor 7f28afd3ac makefile: fix GHDL vars, replace GHDL_DIR with GHDL_PREFIX 2020-12-30 07:06:52 +01:00
Yosys Bot 48d0aeb094 Bump version 2020-12-30 00:10:06 +00:00
whitequark e609bc4898
Merge pull request #2514 from umarcor/feat/ghdl
makefile: add support for built-in ghdl-yosys-plugin
2020-12-29 02:58:41 +00:00
Yosys Bot 0347b441a1 Bump version 2020-12-29 00:10:04 +00:00
umarcor a652430c71 makefile: add support for built-in ghdl-yosys-plugin
Co-authored-by: Tristan Gingold <tgingold@free.fr>
Co-authored-by: whitequark <whitequark@whitequark.org>
2020-12-28 22:45:00 +01:00
umarcor 0ebce301c1 makefile: rename msys2 to msys2-32, config PREFIX 2020-12-28 02:23:04 +01:00
Yosys Bot f48298347c Bump version 2020-12-28 00:10:04 +00:00
Yosys Bot af457ce8d0 Bump version 2020-12-27 00:10:10 +00:00
Yosys Bot 4491548037 Bump version 2020-12-24 00:10:08 +00:00
Yosys Bot 832f6aa777 Bump version 2020-12-23 00:10:07 +00:00
Yosys Bot b62a892b2f Bump version 2020-12-22 00:10:05 +00:00
Yosys Bot b90d51e35d Bump version 2020-12-20 00:10:10 +00:00
Yosys Bot eaf6b551b6 Bump version 2020-12-18 00:10:05 +00:00
Yosys Bot 40e35993af Bump version 2020-12-15 00:10:06 +00:00
Yosys Bot 5a881497e1 Bump version 2020-12-13 00:10:07 +00:00
Yosys Bot 442d19f647 Bump version 2020-12-10 00:10:10 +00:00
Yosys Bot c46452221e Bump version 2020-12-09 00:10:04 +00:00
Yosys Bot 95c6086681 Bump version 2020-12-04 00:10:06 +00:00
Yosys Bot 5a15307926 Bump version 2020-12-03 00:10:09 +00:00
whitequark 975b2d4283
Merge pull request #2455 from gsomlo/gls-fedpkg-fixes
Fixes for building Fedora distro RPMs of yosys
2020-12-02 22:19:52 +00:00
Yosys Bot d021f4b400 Bump version 2020-12-02 00:10:06 +00:00
Gabriel Somlo 6a328e7032 fixup over commit 829b5cca to re-enable ABCEXTERNAL support 2020-11-26 06:12:12 -05:00
Yosys Bot 2116c58581 Bump version 2020-11-26 00:10:09 +00:00
whitequark c6b5b18a30
Merge pull request #2442 from cr1901/sccache
Makefile: Add disabled-by-default ENABLE_SCCACHE config option.
2020-11-25 02:48:39 +00:00
William D. Jones 9431033921 Makefile: Update ABCREV to bring in sccache fixes. 2020-11-24 21:32:27 -05:00
Yosys Bot 88c47a380b Bump version 2020-11-25 00:10:05 +00:00
Yosys Bot 949eb95593 Bump version 2020-11-21 00:10:06 +00:00
William D. Jones 296a23f489 Makefile: Add disabled-by-default ENABLE_SCCACHE config option. 2020-11-19 13:23:54 -05:00
Yosys Bot 5b35d953f7 Bump version 2020-11-19 00:10:10 +00:00
Yosys Bot 58e8901fee Bump version 2020-11-17 00:10:06 +00:00
Yosys Bot 71ca9a8253 Bump version 2020-11-11 00:10:17 +00:00
Yosys Bot 014c7e26b8 Bump version 2020-11-08 00:10:06 +00:00
whitequark 630be7e11a
Merge pull request #2414 from zeldin/abc-depend-clang-fix
Prevent CXXFLAGS from leaking to abc Makefile
2020-11-07 18:48:03 +00:00
Marcus Comstedt 5594594e16 Prevent CXXFLAGS from leaking to abc Makefile
This fixes an issue with abc/depends.sh when the compiler is clang.
2020-11-07 16:02:49 +01:00
Yosys Bot e7f36d01e4 Bump version 2020-11-03 00:10:05 +00:00
Yosys Bot d9af3cadf8 Bump version 2020-11-02 00:10:06 +00:00
Yosys Bot 56054f2ce3 Bump version 2020-11-01 00:10:05 +00:00
Yosys Bot 166a84bdb8 Bump version 2020-10-31 00:10:15 +00:00
Yosys Bot e2a39bb1e7 Bump version 2020-10-25 00:10:05 +00:00
Yosys Bot 623526d17d Bump version 2020-10-23 00:10:07 +00:00
Yosys Bot 1a7a597e07 Bump version 2020-10-22 00:10:06 +00:00
Marcelina Kościelnicka 8720482ebd Add new helper structures to represent memories. 2020-10-21 17:51:20 +02:00
Yosys Bot c76d533e07 Bump version 2020-10-21 00:10:07 +00:00
Yosys Bot 06347b119b Bump version 2020-10-20 00:10:06 +00:00
Miodrag Milanović ac0bd2ffc4
Merge pull request #2397 from daveshah1/nexus
synth_nexus: Initial implementation
2020-10-19 11:20:56 +02:00
Yosys Bot 4c925a3214 Bump version 2020-10-16 00:10:07 +00:00
David Shah 4d584d9319 synth_nexus: Initial implementation
Signed-off-by: David Shah <dave@ds0.me>
2020-10-15 08:52:15 +01:00
Yosys Bot 84e9fa7648 Bump version 2020-10-13 00:10:06 +00:00
Yosys Bot c403c984dd Bump version 2020-10-09 00:10:05 +00:00
Yosys Bot fd306b0520 Bump version 2020-10-06 00:10:06 +00:00
Yosys Bot 5aa35b8992 Bump version 2020-10-03 00:10:06 +00:00
Yosys Bot a1a3e686c7 Bump version 2020-10-02 00:10:05 +00:00
Yosys Bot f9ed9786bf Bump version 2020-10-01 00:10:08 +00:00
Miodrag Milanovic 9e00f3f141 Fixed installation dir override for Python scripts 2020-09-30 07:47:36 +02:00
Yosys Bot 5a3ac39f5f Bump version 2020-09-30 00:10:09 +00:00
Yosys Bot dfc43c38f8 Bump version 2020-09-29 00:10:05 +00:00
Miodrag Milanović 08eb0821c9
Merge pull request #2386 from btut/fix/pyinstallpath
Fixed python installation path
2020-09-28 12:54:38 +02:00
Benedikt Tutzer 4892ec853b Use CXXFLAGS to enable pyosys specific code before generating wrappers
The .pyh files were generated without the CXXFLAGS. This meant that code
marked by the WITH_PYTHON flag was excluded. This is fixed by adding the
flag in the rule for .pyh files.
2020-09-25 12:57:46 +02:00
Benedikt Tutzer 9266d20afc Fixed python installation path
The path where python expects it's libraries seems to change from
operating system to operating system, but can be querried from the site
package.
2020-09-25 11:21:16 +02:00
Yosys Bot cd8b2ed4e6 Bump version 2020-09-24 00:10:06 +00:00
Yosys Bot 8fbb517118 Bump version 2020-09-22 00:10:15 +00:00
Yosys Bot c6ff947f6b Bump version 2020-09-19 00:10:08 +00:00
Yosys Bot 7affef7c17 Bump version 2020-09-18 00:10:08 +00:00
Yosys Bot 859e52af59 Bump version 2020-09-11 00:10:06 +00:00
Yosys Bot 474cd02eb5 Bump version 2020-09-04 00:10:06 +00:00
Yosys Bot d963bdb484 Bump version 2020-09-03 00:10:06 +00:00
Yosys Bot 463869bf4f Bump version 2020-09-02 00:10:07 +00:00
Yosys Bot 244af8b8b7 Bump version 2020-09-01 00:10:06 +00:00
Yosys Bot 3030c2b46c Bump version 2020-08-30 00:10:07 +00:00
Yosys Bot f752023556 Bump version 2020-08-29 00:10:06 +00:00
Yosys Bot c75d8c7439 Bump version 2020-08-28 00:10:07 +00:00
whitequark a0177569ac
Merge pull request #2357 from whitequark/cxxflags-MP
Add -MP to CXXFLAGS
2020-08-27 11:40:57 +00:00
whitequark 702f7c0253
Merge pull request #2358 from whitequark/rename-ilang-to-rtlil
Replace "ILANG" with "RTLIL" everywhere
2020-08-27 11:24:06 +00:00
Yosys Bot 925c0f2594 Bump version 2020-08-27 00:10:06 +00:00
whitequark 00e7dec7f5 Replace "ILANG" with "RTLIL" everywhere.
The only difference between "RTLIL" and "ILANG" is that the latter is
the text representation of the former, as opposed to the in-memory
graph representation. This distinction serves no purpose but confuses
people: it is not obvious that the ILANG backend writes RTLIL graphs.

Passes `write_ilang` and `read_ilang` are provided as aliases to
`write_rtlil` and `read_rtlil` for compatibility.
2020-08-26 17:29:32 +00:00
whitequark deb19e1574 Add -MP to CXXFLAGS.
This avoids an issue where deleting or moving headers breaks the next
incremental build until the outdated *.d files are deleted.
2020-08-26 16:56:10 +00:00
Yosys Bot 12132b6850 Bump version 2020-08-23 00:10:08 +00:00
Yosys Bot dc20d9e842 Bump version 2020-08-21 00:10:06 +00:00
Yosys Bot 23719ad46d Bump version 2020-08-20 00:10:07 +00:00
Yosys Bot 93d663be62 Bump version 2020-08-19 00:10:09 +00:00
Yosys Bot 3cb3978ff4 Bump version 2020-08-14 00:10:13 +00:00
Yosys Bot f61d62a7bc Bump version 2020-08-13 00:10:08 +00:00
Yosys Bot 04f6158bf2 Bump version 2020-08-10 09:30:51 +00:00
Claire Wolf c39ebe6ae0 Bump YOSYS_VER
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-07-31 20:57:41 +02:00
Marcelina Kościelnicka dafe04d559 Add utility module for representing flip-flops. 2020-07-23 23:39:46 +02:00