yosys.git
9 years agoAdded "test_cell -simlib -v"
Clifford Wolf [Mon, 1 Sep 2014 13:37:21 +0000 (15:37 +0200)]
Added "test_cell -simlib -v"

9 years agoAdded "techmap -autoproc"
Clifford Wolf [Mon, 1 Sep 2014 13:36:29 +0000 (15:36 +0200)]
Added "techmap -autoproc"

9 years agoFixes in old SAT example.ys
Clifford Wolf [Mon, 1 Sep 2014 09:45:47 +0000 (11:45 +0200)]
Fixes in old SAT example.ys

9 years agoMoved "share" and "wreduce" to passes/opt/
Clifford Wolf [Mon, 1 Sep 2014 09:45:26 +0000 (11:45 +0200)]
Moved "share" and "wreduce" to passes/opt/

9 years agoUsing std::vector<RTLIL::State> instead of RTLIL::Const for RTLIL::SigChunk::data
Clifford Wolf [Mon, 1 Sep 2014 09:36:02 +0000 (11:36 +0200)]
Using std::vector<RTLIL::State> instead of RTLIL::Const for RTLIL::SigChunk::data

9 years agoAdded eval testing to test_cell
Clifford Wolf [Sun, 31 Aug 2014 16:08:42 +0000 (18:08 +0200)]
Added eval testing to test_cell

9 years agoFixed return size of const_*() eval functions
Clifford Wolf [Sun, 31 Aug 2014 16:08:26 +0000 (18:08 +0200)]
Fixed return size of const_*() eval functions

9 years agoAdded RTLIL::Const::size()
Clifford Wolf [Sun, 31 Aug 2014 16:07:48 +0000 (18:07 +0200)]
Added RTLIL::Const::size()

9 years agoAdded eval model for $lut cells
Clifford Wolf [Sun, 31 Aug 2014 15:42:38 +0000 (17:42 +0200)]
Added eval model for $lut cells

9 years agoTypo fixes in cell->*Param() API
Clifford Wolf [Sun, 31 Aug 2014 15:07:07 +0000 (17:07 +0200)]
Typo fixes in cell->*Param() API

9 years agoAdded $lut support in test_cell, techmap, satgen
Clifford Wolf [Sun, 31 Aug 2014 15:06:36 +0000 (17:06 +0200)]
Added $lut support in test_cell, techmap, satgen

9 years agoAdded design->scratchpad
Clifford Wolf [Sat, 30 Aug 2014 17:37:12 +0000 (19:37 +0200)]
Added design->scratchpad

9 years agoAdded $alu cell type
Clifford Wolf [Sat, 30 Aug 2014 16:59:05 +0000 (18:59 +0200)]
Added $alu cell type

9 years agoAdded autotest -e (do not use -noexpr on write_verilog)
Clifford Wolf [Sat, 30 Aug 2014 16:34:07 +0000 (18:34 +0200)]
Added autotest -e (do not use -noexpr on write_verilog)

9 years agoImproved write address decoder generation memory_map
Clifford Wolf [Sat, 30 Aug 2014 16:18:15 +0000 (18:18 +0200)]
Improved write address decoder generation memory_map

9 years agoFixed module->addPmux()
Clifford Wolf [Sat, 30 Aug 2014 16:17:22 +0000 (18:17 +0200)]
Fixed module->addPmux()

9 years agoUsing worker class in memory_map
Clifford Wolf [Sat, 30 Aug 2014 15:39:08 +0000 (17:39 +0200)]
Using worker class in memory_map

9 years agoReplaced $__alu CO/CS outputs with full-width CO output
Clifford Wolf [Sat, 30 Aug 2014 13:12:39 +0000 (15:12 +0200)]
Replaced $__alu CO/CS outputs with full-width CO output

9 years agoDon't change existing binary FSM encoding if it is already optimal
Clifford Wolf [Sat, 30 Aug 2014 12:43:06 +0000 (14:43 +0200)]
Don't change existing binary FSM encoding if it is already optimal

9 years agoUsing $pmux info in fsm_extract to optimize transition ctrl_in patterns
Clifford Wolf [Sat, 30 Aug 2014 12:34:49 +0000 (14:34 +0200)]
Using $pmux info in fsm_extract to optimize transition ctrl_in patterns

9 years agoImproved handling of $pmux cells in fsm_extract
Clifford Wolf [Sat, 30 Aug 2014 12:11:57 +0000 (14:11 +0200)]
Improved handling of $pmux cells in fsm_extract

9 years agoFixed inserting of Q-inverters in dfflibmap
Clifford Wolf [Wed, 27 Aug 2014 17:44:12 +0000 (19:44 +0200)]
Fixed inserting of Q-inverters in dfflibmap

9 years agoFixed printing of multi-line Makefile.conf
Clifford Wolf [Wed, 27 Aug 2014 10:13:53 +0000 (12:13 +0200)]
Fixed printing of multi-line Makefile.conf

9 years agoImplemented "rename -enumerate -pattern"
Clifford Wolf [Tue, 26 Aug 2014 10:51:08 +0000 (12:51 +0200)]
Implemented "rename -enumerate -pattern"

9 years agoPrint Makefile.conf as make info message
Clifford Wolf [Tue, 26 Aug 2014 08:11:46 +0000 (10:11 +0200)]
Print Makefile.conf as make info message

9 years agoChecking for valid CONFIG value in Makefile
Clifford Wolf [Mon, 25 Aug 2014 10:48:20 +0000 (12:48 +0200)]
Checking for valid CONFIG value in Makefile

9 years agoOptimize shift ops with constant rhs in opt_const
Clifford Wolf [Sun, 24 Aug 2014 15:08:07 +0000 (17:08 +0200)]
Optimize shift ops with constant rhs in opt_const

9 years agoAdded some additional log messages to opt_const
Clifford Wolf [Sun, 24 Aug 2014 13:14:45 +0000 (15:14 +0200)]
Added some additional log messages to opt_const

9 years agoAdded is_signed argument to SigSpec.as_int() and Const.as_int()
Clifford Wolf [Sun, 24 Aug 2014 13:14:00 +0000 (15:14 +0200)]
Added is_signed argument to SigSpec.as_int() and Const.as_int()

9 years agoazonenberg: Make dump_vcd save model when temporal induction fails due to step limit
Clifford Wolf [Sun, 24 Aug 2014 11:27:40 +0000 (13:27 +0200)]
azonenberg: Make dump_vcd save model when temporal induction fails due to step limit

9 years agoOnly call proc_share_dirname() in techmap when necessary
Clifford Wolf [Sat, 23 Aug 2014 13:32:00 +0000 (15:32 +0200)]
Only call proc_share_dirname() in techmap when necessary

9 years agoRemoved compatbility.{h,cc}: Not using open_memstream/fmemopen anymore
Clifford Wolf [Sat, 23 Aug 2014 13:14:58 +0000 (15:14 +0200)]
Removed compatbility.{h,cc}: Not using open_memstream/fmemopen anymore

9 years agoChanged frontend-api from FILE to std::istream
Clifford Wolf [Sat, 23 Aug 2014 13:03:55 +0000 (15:03 +0200)]
Changed frontend-api from FILE to std::istream

9 years agoChanged backend-api from FILE to std::ostream
Clifford Wolf [Sat, 23 Aug 2014 11:54:21 +0000 (13:54 +0200)]
Changed backend-api from FILE to std::ostream

9 years agoAdded "stat -width"
Clifford Wolf [Fri, 22 Aug 2014 15:20:28 +0000 (17:20 +0200)]
Added "stat -width"

9 years agoAdded emscripten (emcc) support to build system and some build fixes
Clifford Wolf [Fri, 22 Aug 2014 14:09:13 +0000 (16:09 +0200)]
Added emscripten (emcc) support to build system and some build fixes

9 years agoAdded DPI-C documentation to README file
Clifford Wolf [Fri, 22 Aug 2014 12:37:14 +0000 (14:37 +0200)]
Added DPI-C documentation to README file

9 years agoAdded support for non-standard <plugin>:<c_name> DPI syntax
Clifford Wolf [Fri, 22 Aug 2014 12:30:29 +0000 (14:30 +0200)]
Added support for non-standard <plugin>:<c_name> DPI syntax

9 years agoArchibald Rust and Clifford Wolf: ffi-based dpi_call()
Clifford Wolf [Fri, 22 Aug 2014 12:22:09 +0000 (14:22 +0200)]
Archibald Rust and Clifford Wolf: ffi-based dpi_call()

9 years agoAdded "plugin" command
Clifford Wolf [Fri, 22 Aug 2014 11:58:36 +0000 (13:58 +0200)]
Added "plugin" command

9 years agoUpdated ABC to 4d547a5e065b
Clifford Wolf [Fri, 22 Aug 2014 10:20:23 +0000 (12:20 +0200)]
Updated ABC to 4d547a5e065b

9 years agoCosmetic changes to FSM tests
Clifford Wolf [Thu, 21 Aug 2014 15:40:49 +0000 (17:40 +0200)]
Cosmetic changes to FSM tests

9 years agoFixed small memory leak in ast simplify
Clifford Wolf [Thu, 21 Aug 2014 15:33:40 +0000 (17:33 +0200)]
Fixed small memory leak in ast simplify

9 years agoAdded support for DPI function with different names in C and Verilog
Clifford Wolf [Thu, 21 Aug 2014 15:22:04 +0000 (17:22 +0200)]
Added support for DPI function with different names in C and Verilog

9 years agoAdded AstNode::asInt()
Clifford Wolf [Thu, 21 Aug 2014 15:11:51 +0000 (17:11 +0200)]
Added AstNode::asInt()

9 years agoFixed memory leak in DPI function calls
Clifford Wolf [Thu, 21 Aug 2014 11:09:47 +0000 (13:09 +0200)]
Fixed memory leak in DPI function calls

9 years agoMerge branch 'master' of github.com:cliffordwolf/yosys
Clifford Wolf [Thu, 21 Aug 2014 10:58:16 +0000 (12:58 +0200)]
Merge branch 'master' of github.com:cliffordwolf/yosys

9 years agoAdded Verilog/AST support for DPI functions (dpi_call() still unimplemented)
Clifford Wolf [Thu, 21 Aug 2014 10:43:51 +0000 (12:43 +0200)]
Added Verilog/AST support for DPI functions (dpi_call() still unimplemented)

9 years agoAdded support for global tasks and functions
Clifford Wolf [Thu, 21 Aug 2014 10:42:28 +0000 (12:42 +0200)]
Added support for global tasks and functions

9 years agoAdded mod->addGate() methods for new gate types
Clifford Wolf [Tue, 19 Aug 2014 11:44:56 +0000 (13:44 +0200)]
Added mod->addGate() methods for new gate types

9 years agoUsing "via_celltype" in $mul carry-save-acc implementation
Clifford Wolf [Mon, 18 Aug 2014 12:30:20 +0000 (14:30 +0200)]
Using "via_celltype" in $mul carry-save-acc implementation

9 years agoAdded "via_celltype" attribute on task/func
Clifford Wolf [Mon, 18 Aug 2014 12:29:30 +0000 (14:29 +0200)]
Added "via_celltype" attribute on task/func

9 years agoPerformance fix for new $__lcu techmap rule
Clifford Wolf [Sun, 17 Aug 2014 22:27:54 +0000 (00:27 +0200)]
Performance fix for new $__lcu techmap rule

9 years agoReplaced recursive lcu scheme with bk adder
Clifford Wolf [Sun, 17 Aug 2014 22:03:33 +0000 (00:03 +0200)]
Replaced recursive lcu scheme with bk adder

9 years agoAdded const folding of AST_CASE to AST simplifier
Clifford Wolf [Sun, 17 Aug 2014 22:02:30 +0000 (00:02 +0200)]
Added const folding of AST_CASE to AST simplifier

9 years agoFixed proc_{self,share}_dirname error handling
Clifford Wolf [Sun, 17 Aug 2014 00:25:59 +0000 (02:25 +0200)]
Fixed proc_{self,share}_dirname error handling

9 years agoMakefile fixes
Clifford Wolf [Sun, 17 Aug 2014 00:24:53 +0000 (02:24 +0200)]
Makefile fixes

9 years agoImproved AST ProcessGenerator performance
Clifford Wolf [Sun, 17 Aug 2014 00:17:49 +0000 (02:17 +0200)]
Improved AST ProcessGenerator performance

9 years agoImproved sig.remove2() performance
Clifford Wolf [Sun, 17 Aug 2014 00:16:56 +0000 (02:16 +0200)]
Improved sig.remove2() performance

9 years agoUse stackmap<> in AST ProcessGenerator
Clifford Wolf [Sat, 16 Aug 2014 22:57:24 +0000 (00:57 +0200)]
Use stackmap<> in AST ProcessGenerator

9 years agoAdded stackmap<> container
Clifford Wolf [Sat, 16 Aug 2014 22:56:47 +0000 (00:56 +0200)]
Added stackmap<> container

9 years agoRenamed toposort.h to utils.h
Clifford Wolf [Sat, 16 Aug 2014 22:55:35 +0000 (00:55 +0200)]
Renamed toposort.h to utils.h

9 years agoAdded module->uniquify()
Clifford Wolf [Sat, 16 Aug 2014 21:50:36 +0000 (23:50 +0200)]
Added module->uniquify()

9 years agoFixed AOI/OAI expr handling in verilog backend
Clifford Wolf [Sat, 16 Aug 2014 20:05:09 +0000 (22:05 +0200)]
Fixed AOI/OAI expr handling in verilog backend

9 years agoMultiply using a carry-save accumulator
Clifford Wolf [Sat, 16 Aug 2014 19:07:29 +0000 (21:07 +0200)]
Multiply using a carry-save accumulator

9 years agoAdded "test_cell -s <seed>"
Clifford Wolf [Sat, 16 Aug 2014 17:44:31 +0000 (19:44 +0200)]
Added "test_cell -s <seed>"

9 years agoAST ProcessGenerator: replaced subst_*_{from,to} with subst_*_map
Clifford Wolf [Sat, 16 Aug 2014 17:31:59 +0000 (19:31 +0200)]
AST ProcessGenerator: replaced subst_*_{from,to} with subst_*_map

9 years agoAdded additional gate types: $_NAND_ $_NOR_ $_XNOR_ $_AOI3_ $_OAI3_ $_AOI4_ $_OAI4_
Clifford Wolf [Sat, 16 Aug 2014 16:18:30 +0000 (18:18 +0200)]
Added additional gate types: $_NAND_ $_NOR_ $_XNOR_ $_AOI3_ $_OAI3_ $_AOI4_ $_OAI4_

9 years agoAdded CellTypes::cell_evaluable()
Clifford Wolf [Sat, 16 Aug 2014 14:12:14 +0000 (16:12 +0200)]
Added CellTypes::cell_evaluable()

9 years agoChanges in techmap $__alu interface
Clifford Wolf [Sat, 16 Aug 2014 14:01:58 +0000 (16:01 +0200)]
Changes in techmap $__alu interface

9 years agoAdded "opt -fast"
Clifford Wolf [Sat, 16 Aug 2014 13:34:15 +0000 (15:34 +0200)]
Added "opt -fast"

9 years agoAdded log_spacer()
Clifford Wolf [Sat, 16 Aug 2014 13:34:00 +0000 (15:34 +0200)]
Added log_spacer()

9 years agoBugfix in iopadmap
Clifford Wolf [Fri, 15 Aug 2014 12:29:42 +0000 (14:29 +0200)]
Bugfix in iopadmap

9 years agoRenamed $lut ports to follow A-Y naming scheme
Clifford Wolf [Fri, 15 Aug 2014 12:18:40 +0000 (14:18 +0200)]
Renamed $lut ports to follow A-Y naming scheme

9 years agoRenamed $_INV_ cell type to $_NOT_
Clifford Wolf [Fri, 15 Aug 2014 12:11:40 +0000 (14:11 +0200)]
Renamed $_INV_ cell type to $_NOT_

9 years agoRemoved old doc references to $safe_pmux
Clifford Wolf [Fri, 15 Aug 2014 12:04:35 +0000 (14:04 +0200)]
Removed old doc references to $safe_pmux

9 years agoMore idstring sort_by_* helpers and fixed tpl ordering in techmap
Clifford Wolf [Fri, 15 Aug 2014 00:40:46 +0000 (02:40 +0200)]
More idstring sort_by_* helpers and fixed tpl ordering in techmap

9 years agoAdded Frontend "+/" filename syntax for files from proc_share_dir
Clifford Wolf [Fri, 15 Aug 2014 00:08:02 +0000 (02:08 +0200)]
Added Frontend "+/" filename syntax for files from proc_share_dir

9 years agodocument "techmap -map %<design-name>"
Clifford Wolf [Fri, 15 Aug 2014 00:00:53 +0000 (02:00 +0200)]
document "techmap -map %<design-name>"

9 years agoFixed bug in "read_verilog -ignore_redef"
Clifford Wolf [Thu, 14 Aug 2014 23:53:22 +0000 (01:53 +0200)]
Fixed bug in "read_verilog -ignore_redef"

9 years agoAdded RTLIL::SigSpec::to_sigbit_map()
Clifford Wolf [Thu, 14 Aug 2014 21:14:47 +0000 (23:14 +0200)]
Added RTLIL::SigSpec::to_sigbit_map()

9 years agoChanged the AST genWidthRTLIL subst interface to use a std::map
Clifford Wolf [Thu, 14 Aug 2014 21:02:07 +0000 (23:02 +0200)]
Changed the AST genWidthRTLIL subst interface to use a std::map

9 years agoAdded sig.{replace,remove,extract} variants for std::{map,set} pattern
Clifford Wolf [Thu, 14 Aug 2014 20:32:18 +0000 (22:32 +0200)]
Added sig.{replace,remove,extract} variants for std::{map,set} pattern

9 years agoFixed line numbers when using here-doc macros
Clifford Wolf [Thu, 14 Aug 2014 20:26:30 +0000 (22:26 +0200)]
Fixed line numbers when using here-doc macros

9 years agoFixed handling of task outputs
Clifford Wolf [Thu, 14 Aug 2014 20:26:10 +0000 (22:26 +0200)]
Fixed handling of task outputs

9 years agoSimplified $__arraymul techmap rule
Clifford Wolf [Thu, 14 Aug 2014 18:53:21 +0000 (20:53 +0200)]
Simplified $__arraymul techmap rule

9 years agoAdded module->ports
Clifford Wolf [Thu, 14 Aug 2014 14:13:42 +0000 (16:13 +0200)]
Added module->ports

9 years agoRefactoring of CellType class
Clifford Wolf [Thu, 14 Aug 2014 13:46:51 +0000 (15:46 +0200)]
Refactoring of CellType class

9 years agoRIP $safe_pmux
Clifford Wolf [Thu, 14 Aug 2014 09:39:46 +0000 (11:39 +0200)]
RIP $safe_pmux

9 years agoSome improvements in FSM mapping and recoding
Clifford Wolf [Thu, 14 Aug 2014 09:22:45 +0000 (11:22 +0200)]
Some improvements in FSM mapping and recoding

9 years agoAdded "abc -D" for setting delay target
Clifford Wolf [Thu, 14 Aug 2014 09:05:25 +0000 (11:05 +0200)]
Added "abc -D" for setting delay target

9 years agoUpdated ABC to 4935c2b946de
Clifford Wolf [Thu, 14 Aug 2014 08:19:12 +0000 (10:19 +0200)]
Updated ABC to 4935c2b946de

9 years agoAdded techmap support for actual lookahead carry unit
Clifford Wolf [Wed, 13 Aug 2014 16:40:57 +0000 (18:40 +0200)]
Added techmap support for actual lookahead carry unit

9 years agoPreparations for lookahead ALU support in techmap.v
Clifford Wolf [Wed, 13 Aug 2014 14:36:30 +0000 (16:36 +0200)]
Preparations for lookahead ALU support in techmap.v

9 years agoFilter ANSI escape sequences from ABC output
Clifford Wolf [Wed, 13 Aug 2014 11:40:29 +0000 (13:40 +0200)]
Filter ANSI escape sequences from ABC output

9 years agoNew interface for $__alu in techmap.v
Clifford Wolf [Wed, 13 Aug 2014 11:04:28 +0000 (13:04 +0200)]
New interface for $__alu in techmap.v

9 years agoAdded support for non-standard """ macro bodies
Clifford Wolf [Wed, 13 Aug 2014 11:03:38 +0000 (13:03 +0200)]
Added support for non-standard """ macro bodies

9 years agoFixed handling of constant-true branches in proc_clean
Clifford Wolf [Tue, 12 Aug 2014 15:35:22 +0000 (17:35 +0200)]
Fixed handling of constant-true branches in proc_clean

9 years agoAdded test_verific mode to tests/fsm/generate.py
Clifford Wolf [Tue, 12 Aug 2014 13:43:30 +0000 (15:43 +0200)]
Added test_verific mode to tests/fsm/generate.py

9 years agoFixed SigBit(RTLIL::Wire *wire) constructor
Clifford Wolf [Tue, 12 Aug 2014 13:39:48 +0000 (15:39 +0200)]
Fixed SigBit(RTLIL::Wire *wire) constructor