Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix indentation | Sahand Kashani | 2020-04-09 | 1 | -3/+3 |
| | |||||
* | Remove dependency on ilang backend since we no longer use it | Sahand Kashani | 2020-04-08 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' of github.com:YosysHQ/yosys into firrtl_backend_fileinfo | Sahand Kashani | 2020-04-08 | 1 | -112/+112 |
|\ | |||||
| * | kernel: big fat patch to use more ID::*, otherwise ID(*) | Eddie Hung | 2020-04-02 | 1 | -88/+88 |
| | | |||||
| * | kernel: use more ID::* | Eddie Hung | 2020-04-02 | 1 | -23/+23 |
| | | |||||
* | | Remove unnecessary pruning of double-quoting | Sahand Kashani | 2020-04-08 | 1 | -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 computation | Sahand Kashani | 2020-03-24 | 1 | -10/+5 |
| | | |||||
* | | Refactor to directly call ILANG_BACKEND::dump_const() + directly lookup src ↵ | Sahand Kashani | 2020-03-24 | 1 | -68/+15 |
| | | | | | | | | attribute | ||||
* | | Indentation conventions | Sahand Kashani | 2020-03-23 | 1 | -5/+6 |
| | | |||||
* | | Const parameter in function (backends/firrtl/firrtl.cc) | Sahand Kashani-Akhavan | 2020-03-23 | 1 | -1/+1 |
| | | | | | | Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com> | ||||
* | | Strip quotes around fileinfo strings | Sahand Kashani | 2020-03-21 | 1 | -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 cells | Sahand Kashani | 2020-03-21 | 1 | -21/+30 |
| | | |||||
* | | Refactor fileinfo emission characters to single location | Sahand Kashani | 2020-03-20 | 1 | -6/+8 |
| | | |||||
* | | Add fileinfo to firrtl backend for instances | Sahand Kashani | 2020-03-19 | 1 | -2/+3 |
| | | |||||
* | | Add fileinfo to firrtl backend for modules and wires | Sahand Kashani | 2020-03-19 | 1 | -12/+20 |
| | | |||||
* | | Add fileinfo to firrtl backend for top-level circuit | Sahand Kashani | 2020-03-19 | 1 | -1/+62 |
|/ | |||||
* | remove include where not used | Miodrag Milanovic | 2020-03-13 | 1 | -1/+0 |
| | |||||
* | Merge pull request #1258 from YosysHQ/eddie/cleanup | Clifford Wolf | 2019-08-10 | 1 | -5/+5 |
|\ | | | | | Cleanup a few barnacles across codebase | ||||
| * | substr() -> compare() | Eddie Hung | 2019-08-07 | 1 | -1/+1 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into eddie/cleanup | Eddie Hung | 2019-08-07 | 1 | -93/+203 |
| |\ | |||||
| * | | Use IdString::begins_with() | Eddie Hung | 2019-08-06 | 1 | -2/+2 |
| | | | |||||
| * | | Use State::S{0,1} | Eddie Hung | 2019-08-06 | 1 | -2/+2 |
| | | | |||||
* | | | Merge branch 'master' into firrtl_err_on_unsupported_cell | Jim Lawson | 2019-08-07 | 1 | -93/+203 |
|\ \ \ | | |/ | |/| | | | | | | | # Conflicts: # backends/firrtl/firrtl.cc | ||||
| * | | Support explicit FIRRTL properties for better accommodation of ↵ | Jim Lawson | 2019-07-31 | 1 | -93/+203 |
| |/ | | | | | | | | | | | | | | | | | FIRRTL/Verilog semantic differences. Use FIRRTL spec vlaues for definition of FIRRTL widths. Added support for '$pos`, `$pow` and `$xnor` cells. Enable tests/simple/operators.v since all operators tested there are now supported. Disable FIRRTL tests of tests/simple/{defvalue.sv,implicit_ports.v,wandwor.v} since they currently generate FIRRTL compilation errors. | ||||
* / | Call log_error() instead of log_warning() on unsupported cell type in FIRRTL ↵ | Jim Lawson | 2019-07-24 | 1 | -1/+1 |
|/ | | | | backend. | ||||
* | Fix static shift operands, neg result type, minor formatting | Jim Lawson | 2019-05-21 | 1 | -3/+7 |
| | | | | | | Static shift operands must be constants. The result of FIRRTL's neg operator is signed. Fix poor indentation for gen_read(). | ||||
* | Fix all warnings that occurred when compiling with gcc9 | Kristoffer Ellersgaard Koch | 2019-05-08 | 1 | -1/+2 |
| | |||||
* | Re-indent firrtl.cc:struct memory - no functional change. | Jim Lawson | 2019-05-01 | 1 | -25/+25 |
| | |||||
* | Fix #938 - Crash occurs in case when use write_firrtl command | Jim Lawson | 2019-05-01 | 1 | -4/+41 |
| | | | | | | Add missing memory initialization. Sanity-check memory parameters. Add Cell pointer to memory object (for error reporting). | ||||
* | Refine memory support to deal with general Verilog memory definitions. | Jim Lawson | 2019-04-01 | 1 | -30/+173 |
| | |||||
* | Ensure fid() calls make_id() for consistency; tests/simple/dff_init.v fails | Jim Lawson | 2019-03-04 | 1 | -2/+1 |
| | | | | Mark dff_init.v as expected to fail since it uses "initial value". | ||||
* | Fix FIRRTL to Verilog process instance subfield assignment. | Jim Lawson | 2019-02-25 | 1 | -8/+20 |
| | | | | | | Don't emit subfield assignments: bits(x, y, z) <= ... - but instead, add them to the reverse-wire-map where they'll be treated at the end of the module. Enable tests which were disabled due to incorrect treatment of subfields. Assume the `$firrtl2verilog` variable contains any additional switches to control verilog generation (i.e. `--no-dedup -X mverilog`) | ||||
* | Removed unused variables, functions. | Jim Lawson | 2019-02-15 | 1 | -20/+0 |
| | |||||
* | Update cells supported for verilog to FIRRTL conversion. | Jim Lawson | 2019-02-15 | 1 | -48/+225 |
| | | | | | | | | | | | | | Issue warning messages for missing parameterized modules and attempts to set initial values. Replace simple "if (cell-type)" with "else if" chain. Fix FIRRTL shift handling. Add support for parameterized modules, $shift, $shiftx. Handle default output file. Deal with no top module. Automatically run pmuxtree pass. Allow EXTRA_FLAGS and SEED parameters to be set in the environment for tests/tools/autotest.mk. Support FIRRTL regression testing in tests/tools/autotest.sh Add xfirrtl files to test directories to exclude files from FIRRTL regression tests that are known to fail. | ||||
* | added prefix to FDirection constants, fixing windows build | Miodrag Milanovic | 2018-09-21 | 1 | -11/+11 |
| | |||||
* | Remove unused functions. | Jim Lawson | 2018-08-27 | 1 | -10/+0 |
| | |||||
* | Add support for module instances. | Jim Lawson | 2018-08-23 | 1 | -17/+122 |
| | | | | | | | Don't pad logical operands to one bit. Use operand width and signedness in $reduce_bool. Shift amounts are unsigned and shouldn't be padded. Group "is invalid" with the wire declaration, not its use (otherwise it is incorrectly wired to 0). | ||||
* | Consistent use of 'override' for virtual methods in derived classes. | Henner Zeller | 2018-07-20 | 1 | -2/+2 |
| | | | | | | | | | 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) | ||||
* | More progress on Firrtl backend. | Adam Izraelevitz | 2017-02-13 | 1 | -5/+117 |
| | | | | | Chisel -> Firrtl -> Verilog -> Firrtl -> Verilog is successful for a simple rocket-chip design. | ||||
* | Bugfix: include assign to write-mask | Adam Izraelevitz | 2016-11-18 | 1 | -0/+1 |
| | |||||
* | More progress in FIRRTL back-end | Clifford Wolf | 2016-11-18 | 1 | -0/+96 |
| | |||||
* | Progress in FIRRTL back-end | Clifford Wolf | 2016-11-18 | 1 | -5/+28 |
| | |||||
* | Added first draft of FIRRTL back-end | Clifford Wolf | 2016-11-17 | 1 | -0/+350 |