Clifford Wolf [Thu, 23 Feb 2017 13:21:02 +0000 (14:21 +0100)]
Fix mingw compile issue (2nd attempt)
Clifford Wolf [Thu, 23 Feb 2017 12:59:02 +0000 (13:59 +0100)]
Fix mingw compile issue (maybe.. I can't test it)
Clifford Wolf [Thu, 23 Feb 2017 10:21:33 +0000 (11:21 +0100)]
Added SystemVerilog support for ++ and --
Clifford Wolf [Wed, 22 Feb 2017 18:20:47 +0000 (19:20 +0100)]
Update ABC to hg rev
8da4dc435b9f
Clifford Wolf [Sun, 19 Feb 2017 21:51:29 +0000 (22:51 +0100)]
Add "yosys-smtbmc -S <opt>"
Clifford Wolf [Thu, 16 Feb 2017 11:28:42 +0000 (12:28 +0100)]
Copy attributes to _TECHMAP_REPLACE_ cells
Clifford Wolf [Thu, 16 Feb 2017 11:17:03 +0000 (12:17 +0100)]
Fix eval implementation of $_NOR_
Clifford Wolf [Tue, 14 Feb 2017 14:10:59 +0000 (15:10 +0100)]
Fix incorrect "incompatible re-declaration of wire" error in tasks/functions
Clifford Wolf [Tue, 14 Feb 2017 11:49:35 +0000 (12:49 +0100)]
Add warning about x/z bits left unconnected in EDIF output
Clifford Wolf [Tue, 14 Feb 2017 10:57:54 +0000 (11:57 +0100)]
Fix double-call of log_pop() in synth_greenpak4
Clifford Wolf [Tue, 14 Feb 2017 10:49:14 +0000 (11:49 +0100)]
Merge pull request #313 from azidar/bugfix-assign-wmask
More progress on Firrtl backend.
Adam Izraelevitz [Tue, 22 Nov 2016 01:28:17 +0000 (17:28 -0800)]
More progress on Firrtl backend.
Chisel -> Firrtl -> Verilog -> Firrtl -> Verilog is successful for a
simple rocket-chip design.
Clifford Wolf [Mon, 13 Feb 2017 16:07:38 +0000 (17:07 +0100)]
Do not fix port widths on any blackbox instances
Clifford Wolf [Mon, 13 Feb 2017 15:55:25 +0000 (16:55 +0100)]
Fix techmap for inout ports connected to inout ports
Clifford Wolf [Sun, 12 Feb 2017 16:42:57 +0000 (17:42 +0100)]
Do not eagerly fix port widths on parameterized cells
Clifford Wolf [Sun, 12 Feb 2017 10:11:00 +0000 (11:11 +0100)]
Add "yosys -w" for suppressing warnings
Clifford Wolf [Sat, 11 Feb 2017 14:57:36 +0000 (15:57 +0100)]
Add support for verific mem initialization
Clifford Wolf [Sat, 11 Feb 2017 10:47:51 +0000 (11:47 +0100)]
Fix another stupid bug in the same line
Clifford Wolf [Sat, 11 Feb 2017 10:40:18 +0000 (11:40 +0100)]
Add verific support for initialized variables
Clifford Wolf [Sat, 11 Feb 2017 10:39:50 +0000 (11:39 +0100)]
Improve handling of Verific warnings and error messages
Clifford Wolf [Sat, 11 Feb 2017 10:09:07 +0000 (11:09 +0100)]
Fix extremely stupid typo
Clifford Wolf [Sat, 11 Feb 2017 10:08:12 +0000 (11:08 +0100)]
Add log_wire() API
Clifford Wolf [Sat, 11 Feb 2017 09:50:48 +0000 (10:50 +0100)]
Fixed some "used uninitialized" warnings in opt_expr
Clifford Wolf [Sat, 11 Feb 2017 09:28:13 +0000 (10:28 +0100)]
Evaluate all the $(shell ...) stuff for CXXFLAGS et al only once
Clifford Wolf [Sat, 11 Feb 2017 09:20:10 +0000 (10:20 +0100)]
Merge branch 'stv0g-master'
Clifford Wolf [Sat, 11 Feb 2017 09:19:21 +0000 (10:19 +0100)]
Make MacOS Makefile stuff more compact
Clifford Wolf [Sat, 11 Feb 2017 09:12:17 +0000 (10:12 +0100)]
Merge branch 'master' of https://github.com/stv0g/yosys into stv0g-master
Clifford Wolf [Sat, 11 Feb 2017 09:01:17 +0000 (10:01 +0100)]
Add optimization of (a && 1'b1) and (a || 1'b0)
Clifford Wolf [Sat, 11 Feb 2017 09:04:48 +0000 (10:04 +0100)]
Merge pull request #308 from C-Elegans/opt_compare_fix_pr
Fix issue #306, "Bug in opt -full"
C-Elegans [Fri, 10 Feb 2017 15:28:19 +0000 (10:28 -0500)]
Fix issue #306, "Bug in opt -full"
Add check for whether the high bit in the constant expression is greater
than the width of the variable, and optimizes that to a constant 1 or
0
Steffen Vogel [Fri, 10 Feb 2017 13:06:54 +0000 (10:06 -0300)]
Use pkg-config for linking tcl-tk
Both MacPorts and Homebrew have a pkg-config file for TCL. So lets use it.
Steffen Vogel [Fri, 10 Feb 2017 13:04:42 +0000 (10:04 -0300)]
Dont mix Homebrew and MacPorts build options
Steffen Vogel [Thu, 9 Feb 2017 22:08:21 +0000 (19:08 -0300)]
Remove space after backslash
Steffen Vogel [Thu, 9 Feb 2017 21:53:37 +0000 (18:53 -0300)]
Applied fixes from @joshhead (thanks for your effors!)
Clifford Wolf [Thu, 9 Feb 2017 15:06:58 +0000 (16:06 +0100)]
Fix handling of init attributes with strange width
Clifford Wolf [Thu, 9 Feb 2017 12:51:44 +0000 (13:51 +0100)]
Add checker support to verilog front-end
Clifford Wolf [Thu, 9 Feb 2017 11:53:46 +0000 (12:53 +0100)]
Add "rand" and "rand const" verific support
Clifford Wolf [Wed, 8 Feb 2017 13:38:15 +0000 (14:38 +0100)]
Add SV "rand" and "const rand" support
Clifford Wolf [Wed, 8 Feb 2017 09:40:33 +0000 (10:40 +0100)]
Add PSL parser mode to verific front-end
Steffen Vogel [Tue, 7 Feb 2017 14:12:31 +0000 (11:12 -0300)]
Added notes for compilation on OS X
Steffen Vogel [Tue, 7 Feb 2017 14:12:12 +0000 (11:12 -0300)]
Fix compilation on OS X in order to support both MacPorts and Homebrew
Steffen Vogel [Tue, 7 Feb 2017 14:09:15 +0000 (11:09 -0300)]
Allow standard tools to be overwritten in make invocation
Clifford Wolf [Mon, 6 Feb 2017 13:48:03 +0000 (14:48 +0100)]
Add "read_blif -wideports"
Clifford Wolf [Sun, 5 Feb 2017 21:43:33 +0000 (22:43 +0100)]
Fix undef propagation bug in $pmux SAT model
Clifford Wolf [Sun, 5 Feb 2017 19:04:17 +0000 (20:04 +0100)]
Update ABC to hg rev
a2fcd1cc61a6
Clifford Wolf [Sun, 5 Feb 2017 11:00:21 +0000 (12:00 +0100)]
Merge pull request #304 from esden/gsed-darwin
Use gsed vs sed on Darwin.
Piotr Esden-Tempski [Wed, 1 Feb 2017 00:00:17 +0000 (16:00 -0800)]
Use -E sed parameter instead of -r.
BSD sed equivalent to -r parameter is -E and it is also supported in GNU
sed thus using -E results in support on both platforms.
Clifford Wolf [Sat, 4 Feb 2017 20:22:17 +0000 (21:22 +0100)]
Add assert check in "yosys-smtbmc -c"
Clifford Wolf [Sat, 4 Feb 2017 20:10:24 +0000 (21:10 +0100)]
Improve yosys-smtbmc cover() support
Clifford Wolf [Sat, 4 Feb 2017 17:17:08 +0000 (18:17 +0100)]
Partially implement cover() support in yosys-smtbmc
Clifford Wolf [Sat, 4 Feb 2017 16:02:13 +0000 (17:02 +0100)]
Further improve cover() support
Clifford Wolf [Sat, 4 Feb 2017 13:14:26 +0000 (14:14 +0100)]
Add $cover cell type and SVA cover() support
Clifford Wolf [Sat, 4 Feb 2017 12:36:00 +0000 (13:36 +0100)]
Add assert/assume support to verific front-end
Clifford Wolf [Wed, 1 Feb 2017 10:15:37 +0000 (11:15 +0100)]
Update ABC to hg rev
fe96921e5d50
Clifford Wolf [Wed, 1 Feb 2017 10:14:20 +0000 (11:14 +0100)]
Update ABC scripts to use "&nf" instead of "map"
Clifford Wolf [Tue, 31 Jan 2017 15:21:23 +0000 (16:21 +0100)]
Merge branch 'C-Elegans-opt_compare_pr'
Clifford Wolf [Tue, 31 Jan 2017 15:20:56 +0000 (16:20 +0100)]
Fix indenting and log messages in code merged from opt_compare_pr
Clifford Wolf [Tue, 31 Jan 2017 14:54:41 +0000 (15:54 +0100)]
Merge branch 'opt_compare_pr' of https://github.com/C-Elegans/yosys into C-Elegans-opt_compare_pr
Steffen Vogel [Tue, 31 Jan 2017 13:06:06 +0000 (10:06 -0300)]
use Homebrew only if installed
Clifford Wolf [Tue, 31 Jan 2017 09:15:04 +0000 (10:15 +0100)]
Improve opt_rmdff support for $dlatch cells
C-Elegans [Mon, 30 Jan 2017 22:52:16 +0000 (17:52 -0500)]
Refactor and generalize the comparision optimization
Generalizes the optimization to:
a < C,
a >= C,
C > a,
C <= a
Clifford Wolf [Mon, 30 Jan 2017 10:38:43 +0000 (11:38 +0100)]
Add "yosys-smtbmc --aig <aim_filename>:<aiw_filename>" support
Clifford Wolf [Mon, 30 Jan 2017 09:50:38 +0000 (10:50 +0100)]
Add $ff and $_FF_ support to equiv_simple
Clifford Wolf [Sat, 28 Jan 2017 14:14:56 +0000 (15:14 +0100)]
Add "yosys-smtbmc --aig-noheader" and AIGER mem init support
Clifford Wolf [Thu, 26 Jan 2017 08:19:28 +0000 (09:19 +0100)]
Be more conservative with merging large cells into FSMs
Clifford Wolf [Thu, 26 Jan 2017 08:01:26 +0000 (09:01 +0100)]
Add warnings for quickly growing FSM table size in fsm_expand
Clifford Wolf [Thu, 26 Jan 2017 07:59:26 +0000 (08:59 +0100)]
Merge branch 'master' of github.com:cliffordwolf/yosys
Clifford Wolf [Wed, 25 Jan 2017 16:00:59 +0000 (17:00 +0100)]
Fix RTLIL::Memory::start_offset initialization
C-Elegans [Sat, 21 Jan 2017 17:58:26 +0000 (12:58 -0500)]
Do not use b.as_int() in calculation of bit set
Clifford Wolf [Tue, 17 Jan 2017 16:33:52 +0000 (17:33 +0100)]
Add "enum" and "typedef" lexer support
C-Elegans [Mon, 16 Jan 2017 15:16:03 +0000 (10:16 -0500)]
Optimize compares to powers of 2
Remove opt_compare and put comparison pass in opt_expr
assuming a [7:0] is unsigned
a >= (1<<x) becomes |a[7:x]
a < (1<<x) becomes !a[7:x]
Additionally:
a >= 0 becomes constant true,
a < 0 becomes constant false
delete opt_compare.cc
revert opt.cc to commit
b7cfb7dbd (remove opt_compare step)
Clifford Wolf [Mon, 16 Jan 2017 09:25:25 +0000 (10:25 +0100)]
Merge pull request #293 from thoughtpolice/minor-cleanup
Delete some dead code in the Hierarchy pass
Austin Seipp [Sun, 15 Jan 2017 22:39:12 +0000 (16:39 -0600)]
passes/hierarchy: delete some dead code
Signed-off-by: Austin Seipp <aseipp@pobox.com>
C-Elegans [Sun, 15 Jan 2017 14:23:04 +0000 (09:23 -0500)]
Fix issue #269, optimize signed compare with 0
add opt_compare pass and add it to opt
for a < 0:
if a is signed, replace with a[max_bit-1]
for a >= 0:
if a is signed, replace with ~a[max_bit-1]
Clifford Wolf [Sun, 15 Jan 2017 12:52:50 +0000 (13:52 +0100)]
Fix bug in AstNode::mem2reg_as_needed_pass2()
Clifford Wolf [Wed, 11 Jan 2017 13:14:12 +0000 (14:14 +0100)]
Fix $initstate handling bug in yosys-smtbmc
Clifford Wolf [Wed, 11 Jan 2017 09:56:27 +0000 (10:56 +0100)]
Update ABC to hg id
f8cadfe3861f
Clifford Wolf [Sun, 8 Jan 2017 10:57:52 +0000 (11:57 +0100)]
Updated ABC to hg id
38b26a543f1d
Clifford Wolf [Thu, 5 Jan 2017 12:18:58 +0000 (13:18 +0100)]
Fixed handling of local memories in functions
Clifford Wolf [Wed, 4 Jan 2017 17:12:41 +0000 (18:12 +0100)]
Added "check -initdrv"
Clifford Wolf [Wed, 4 Jan 2017 15:03:04 +0000 (16:03 +0100)]
Added handling of local memories and error for local decls in unnamed blocks
Clifford Wolf [Wed, 4 Jan 2017 14:23:48 +0000 (15:23 +0100)]
Implicitly set "yosys-smtbmc --noprogress" on windows
Clifford Wolf [Wed, 4 Jan 2017 11:39:01 +0000 (12:39 +0100)]
Fixed typo in tests/simple/arraycells.v
Clifford Wolf [Wed, 4 Jan 2017 11:03:04 +0000 (12:03 +0100)]
Fixed "yosys-smtbmc --noprogress"
Clifford Wolf [Tue, 3 Jan 2017 16:40:58 +0000 (17:40 +0100)]
Added Verilog $rtoi and $itor support
Clifford Wolf [Mon, 2 Jan 2017 19:02:52 +0000 (20:02 +0100)]
Handle "always 1" like "always -1" in .smtc files
Clifford Wolf [Sun, 1 Jan 2017 21:52:52 +0000 (22:52 +0100)]
Added cell port resizing to hierarchy pass
Clifford Wolf [Sat, 31 Dec 2016 20:52:27 +0000 (21:52 +0100)]
Updated ABC to hg id
55cd83f432c0
Clifford Wolf [Sat, 31 Dec 2016 15:14:42 +0000 (16:14 +0100)]
Bugfix in RTLIL::SigSpec::remove2()
Clifford Wolf [Thu, 29 Dec 2016 11:20:35 +0000 (12:20 +0100)]
Updated ABC to hg id
8c6a635f7a20
Clifford Wolf [Thu, 29 Dec 2016 11:13:29 +0000 (12:13 +0100)]
Improved write_json help message
Clifford Wolf [Mon, 26 Dec 2016 16:52:38 +0000 (17:52 +0100)]
Updated ABC to hg id
f591c081d5e7
Clifford Wolf [Sat, 24 Dec 2016 13:28:39 +0000 (14:28 +0100)]
Merge pull request #284 from azonenberg/master
greenpak4: Support for many new cell types
Andrew Zonenberg [Fri, 23 Dec 2016 20:32:55 +0000 (12:32 -0800)]
Merge pull request #1 from azonenberg-hk/master
Pull changes from HK trip
Andrew Zonenberg [Fri, 23 Dec 2016 13:10:37 +0000 (05:10 -0800)]
Merge https://github.com/cliffordwolf/yosys
Clifford Wolf [Fri, 23 Dec 2016 01:06:46 +0000 (02:06 +0100)]
Simplified log_spacer() code
Clifford Wolf [Thu, 22 Dec 2016 22:41:44 +0000 (23:41 +0100)]
Added "yosys -W regex"
Clifford Wolf [Wed, 21 Dec 2016 09:16:47 +0000 (10:16 +0100)]
Added AIGER back-end to automatic back-end detection
Clifford Wolf [Wed, 21 Dec 2016 09:16:10 +0000 (10:16 +0100)]
Updated ABC to hg rev
a4872e22c646
Clifford Wolf [Wed, 21 Dec 2016 08:13:20 +0000 (09:13 +0100)]
Updated ABC to hg rev
8bab2eedbba4