aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1898 from boqwxp/locationswhitequark2020-04-171-0/+3
|\ | | | | Verilog frontend: add location information to parsed constants
| * Add location information to `AST_CONSTANT` nodes.Alberto Gonzalez2020-04-161-0/+3
| |
* | Merge pull request #1864 from boqwxp/cleanup_techmap_abcwhitequark2020-04-171-99/+80
|\ \ | | | | | | Clean up pseudo-private member usage and simplify `passes/techmap/abc.cc`
| * | Simplify `passes/techmap/abc.cc` and remove superfluous `RTLIL::SigSpec` ↵Alberto Gonzalez2020-04-141-132/+49
| | | | | | | | | | | | | | | | | | constructions. Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
| * | Clean up pseudo-private member usage and simplify `passes/techmap/abc.cc`.Alberto Gonzalez2020-04-051-99/+163
| | |
* | | Merge pull request #1888 from boqwxp/cleanup_scatterwhitequark2020-04-171-17/+11
|\ \ \ | | | | | | | | Clean up `passes/cmds/scatter.cc`.
| * | | Replace `std::map` with `dict`.Alberto Gonzalez2020-04-161-2/+2
| | | | | | | | | | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
| * | | Replace pseudo-private member access to `connections_` in ↵Alberto Gonzalez2020-04-161-13/+10
| | | | | | | | | | | | | | | | | | | | | | | | `passes/cmds/scatter.cc`. Co-Authored-By: N. Engelhardt <nak@symbioticeda.com>
| * | | Clean up `passes/cmds/scatter.cc`.Alberto Gonzalez2020-04-161-10/+7
| | |/ | |/|
* | | Merge pull request #1882 from boqwxp/cleanup_renamewhitequark2020-04-171-119/+103
|\ \ \ | | | | | | | | Clean up pseudo-private member usage in `passes/cmds/rename.cc`.
| * | | Use `dict` instead of `std::map`.Alberto Gonzalez2020-04-161-9/+9
| | | | | | | | | | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
| * | | Revert to `stringf()` rather than stringstreams.Alberto Gonzalez2020-04-161-12/+8
| | | |
| * | | Clean up pseudo-private member usage in `passes/cmds/rename.cc`.Alberto Gonzalez2020-04-161-119/+107
| |/ /
* | | Merge pull request #1929 from YosysHQ/eddie/select_unsetwhitequark2020-04-164-3/+43
|\ \ \ | | | | | | | | select: add select -unset option
| * | | tests: add select -unset testsEddie Hung2020-04-162-0/+20
| | | |
| * | | select: add select -unset optionEddie Hung2020-04-162-3/+23
| |/ /
* | | Merge pull request #1947 from whitequark/cxxrtl-usabilitywhitequark2020-04-162-10/+19
|\ \ \ | |/ / |/| | cxxrtl: minor documentation and usability improvements
| * | cxxrtl: make ROMs writable, document memory::operator[].whitequark2020-04-162-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no practical benefit from using `const memory` for ROMs; it uses an std::vector internally, which prevents contemporary compilers from constant-propagating ROM contents. (It is not clear whether they are permitted to do so.) However, there is a major benefit from using non-const `memory` for ROMs, which is the ability to dynamically fill the ROM for each individual simulation.
| * | cxxrtl: fix misleading example, caution about race conditions.whitequark2020-04-161-4/+13
| | | | | | | | | | | | Fixes #1944.
| * | cxxrtl: remove inaccurate comment. NFC.whitequark2020-04-161-2/+0
| | |
* | | Merge pull request #1928 from YosysHQ/eddie/design_deleteEddie Hung2020-04-164-1/+40
|\ \ \ | | | | | | | | kernel: add design -delete option
| * | | tests: add design -delete testsEddie Hung2020-04-162-0/+18
| | | |
| * | | kernel: add design -delete optionEddie Hung2020-04-162-1/+22
| | | |
* | | | Merge pull request #1896 from boqwxp/read_stdin_replwhitequark2020-04-161-3/+4
|\ \ \ \ | | | | | | | | | | Frontend: allow reading file input from stdin, like a REPL heredoc mode
| * | | | Use script-style heredoc syntax for REPL heredocs.Alberto Gonzalez2020-04-151-7/+7
| | | | |
| * | | | Allow reading file input from stdin, improving REPL experience.Alberto Gonzalez2020-04-151-6/+7
| | | | |
* | | | | Merge pull request #1797 from epfl-vlsc/firrtl_backend_fileinfoClaire Wolf2020-04-161-29/+51
|\ \ \ \ \ | | | | | | | | | | | | Keep file information when emitting firrtl
| * | | | | Fix indentationSahand Kashani2020-04-091-3/+3
| | | | | |
| * | | | | Remove dependency on ilang backend since we no longer use itSahand Kashani2020-04-081-1/+0
| | | | | |
| * | | | | Merge branch 'master' of github.com:YosysHQ/yosys into firrtl_backend_fileinfoSahand Kashani2020-04-08228-7017/+9036
| |\ \ \ \ \
| * | | | | | Remove unnecessary pruning of double-quotingSahand Kashani2020-04-081-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the past I was calling the ILANG_BACKEND::dump_const() to dump values to an output stream. When these values were strings, the function used to add quotes around them. The firrtl compiler, in turn, escaped these quotes and the result was double-quoted strings which were hard to read. However I'm now calling design_entity->get_src_attribute() directly and there is no additional quote being put around it, so we can safely remove the unnecessary call to str.erase() here.
| * | | | | | Remove use of auto for simple types + simplify src attribute computationSahand Kashani2020-03-241-10/+5
| | | | | | |
| * | | | | | Refactor to directly call ILANG_BACKEND::dump_const() + directly lookup src ↵Sahand Kashani2020-03-241-68/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | attribute
| * | | | | | Indentation conventionsSahand Kashani2020-03-231-5/+6
| | | | | | |
| * | | | | | Const parameter in function (backends/firrtl/firrtl.cc)Sahand Kashani-Akhavan2020-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com>
| * | | | | | Strip quotes around fileinfo stringsSahand Kashani2020-03-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Yosys puts quotes around the string that represents the fileinfo whereas firrtl does not. So when firrtl sees quotes, it escapes them with an extra backslash which makes it hard to read afterwards.
| * | | | | | Add fileinfo to firrtl backend for assignments and non-instance cellsSahand Kashani2020-03-211-21/+30
| | | | | | |
| * | | | | | Refactor fileinfo emission characters to single locationSahand Kashani2020-03-201-6/+8
| | | | | | |
| * | | | | | Add fileinfo to firrtl backend for instancesSahand Kashani2020-03-191-2/+3
| | | | | | |
| * | | | | | Add fileinfo to firrtl backend for modules and wiresSahand Kashani2020-03-191-12/+20
| | | | | | |
| * | | | | | Add fileinfo to firrtl backend for top-level circuitSahand Kashani2020-03-191-1/+62
| | | | | | |
* | | | | | | ecp5: Force SIGNED ports to be 1 bitDavid Shah2020-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | | | | | | Merge pull request #1927 from YosysHQ/eddie/design_remove_assertEddie Hung2020-04-162-1/+2
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | kernel: Design::remove(RTLIL::Module *) to check refcount_modules_
| * | | | | | design: do not delete when iterating over Design::modules() directlyEddie Hung2020-04-141-1/+1
| | | | | | |
| * | | | | | kernel: Design::remove(RTLIL::Module *) to check refcount_modules_Eddie Hung2020-04-141-0/+1
| | | | | | |
* | | | | | | Merge pull request #1915 from boqwxp/dict_move_semanticswhitequark2020-04-161-4/+68
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | kernel: Add `dict` support for rvalue references and C++11 move semantics.
| * | | | | | | Rename overloaded `insert()` to `emplace()` and add overloaded versions for ↵Alberto Gonzalez2020-04-161-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all possible lvalue/rvalue combinationsfor its arguments.
| * | | | | | | Add `dict` support for rvalue references and C++11 move semantics.Alberto Gonzalez2020-04-131-4/+38
| | | | | | | |
* | | | | | | | Merge pull request #1900 from Xiretza/suppress-makefile-echowhitequark2020-04-161-0/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Suppress output of Makefile.conf when printing source versions
| * | | | | | | | Suppress output of Makefile.conf when printing source versionsXiretza2020-04-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The make targets echo-yosys-ver, echo-git-ver and echo-abc-rev can be used to programmatically extract contents of make variables for external scripts. Unfortunately, when a Makefile.conf exists, its contents would also be echoed, making the output almost unusable. This patch selectively disables this functionality for these special targets.