aboutsummaryrefslogtreecommitdiffstats
path: root/passes/cmds/design.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1928 from YosysHQ/eddie/design_deleteEddie Hung2020-04-161-1/+21
|\ | | | | kernel: add design -delete option
| * kernel: add design -delete optionEddie Hung2020-04-161-1/+21
| |
* | design: do not delete when iterating over Design::modules() directlyEddie Hung2020-04-141-1/+1
|/
* Merge pull request #1859 from boqwxp/design_duplicatewhitequark2020-04-061-2/+13
|\ | | | | Add `-push-copy` option to the `design` command.
| * Rename `-duplicate` to `-push-copy`.Alberto Gonzalez2020-04-041-6/+6
| | | | | | | | Co-Authored-By: whitequark <whitequark@whitequark.org>
| * Add `-duplicate` option to the `design` command.Alberto Gonzalez2020-04-031-2/+13
| |
* | kernel: use more ID::*Eddie Hung2020-04-021-3/+3
|/
* Merge pull request #1832 from boqwxp/cleanup_passes_cmds_designEddie Hung2020-03-301-31/+33
|\ | | | | Clean up pseudo-private member usage in `passes/cmds/design.cc`.
| * Replace `RTLIL::id2cstr()` with `log_id()`.Alberto Gonzalez2020-03-301-1/+1
| | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
| * Clean up pseudo-private member usage in `passes/cmds/design.cc`.Alberto Gonzalez2020-03-281-31/+33
| |
* | Add support for SystemVerilog-style `define to Verilog frontendRupert Swarbrick2020-03-271-1/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | This patch should support things like `define foo(a, b = 3, c) a+b+c `foo(1, ,2) which will evaluate to 1+3+2. It also spots mistakes like `foo(1) (the 3rd argument doesn't have a default value, so a call site is required to set it). Most of the patch is a simple parser for the format in preproc.cc, but I've also taken the opportunity to wrap up the "name -> definition" map in a type, rather than use multiple std::map's. Since this type needs to be visible to code that touches defines, I've pulled it (and the frontend_verilog_preproc declaration) out into a new file at frontends/verilog/preproc.h and included that where necessary. Finally, the patch adds a few tests in tests/various to check that we are parsing everything correctly.
* Consistent use of 'override' for virtual methods in derived classes.Henner Zeller2018-07-201-3/+3
| | | | | | | | | 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)
* Add "design -import"Clifford Wolf2017-06-301-3/+94
|
* Added "design -reset-vlog"Clifford Wolf2016-11-301-7/+32
|
* Spell check (by Larry Doolittle)Clifford Wolf2015-08-141-1/+1
|
* Fixed trailing whitespacesClifford Wolf2015-07-021-2/+2
|
* No implicit conversion from IdString to anything elseClifford Wolf2014-08-021-1/+1
|
* Preparations for RTLIL::IdString redesign: cleanup of existing codeClifford Wolf2014-08-021-1/+1
|
* Added module->design and cell->module, wire->module pointersClifford Wolf2014-07-311-2/+3
|
* Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespaceClifford Wolf2014-07-311-0/+4
|
* Refactoring: Renamed RTLIL::Design::modules to modules_Clifford Wolf2014-07-271-11/+11
|
* Added "design -push" and "design -pop"Clifford Wolf2014-02-201-8/+45
|
* Fixed use of "cmd_error" in passes/cmds/design.ccClifford Wolf2014-02-071-2/+2
|
* Added design -stash/-copy-from/-copy-toClifford Wolf2014-02-061-13/+99
|
* Added "design" command (-reset, -save, -load)Clifford Wolf2013-07-271-0/+128