yosys.git
8 years agosynth_greenpak4: use attrmvcp to move LOC from wires to cells.
whitequark [Wed, 10 Aug 2016 20:09:35 +0000 (20:09 +0000)]
synth_greenpak4: use attrmvcp to move LOC from wires to cells.

8 years agoOnly allow posedge/negedge with 1 bit wide signals
Clifford Wolf [Wed, 10 Aug 2016 17:32:11 +0000 (19:32 +0200)]
Only allow posedge/negedge with 1 bit wide signals

8 years agoFixed some compiler warnings in attrmap command
Clifford Wolf [Wed, 10 Aug 2016 11:44:08 +0000 (13:44 +0200)]
Fixed some compiler warnings in attrmap command

8 years agoAdded "attrmap" command
Clifford Wolf [Tue, 9 Aug 2016 17:56:55 +0000 (19:56 +0200)]
Added "attrmap" command

8 years agoAdded log_const() API
Clifford Wolf [Tue, 9 Aug 2016 17:56:10 +0000 (19:56 +0200)]
Added log_const() API

8 years agoAdded "attrmvcp" pass
Clifford Wolf [Tue, 9 Aug 2016 09:18:48 +0000 (11:18 +0200)]
Added "attrmvcp" pass

8 years agoUse /proc/self/exe on Cygwin as well.
Yury Gribov [Sun, 7 Aug 2016 20:34:33 +0000 (21:34 +0100)]
Use /proc/self/exe on Cygwin as well.

8 years agoUndo "preserve wire attributes in iopadmap" change (it was OK before)
Clifford Wolf [Mon, 8 Aug 2016 09:47:35 +0000 (11:47 +0200)]
Undo "preserve wire attributes in iopadmap" change (it was OK before)

8 years agoAdded "test_autotb -seed" (and "autotest.sh -S")
Clifford Wolf [Sat, 6 Aug 2016 11:32:29 +0000 (13:32 +0200)]
Added "test_autotb -seed" (and "autotest.sh -S")

8 years agopreserve wire attributes in iopadmap
Clifford Wolf [Sat, 6 Aug 2016 11:24:59 +0000 (13:24 +0200)]
preserve wire attributes in iopadmap

8 years agoFixed bug in parsing real constants
Clifford Wolf [Sat, 6 Aug 2016 11:16:23 +0000 (13:16 +0200)]
Fixed bug in parsing real constants

8 years agoAdded "insbuf" command
Clifford Wolf [Tue, 2 Aug 2016 08:37:19 +0000 (10:37 +0200)]
Added "insbuf" command

8 years agoMerge branch 'master' of github.com:cliffordwolf/yosys
Clifford Wolf [Sat, 30 Jul 2016 10:50:39 +0000 (12:50 +0200)]
Merge branch 'master' of github.com:cliffordwolf/yosys

8 years agoAdded "write_verilog -defparam"
Clifford Wolf [Sat, 30 Jul 2016 10:46:06 +0000 (12:46 +0200)]
Added "write_verilog -defparam"

8 years agoAdded "write_verilog -nodec -nostr"
Clifford Wolf [Sat, 30 Jul 2016 10:38:40 +0000 (12:38 +0200)]
Added "write_verilog -nodec -nostr"

8 years agoAdded $initstate support to smtbmc flow
Clifford Wolf [Wed, 27 Jul 2016 14:11:37 +0000 (16:11 +0200)]
Added $initstate support to smtbmc flow

8 years agoAdded SatGen support for $anyconst
Clifford Wolf [Wed, 27 Jul 2016 13:52:20 +0000 (15:52 +0200)]
Added SatGen support for $anyconst

8 years agoRemoved $predict support from SatGen
Clifford Wolf [Wed, 27 Jul 2016 13:44:11 +0000 (15:44 +0200)]
Removed $predict support from SatGen

8 years agoAdded $anyconst and $aconst
Clifford Wolf [Wed, 27 Jul 2016 13:41:22 +0000 (15:41 +0200)]
Added $anyconst and $aconst

8 years agoAdded "read_verilog -dump_rtlil"
Clifford Wolf [Wed, 27 Jul 2016 13:40:17 +0000 (15:40 +0200)]
Added "read_verilog -dump_rtlil"

8 years agoRenamed AbstractCellEdgesDatabase::add_cell() to add_edges_from_cell()
Clifford Wolf [Mon, 25 Jul 2016 14:39:25 +0000 (16:39 +0200)]
Renamed AbstractCellEdgesDatabase::add_cell() to add_edges_from_cell()

8 years agoFixed a verilog parser memory leak
Clifford Wolf [Mon, 25 Jul 2016 14:37:58 +0000 (16:37 +0200)]
Fixed a verilog parser memory leak

8 years agoFixed parsing of empty positional cell ports
Clifford Wolf [Mon, 25 Jul 2016 10:48:03 +0000 (12:48 +0200)]
Fixed parsing of empty positional cell ports

8 years agoImprovements in CellEdgesDatabase
Clifford Wolf [Sun, 24 Jul 2016 15:21:53 +0000 (17:21 +0200)]
Improvements in CellEdgesDatabase

8 years agoAdded CellEdgesDatabase API
Clifford Wolf [Sun, 24 Jul 2016 11:59:57 +0000 (13:59 +0200)]
Added CellEdgesDatabase API

8 years agoMoved SatHelper::setup_init() code to SatHelper::setup()
Clifford Wolf [Sun, 24 Jul 2016 10:18:39 +0000 (12:18 +0200)]
Moved SatHelper::setup_init() code to SatHelper::setup()

8 years agoAdded $initstate support to "sat" command
Clifford Wolf [Sat, 23 Jul 2016 15:01:03 +0000 (17:01 +0200)]
Added $initstate support to "sat" command

8 years agoNo tristate warning message for "read_verilog -lib"
Clifford Wolf [Sat, 23 Jul 2016 09:56:53 +0000 (11:56 +0200)]
No tristate warning message for "read_verilog -lib"

8 years agoAdded satgen initstate support
Clifford Wolf [Fri, 22 Jul 2016 08:28:45 +0000 (10:28 +0200)]
Added satgen initstate support

8 years agoUsing $initstate in "initial assume" and "initial assert"
Clifford Wolf [Thu, 21 Jul 2016 12:37:28 +0000 (14:37 +0200)]
Using $initstate in "initial assume" and "initial assert"

8 years agoAdded $initstate cell type and vlog function
Clifford Wolf [Thu, 21 Jul 2016 12:23:22 +0000 (14:23 +0200)]
Added $initstate cell type and vlog function

8 years agoAfter reading the SV spec, using non-standard predict() instead of expect()
Clifford Wolf [Thu, 21 Jul 2016 11:34:33 +0000 (13:34 +0200)]
After reading the SV spec, using non-standard predict() instead of expect()

8 years agoAdded basic support for $expect cells
Clifford Wolf [Wed, 13 Jul 2016 14:56:17 +0000 (16:56 +0200)]
Added basic support for $expect cells

8 years agoAdded examples/smtbmc
Clifford Wolf [Wed, 13 Jul 2016 07:49:05 +0000 (09:49 +0200)]
Added examples/smtbmc

8 years agoMerge pull request #191 from whitequark/json-module-attributes
Clifford Wolf [Wed, 13 Jul 2016 07:39:27 +0000 (09:39 +0200)]
Merge pull request #191 from whitequark/json-module-attributes

write_json: also write module attributes

8 years agoMerge pull request #193 from azonenberg/master
Clifford Wolf [Wed, 13 Jul 2016 07:24:31 +0000 (09:24 +0200)]
Merge pull request #193 from azonenberg/master

Removed splitnets in synth_greenpak4, added GP_DAC, refactored GP_BANDGAP

8 years agoMerge https://github.com/cliffordwolf/yosys
Andrew Zonenberg [Tue, 12 Jul 2016 23:12:37 +0000 (16:12 -0700)]
Merge https://github.com/cliffordwolf/yosys

8 years agoMinor bugfix in FSM reset state detection
Clifford Wolf [Tue, 12 Jul 2016 07:46:15 +0000 (09:46 +0200)]
Minor bugfix in FSM reset state detection

8 years agowrite_json: also write module attributes.
whitequark [Tue, 12 Jul 2016 06:32:04 +0000 (06:32 +0000)]
write_json: also write module attributes.

8 years agoAdded GP_DAC cell
Andrew Zonenberg [Tue, 12 Jul 2016 05:45:55 +0000 (22:45 -0700)]
Added GP_DAC cell

8 years agoRemoved VOUT port of GP_BANDGAP
Andrew Zonenberg [Tue, 12 Jul 2016 05:45:42 +0000 (22:45 -0700)]
Removed VOUT port of GP_BANDGAP

8 years agoRemoved splitnets in prep for new gp4par parser
Andrew Zonenberg [Tue, 12 Jul 2016 05:42:25 +0000 (22:42 -0700)]
Removed splitnets in prep for new gp4par parser

8 years agoYosys-smtbmc: Support for hierarchical VCD dumping
Clifford Wolf [Mon, 11 Jul 2016 10:49:33 +0000 (12:49 +0200)]
Yosys-smtbmc: Support for hierarchical VCD dumping

8 years agoMoved smt2 yosys info parsing from smtbmc.py to smtio.py
Clifford Wolf [Mon, 11 Jul 2016 09:49:05 +0000 (11:49 +0200)]
Moved smt2 yosys info parsing from smtbmc.py to smtio.py

8 years agoAdded "prep -auto-top" and "synth -auto-top"
Clifford Wolf [Mon, 11 Jul 2016 09:40:55 +0000 (11:40 +0200)]
Added "prep -auto-top" and "synth -auto-top"

8 years agoMerge branch 'master' of github.com:cliffordwolf/yosys
Clifford Wolf [Sun, 10 Jul 2016 16:17:09 +0000 (18:17 +0200)]
Merge branch 'master' of github.com:cliffordwolf/yosys

8 years agoMerge pull request #189 from whitequark/master
Clifford Wolf [Sun, 10 Jul 2016 16:12:00 +0000 (18:12 +0200)]
Merge pull request #189 from whitequark/master

greenpak4: add GP_COUNT{8,14}_ADV cells

8 years agoSupport for hierarchical designs in smt2 back-end
Clifford Wolf [Sun, 10 Jul 2016 16:11:25 +0000 (18:11 +0200)]
Support for hierarchical designs in smt2 back-end

8 years agogreenpak4: add GP_COUNT{8,14}_ADV cells.
whitequark [Sun, 10 Jul 2016 14:41:34 +0000 (14:41 +0000)]
greenpak4: add GP_COUNT{8,14}_ADV cells.

8 years agoFurther improved fsm_detect output, attempt to detect self-resetting circuits
Clifford Wolf [Sat, 9 Jul 2016 12:02:49 +0000 (14:02 +0200)]
Further improved fsm_detect output, attempt to detect self-resetting circuits

8 years agoAdded printing of some warning messages to fsm_detect
Clifford Wolf [Sat, 9 Jul 2016 11:23:06 +0000 (13:23 +0200)]
Added printing of some warning messages to fsm_detect

8 years agoAdded warning about adding fsm_encoding attributes to wires to manual
Clifford Wolf [Fri, 8 Jul 2016 16:31:31 +0000 (18:31 +0200)]
Added warning about adding fsm_encoding attributes to wires to manual

8 years agoMinor fixes in ice40_ff* passes for sloppy SB_DFF instantiations
Clifford Wolf [Fri, 8 Jul 2016 12:41:36 +0000 (14:41 +0200)]
Minor fixes in ice40_ff* passes for sloppy SB_DFF instantiations

8 years agoFixed mem assignment in left-hand-side concatenation
Clifford Wolf [Fri, 8 Jul 2016 12:31:06 +0000 (14:31 +0200)]
Fixed mem assignment in left-hand-side concatenation

8 years agoMerge branch 'eddiehung-vtr'
Clifford Wolf [Fri, 8 Jul 2016 09:56:53 +0000 (11:56 +0200)]
Merge branch 'eddiehung-vtr'

8 years agoRestored blif "-true - .." behavior, use "-true + .." for eddiehung-vtr behavior
Clifford Wolf [Fri, 8 Jul 2016 09:49:55 +0000 (11:49 +0200)]
Restored blif "-true - .." behavior, use "-true + .." for eddiehung-vtr behavior

8 years agoIn BLIF, a .names without entries already always outputs 0
Clifford Wolf [Fri, 8 Jul 2016 09:41:26 +0000 (11:41 +0200)]
In BLIF, a .names without entries already always outputs 0

8 years agoUndo eddiehung-vtr Makefile changes
Clifford Wolf [Fri, 8 Jul 2016 09:35:15 +0000 (11:35 +0200)]
Undo eddiehung-vtr Makefile changes

8 years agoMerge branch 'yosys-0.5-vtr' of https://github.com/eddiehung/yosys into eddiehung-vtr
Clifford Wolf [Fri, 8 Jul 2016 09:32:36 +0000 (11:32 +0200)]
Merge branch 'yosys-0.5-vtr' of https://github.com/eddiehung/yosys into eddiehung-vtr

8 years agoFixed autotest.sh handling of `timescale
Clifford Wolf [Sat, 2 Jul 2016 11:32:20 +0000 (13:32 +0200)]
Fixed autotest.sh handling of `timescale

8 years agoMerge branch 'assert-limit'
Clifford Wolf [Fri, 1 Jul 2016 10:24:31 +0000 (12:24 +0200)]
Merge branch 'assert-limit'

8 years agoReplaced "select -assert-limit" with -assert-max and -assert-min
Clifford Wolf [Fri, 1 Jul 2016 10:24:13 +0000 (12:24 +0200)]
Replaced "select -assert-limit" with -assert-max and -assert-min

8 years agoAdded 'assert-limit' option for 'select' command
eshellko [Fri, 1 Jul 2016 06:24:22 +0000 (10:24 +0400)]
Added 'assert-limit' option for 'select' command

For resource limited designs such as FPGA it can be useful to specify limit of specific resources available on board. So user can check if he should change RTL as early as mapping done.

8 years agoImproved ice40_ffinit error reporting
Clifford Wolf [Thu, 30 Jun 2016 07:58:13 +0000 (09:58 +0200)]
Improved ice40_ffinit error reporting

8 years agoMerge pull request #181 from rubund/input_logic_allowed
Clifford Wolf [Tue, 21 Jun 2016 06:44:20 +0000 (08:44 +0200)]
Merge pull request #181 from rubund/input_logic_allowed

Allow defining input ports as "input logic" in SystemVerilog

8 years agoAllow defining input ports as "input logic" in SystemVerilog
Ruben Undheim [Mon, 20 Jun 2016 18:16:37 +0000 (20:16 +0200)]
Allow defining input ports as "input logic" in SystemVerilog

8 years agoBugfix in "abc -script" handling
Clifford Wolf [Sun, 19 Jun 2016 20:19:19 +0000 (22:19 +0200)]
Bugfix in "abc -script" handling

8 years agoMerge branch 'sv_packages' of https://github.com/rubund/yosys
Clifford Wolf [Sun, 19 Jun 2016 13:48:40 +0000 (15:48 +0200)]
Merge branch 'sv_packages' of https://github.com/rubund/yosys

8 years agoAdded "deminout"
Clifford Wolf [Sun, 19 Jun 2016 11:08:16 +0000 (13:08 +0200)]
Added "deminout"

8 years agoA few modifications after pull request comments
Ruben Undheim [Sat, 18 Jun 2016 12:13:36 +0000 (14:13 +0200)]
A few modifications after pull request comments

- Renamed Design::packages to Design::verilog_packages
- No need to include ast.h in rtlil.h

8 years agoAdded "read_blif -sop"
Clifford Wolf [Sat, 18 Jun 2016 10:33:13 +0000 (12:33 +0200)]
Added "read_blif -sop"

8 years agoAdded $sop support to BLIF back-end
Clifford Wolf [Sat, 18 Jun 2016 10:28:49 +0000 (12:28 +0200)]
Added $sop support to BLIF back-end

8 years agoAdded support for SystemVerilog packages with localparam definitions
Ruben Undheim [Sat, 18 Jun 2016 08:24:21 +0000 (10:24 +0200)]
Added support for SystemVerilog packages with localparam definitions

8 years agoAdded "dc2" to default ABC scripts
Clifford Wolf [Fri, 17 Jun 2016 18:15:35 +0000 (20:15 +0200)]
Added "dc2" to default ABC scripts

8 years agoFixed init issue in mem2reg_test2 test case
Clifford Wolf [Fri, 17 Jun 2016 18:15:11 +0000 (20:15 +0200)]
Fixed init issue in mem2reg_test2 test case

8 years agoAdded "abc -I <num> -P <num>"
Clifford Wolf [Fri, 17 Jun 2016 17:39:35 +0000 (19:39 +0200)]
Added "abc -I <num> -P <num>"

8 years agoAdded $sop SAT model
Clifford Wolf [Fri, 17 Jun 2016 15:47:30 +0000 (17:47 +0200)]
Added $sop SAT model

8 years agoImproved support for $sop cells
Clifford Wolf [Fri, 17 Jun 2016 14:31:16 +0000 (16:31 +0200)]
Improved support for $sop cells

8 years agoAdded $sop cell type and "abc -sop"
Clifford Wolf [Fri, 17 Jun 2016 11:46:01 +0000 (13:46 +0200)]
Added $sop cell type and "abc -sop"

8 years agoUpdated ABC to hg rev b5df6e2b76f0
Clifford Wolf [Fri, 17 Jun 2016 09:16:31 +0000 (11:16 +0200)]
Updated ABC to hg rev b5df6e2b76f0

8 years agoAdded "nlutmap -assert"
Clifford Wolf [Thu, 9 Jun 2016 09:47:41 +0000 (11:47 +0200)]
Added "nlutmap -assert"

8 years agoDo not run "wreduce" in "prep -ifx"
Clifford Wolf [Wed, 8 Jun 2016 10:14:32 +0000 (12:14 +0200)]
Do not run "wreduce" in "prep -ifx"

8 years agoAdded "proc_mux -ifx"
Clifford Wolf [Mon, 6 Jun 2016 15:15:50 +0000 (17:15 +0200)]
Added "proc_mux -ifx"

8 years agoAdded "setundef -init"
Clifford Wolf [Fri, 3 Jun 2016 09:38:31 +0000 (11:38 +0200)]
Added "setundef -init"

8 years agoFix all undef-muxes in dlatch input cone
Clifford Wolf [Thu, 2 Jun 2016 12:37:07 +0000 (14:37 +0200)]
Fix all undef-muxes in dlatch input cone

8 years agoAvoid creating undef-muxes when inferring latches in proc_dlatch
Clifford Wolf [Wed, 1 Jun 2016 11:25:06 +0000 (13:25 +0200)]
Avoid creating undef-muxes when inferring latches in proc_dlatch

8 years agoAdded opt_expr support for div/mod by power-of-two
Clifford Wolf [Sun, 29 May 2016 10:17:36 +0000 (12:17 +0200)]
Added opt_expr support for div/mod by power-of-two

8 years agoFixed procedural assignments to non-unique lvalues, e.g. {y,y} = {a,b}
Clifford Wolf [Fri, 27 May 2016 15:55:03 +0000 (17:55 +0200)]
Fixed procedural assignments to non-unique lvalues, e.g. {y,y} = {a,b}

8 years agoFixed access-after-delete bug in mem2reg code
Clifford Wolf [Fri, 27 May 2016 15:25:33 +0000 (17:25 +0200)]
Fixed access-after-delete bug in mem2reg code

8 years agofixed typos in error messages
Clifford Wolf [Fri, 27 May 2016 14:37:36 +0000 (16:37 +0200)]
fixed typos in error messages

8 years agoFixed "scc" for cells that have feedback singals _and_ are part of a larger loop
Clifford Wolf [Fri, 27 May 2016 14:33:13 +0000 (16:33 +0200)]
Fixed "scc" for cells that have feedback singals _and_ are part of a larger loop

8 years agoMerge pull request #172 from zeldin/deterministic_hierarchy
Clifford Wolf [Sun, 22 May 2016 16:15:08 +0000 (18:15 +0200)]
Merge pull request #172 from zeldin/deterministic_hierarchy

Made the expansion order of hierarchy deterministic

8 years agoMade the expansion order of hierarchy deterministic
Marcus Comstedt [Sun, 22 May 2016 14:37:47 +0000 (16:37 +0200)]
Made the expansion order of hierarchy deterministic

8 years agoSome fixes in tests/asicworld/*_tb.v
Clifford Wolf [Fri, 20 May 2016 15:13:11 +0000 (17:13 +0200)]
Some fixes in tests/asicworld/*_tb.v

8 years agoImprovements and fixes in autotest.sh script and test_autotb
Clifford Wolf [Fri, 20 May 2016 14:58:02 +0000 (16:58 +0200)]
Improvements and fixes in autotest.sh script and test_autotb

8 years agoMerge branch 'master' of https://github.com/Kmanfi/yosys
Clifford Wolf [Fri, 20 May 2016 14:48:50 +0000 (16:48 +0200)]
Merge branch 'master' of https://github.com/Kmanfi/yosys

8 years agoAlso escape "=" in spice output
Clifford Wolf [Fri, 20 May 2016 14:43:13 +0000 (16:43 +0200)]
Also escape "=" in spice output

8 years agoSmall improvements in Verilog front-end docs
Clifford Wolf [Fri, 20 May 2016 14:21:35 +0000 (16:21 +0200)]
Small improvements in Verilog front-end docs

8 years agoClose opened dump file.
Kaj Tuomi [Thu, 19 May 2016 08:53:29 +0000 (11:53 +0300)]
Close opened dump file.

8 years agoFix for Modelsim transcript line warp issue #164
Kaj Tuomi [Thu, 19 May 2016 08:34:38 +0000 (11:34 +0300)]
Fix for Modelsim transcript line warp issue #164