aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Added Wrappers for:Benedikt Tutzer2018-08-133-142/+2923
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -IdString -Const -CaseRule -SwitchRule -SyncRule -Process -SigChunk -SigBit -SigSpec With all their member functions as well as the remaining member functions for Cell, Wire, Module and Design and static functions of rtlil.h
| | * | Saving id and pointer to c++ object. Object is valid only if both id and ↵Benedikt Tutzer2018-08-011-8/+29
| | | | | | | | | | | | | | | | pointer match the pair saved in the corresponding map in kernel/rtlil.cc. Otherwise, the object was destroyed in c++ and should not be accessed any more
| | * | Setup is called automatically when the module is loaded, shutdown when ↵Benedikt Tutzer2018-08-011-16/+19
| | | | | | | | | | | | | | | | python exits
| | * | Cleaned up commentsBenedikt Tutzer2018-08-011-9/+3
| | | |
| | * | Added Monitor class that can monitor all changes in a Design or in a ModuleBenedikt Tutzer2018-07-101-0/+119
| | | |
| | * | added destructors for wires and cellsBenedikt Tutzer2018-07-102-1/+16
| | | |
| | * | removed debug outputBenedikt Tutzer2018-07-091-1/+0
| | | |
| | * | commands can now be run on arbitrary designs, not only on the active oneBenedikt Tutzer2018-07-091-0/+10
| | | |
| | * | multiple designs can now exist independent from each other. ↵Benedikt Tutzer2018-07-093-45/+118
| | | | | | | | | | | | | | | | Cells/Wires/Modules can now move to a different parent without referencing issues
| | * | Introduced namespace and removed class-prefixes to increase readabilityBenedikt Tutzer2018-06-281-163/+165
| | | |
| | * | changed references from hash-ids to IdString namesBenedikt Tutzer2018-06-281-64/+32
| | | |
| | * | added wrappers for Design, Modules, Cells and WiresBenedikt Tutzer2018-06-251-0/+244
| | | |
* | | | Merge remote-tracking branch 'origin/master' into xaigEddie Hung2019-04-202-3/+6
|\| | |
| * | | Add "wbflip" commandClifford Wolf2019-04-202-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | | Ignore 'whitebox' attr in flatten with "-wb" optionEddie Hung2019-04-181-2/+2
| | | |
* | | | Ignore 'whitebox' attr in flatten with "-wb" optionEddie Hung2019-04-181-2/+2
| | | |
* | | | Merge remote-tracking branch 'origin/clifford/whitebox' into xaigEddie Hung2019-04-182-3/+7
|\| | |
| * | | Add "whitebox" attribute, add "read_verilog -wb"Clifford Wolf2019-04-182-3/+7
| | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | | Merge branch 'master' into xaigEddie Hung2019-04-087-27/+151
|\| | |
| * | | Add "read_ilang -lib"Clifford Wolf2019-04-052-0/+25
| | |/ | |/| | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | Add RTLIL::Const::ext[su](), fix RTLIL::SigSpec::extend_u0 for 0-size signalsClifford Wolf2019-03-232-1/+9
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | Add fmcombine passClifford Wolf2019-03-152-17/+32
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | Add hashlib "<container>::element(int n)" methodsClifford Wolf2019-03-141-0/+6
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | Fix a bug in handling quotes in multi-cmd lines in Yosys scriptsClifford Wolf2019-03-121-1/+7
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | Improve determinism of IdString DB for similar scriptsClifford Wolf2019-03-114-5/+67
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * | Add ENABLE_GLOB Makefile switchClifford Wolf2019-03-111-3/+5
| | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | Merge remote-tracking branch 'origin/master' into xaigEddie Hung2019-02-261-2/+16
|\| |
| * | Merge pull request #819 from YosysHQ/clifford/optdClifford Wolf2019-02-221-2/+16
| |\ \ | | | | | | | | Rename "yosys -D" to "yosys -U", add "yosys -D" with expected behavior
| | * | Rename "yosys -U" to "yosys -P" to avoid confusion about "undefine"Clifford Wolf2019-02-211-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| | * | Rename "yosys -D" to "yosys -U", add "yosys -D" with expected behaviorClifford Wolf2019-02-211-2/+16
| | | | | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | | | Add IdString::ends_with()Eddie Hung2019-02-261-0/+6
| | | |
* | | | Merge remote-tracking branch 'origin/master' into xaigEddie Hung2019-02-211-0/+3
|\| | |
| * | | Add FF support to wreduceClifford Wolf2019-02-201-0/+3
| |/ / | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* / / Refactor kernel/cost.h definition into cost.ccEddie Hung2019-02-082-49/+77
|/ /
* | Add optional nullstr argument to log_id()Clifford Wolf2019-01-151-1/+3
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | Fix typographical and grammatical errors and inconsistencies.whitequark2019-01-022-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The initial list of hits was generated with the codespell command below, and each hit was evaluated and fixed manually while taking context into consideration. DIRS="kernel/ frontends/ backends/ passes/ techlibs/" DIRS="${DIRS} libs/ezsat/ libs/subcircuit" codespell $DIRS -S *.o -L upto,iff,thru,synopsys,uint More hits were found by looking through comments and strings manually.
* | proc_clean: remove any empty cases if all cases use all-def compare.whitequark2018-12-232-0/+14
| |
* | tcl: add support for passing arguments to scripts.whitequark2018-12-201-7/+18
| |
* | Improve ConstEval error handling for non-eval cell typesClifford Wolf2018-11-292-9/+19
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* | Avoid assert when label is an empty stringJon Burgess2018-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling back() on an empty string is not allowed and triggers an assert with recent gcc: $ cd manual/PRESENTATION_Intro $ ../../yosys counter.ys ... /usr/include/c++/8/bits/basic_string.h:1136: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::back() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&]: Assertion '!empty()' failed. 802 if (label.back() == ':' && GetSize(label) > 1) (gdb) p label $1 = ""
* | fix unhandled std::out_of_range when calling yosys with 3-character argumentwhentze2018-10-221-2/+2
| |
* | Documentation improvements etc.Ruben Undheim2018-10-131-3/+1
| | | | | | | | | | | | | | | | | | - Mention new feature in the SystemVerilog section in the README file - Commented changes much better - Rename a few signals to make it clearer - Prevent warning for unused signals in an easier way - Add myself as copyright holder to 2 files - Fix one potential memory leak (delete 'wire' if not in modport)
* | Support for 'modports' for System Verilog interfacesRuben Undheim2018-10-122-2/+2
| |
* | Synthesis support for SystemVerilog interfacesRuben Undheim2018-10-122-0/+17
| | | | | | | | This time doing the changes mostly in AST before RTLIL generation
* | Fix IdString M in setup_stdcells()Adrian Wheeldon2018-10-041-1/+1
| |
* | Fix Cygwin build and document needed packagesMiodrag Milanovic2018-09-191-1/+1
| |
* | Merge pull request #591 from hzeller/virtual-overrideClifford Wolf2018-08-158-32/+31
|\ \ | | | | | | Consistent use of 'override' for virtual methods in derived classes.
| * | Consistent use of 'override' for virtual methods in derived classes.Henner Zeller2018-07-208-32/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | o Not all derived methods were marked 'override', but it is a great feature of C++11 that we should make use of. o While at it: touched header files got a -*- c++ -*- for emacs to provide support for that language. o use YS_OVERRIDE for all override keywords (though we should probably use the plain keyword going forward now that C++11 is established)
* | | Map .eblif extension as blif.litghost2018-08-131-0/+2
|/ / | | | | | | Signed-off-by: litghost <537074+litghost@users.noreply.github.com>
* / Provide source-location logging.Henner Zeller2018-07-192-44/+45
|/ | | | | | | | o Provide log_file_warning() and log_file_error() that prefix the log message with <filename>:<lineno>: to be easily picked up by IDEs that need to step through errors. o Simplify some duplicate logging code in kernel/log.cc o Use the new log functions in genrtlil.