aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add buffer option to spice backendPepijn de Vos2021-01-131-7/+15
|
* Bump versionYosys Bot2021-01-051-1/+1
|
* Merge pull request #2522 from tomverbeure/simlib_typos2whitequark2021-01-041-5/+5
|\ | | | | Fix some trivial typos.
| * Fix some trivial typos.Tom Verbeure2021-01-031-5/+5
|/
* Bump versionYosys Bot2021-01-021-1/+1
|
* Merge pull request #2480 from YosysHQ/dave/nexus-lramwhitequark2021-01-015-1/+227
|\ | | | | nexus: Add LRAM inference
| * nexus: Add LRAM inferenceDavid Shah2020-12-075-1/+227
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #2512 from umarcor/plugin-errwhitequark2021-01-011-1/+5
|\ \ | | | | | | plugin: enhance no-plugin error
| * | plugin: enhance no-plugin errorumarcor2020-12-291-1/+5
| | |
* | | Merge pull request #2515 from umarcor/fix/ghdlwhitequark2021-01-011-2/+2
|\ \ \ | | | | | | | | makefile: fix GHDL vars, replace GHDL_DIR with GHDL_PREFIX
| * | | makefile: fix GHDL vars, replace GHDL_DIR with GHDL_PREFIXumarcor2020-12-301-2/+2
| | | |
* | | | Merge pull request #2518 from zachjs/recursionwhitequark2021-01-014-8/+99
|\ \ \ \ | | | | | | | | | | verilog: improved support for recursive functions
| * | | | verilog: improved support for recursive functionsZachary Snow2020-12-314-8/+99
| |/ / /
* | | | Merge pull request #2517 from zachjs/sv-tf-implied-directionwhitequark2021-01-013-0/+39
|\ \ \ \ | |/ / / |/| | | sv: complete support for implied task/function port directions
| * | | sv: complete support for implied task/function port directionsZachary Snow2020-12-313-0/+39
|/ / /
* / / Bump versionYosys Bot2020-12-301-1/+1
|/ /
* | Merge pull request #2509 from zachjs/issue-2427whitequark2020-12-294-1/+56
|\ \ | | | | | | Fix elaboration of whole memory words used as indices
| * | Fix elaboration of whole memory words used as indicesZachary Snow2020-12-264-1/+56
| | |
* | | Merge pull request #2514 from umarcor/feat/ghdlwhitequark2020-12-291-0/+9
|\ \ \ | | | | | | | | makefile: add support for built-in ghdl-yosys-plugin
| * | | makefile: add support for built-in ghdl-yosys-pluginumarcor2020-12-281-0/+9
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Tristan Gingold <tgingold@free.fr> Co-authored-by: whitequark <whitequark@whitequark.org>
* | | | Bump versionYosys Bot2020-12-291-1/+1
|/ / /
* | | Merge pull request #2511 from umarcor/feat/msys2-32whitequark2020-12-281-5/+7
|\ \ \ | | | | | | | | Update MSYS2 build system
| * | | makefile: rename msys2 to msys2-32, config PREFIXumarcor2020-12-281-5/+7
| | | |
* | | | Merge pull request #2507 from umarcor/fix/msys2whitequark2020-12-281-2/+3
|\| | | | | | | | | | | kernel/yosys.h: undef CONST on WIN32
| * | | kernel/yosys.h: undef CONST on WIN32umarcor2020-12-281-2/+3
|/ / /
* | | Bump versionYosys Bot2020-12-281-1/+1
| | |
* | | Merge pull request #2510 from YosysHQ/whitequark/CODEOWNERS-verilog-astClaire Xen2020-12-271-0/+3
|\ \ \ | |/ / |/| | CODEOWNERS: add @zachjs as Verilog/AST frontend owner
| * | CODEOWNERS: add @zachjs as Verilog/AST frontend ownerwhitequark2020-12-271-0/+3
|/ /
* | Bump versionYosys Bot2020-12-271-1/+1
| |
* | Merge pull request #2506 from zachjs/const-arg-redeclareMiodrag Milanović2020-12-262-5/+26
|\ \ | | | | | | Fix constants bound to redeclared function args
| * | Fix constants bound to redeclared function argsZachary Snow2020-12-262-5/+26
|/ / | | | | | | | | | | | | | | The changes in #2476 ensured that function inputs like `input x;` retained their single-bit size when instantiated with a constant argument and turned into a localparam. That change did not handle the possibility for an input to be redeclared later on with an explicit width, such as `integer x;`.
* | Bump versionYosys Bot2020-12-241-1/+1
| |
* | Merge pull request #2502 from ldoolitt/masterwhitequark2020-12-231-2/+2
|\ \ | | | | | | passes/pmgen/pmgen.py: trivial change to remove C++ compiler warnings
| * | passes/pmgen/pmgen.py: trivial change to remove C++ compiler warningsLarry Doolittle2020-12-231-2/+2
| | | | | | | | | | | | Verified that the result still builds and passes self-tests
* | | Merge pull request #2501 from zachjs/genrtlil-tern-signwhitequark2020-12-232-4/+10
|\ \ \ | | | | | | | | genrtlil: fix mux2rtlil generated wire signedness
| * | | genrtlil: fix mux2rtlil generated wire signednessZachary Snow2020-12-222-4/+10
| | | |
* | | | Merge pull request #2476 from zachjs/const-arg-widthwhitequark2020-12-232-0/+18
|\ \ \ \ | |_|/ / |/| | | Fix constants bound to single bit arguments (fixes #2383)
| * | | Fix constants bound to single bit arguments (fixes #2383)Zachary Snow2020-12-222-0/+18
| | | |
* | | | Bump versionYosys Bot2020-12-231-1/+1
| |/ / |/| |
* | | Merge pull request #2499 from whitequark/cxxrtl-fixeswhitequark2020-12-221-9/+10
|\ \ \ | | | | | | | | cxxrtl: don't crash generating debug information for unused wires
| * | | cxxrtl: don't crash generating debug information for unused wires.whitequark2020-12-221-9/+10
|/ / /
* | | Merge pull request #2498 from StefanBruens/Fix_opt_lutwhitequark2020-12-221-2/+4
|\ \ \ | | | | | | | | Fix use-after-free in LUT opt pass
| * | | Fix use-after-free in LUT opt passStefanBruens2020-12-221-2/+4
| | | | | | | | | | | | | | | | | | | | RTLIL::Module::remove(Cell* cell) calls `delete cell`. Any subsequent accesses of `cell` then causes undefined behavior.
* | | | Merge pull request #2497 from whitequark/cxxrtl-reflowwhitequark2020-12-222-446/+608
|\ \ \ \ | |/ / / |/| | | cxxrtl: completely rewrite netlist layout code
| * | | cxxrtl: split processes into sync and case nodes.whitequark2020-12-221-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to the treatment of black boxes, splitting processes into two scheduling nodes adds sufficient freedom so that netlists with well-behaved processes (e.g. those emitted by nMigen) can immediately converge. Because processes are not emitted into edge-triggered regions, this approach has comparable performance to -O5 (without -noproc), which is substantially slower than -O6.
| * | | kernel: undef Tcl macros interfering with cxxrtl.whitequark2020-12-221-0/+2
| | | |
| * | | cxxrtl: completely rewrite netlist layout code.whitequark2020-12-221-406/+569
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The exact shape of C++ code emitted by CXXRTL has a critical effect on performance, both compile-time and runtime. CXXRTL's performance greatly improved when it started localizing and inlining wires, not only because this assists the optimizer and register allocator, but also because inlining code into edge-triggered regions cuts the time spent in eval() by at least a factor of two. However, the logic of netlist layout has always been ad-hoc, fragile, and very hard to understand and modify. After commit ece25a45, which introduced outlining, the same logic started being applied to two distinct netlists at once instead of one, which barely worked. This commit does four major changes: * There is now a single unambiguous source of truth (per subgraph) for the layout of any emitted wire. * Netlist layout is now done entirely during analysis using well known graph algorithms; no graph operations happen when emitting. * Netlist layout now happens completely separately for eval() and debug_eval() subgraphs. * Unreachable (within subgraph scope) netlist nodes are now neither emitted nor considered for wire inlining decisions. The netlist layout code should also now closely match the described semantics. As a part of this large cleanup, it includes many miscellaneous improvements: * The "bare minimum" debug level introduced in commit dd6a761d was split into two levels; -g1 now emits debug information *only* for inputs and state wires, and -g2 now emits debug information for all public members. The old behavior matches -g2. This is done to avoid bloat on low optimization levels. * Debug aliases and inlined connections are now handled separately, and complex RHS never interferes with inlined connections. * Aliases to outlined wires now carry a pointer to the outline. * Cell sync outputs can now be emitted in debug_eval(). * Black box debug information now includes comb/sync driver flags. * The comment emitted for inlined cells is now accurate. * Debug information statistics now has less noise. * Netlist layout code is now much better documented. Due to more precise inlining decisions, unmodified (i.e. with no Yosys script being used) netlists now have much more logic inlined into edge-triggered regions. On Minerva SoC SRAM, this improves runtime by 20-25% across compilers and optimization levels. Due to more precise reachability analysis, much less C++ code is now emitted, especially at the maximum debug level. On Minerva SoC SRAM, this improves clang compile time by 30-50% depending on options. gcc is not affected.
| * | | cxxrtl: simplify logic choosing wire type. NFCI.whitequark2020-12-211-19/+8
| | | |
| * | | cxxrtl: clarify node use-def construction. NFCI.whitequark2020-12-211-18/+11
| | | |
| * | | cxxrtl: fix typo.whitequark2020-12-211-2/+2
| | | |