| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
attribute
|
| |
|
|
|
| |
Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com>
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Fix make test on macOS: add bash to brewfile & fix argument order
|
| | |
|
|/
|
| |
Default bash on macOS is version 3, which does not support `define -A`, now used in `tests/arch/run-test.sh`. Use brew to install newer bash.
|
|\
| |
| | |
Clean up code style and pseudo-private member usage in `passes/cmds/select.cc`
|
| |
| |
| |
| | |
Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
|
| | |
|
|\ \
| | |
| | | |
Add AST node source location information in a couple more parser rules.
|
|/ / |
|
| |
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \
| | |
| | | |
License: bump year and add title
|
| | | |
|
|\ \ \
| | | |
| | | | |
Clean up pseudo-private member usage in `backends/smt2/smt2.cc`.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add support for optimizing exists-forall problems.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Modifies smt2 backend to recognize `$anyconst` etc. assigned to a wire with the `maximize` or `minimize` attribute and emit `; yosys-smt2-maximize` or `; yosys-smt2-minimize` directives as appropriate.
Modifies `backends/smt2/smtbmc.py` and `smtio.py` to recognize those directives and emit a `(maximize ...)` or `(minimize ...)` command at the end of `smt_forall_assert()`, as described in the paper "νZ - An Optimizing SMT Solver" by Nikolaj Bjørner et al.
Adds an example `examples/smtbmc/demo9.v` to show how it can be used.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
ice40: Fix SPRAM model to keep data stable if chipselect is low
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
According to the official simulation model, and also cross-checked
on real hardware, the data output of the SPRAM when chipselect is
low is kept stable. It doesn't go undefined.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
refixed parsing of constant with comment between size and value
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The three parts of a based constant (size, base, digits) are now three
separate tokens, allowing the linear whitespace (including comments)
between them to be treated as normal inter-token whitespace.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Set AST node source location in more parser rules.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
Regex support for GCC 4.8
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Improve ABC repository management in Makefile
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`rev-parse --short` output may have a different abbreviated hash length than
ABCREV, so a simple string comparison always fails, even if the correct
commit is checked out. Pass both commits through rev-parse and then
compare the full hashes instead.
Add an `echo-abc-rev` target so that packaging scripts can set ABCPULL=0 and
handle all the git nastiness themselves.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 2a746234fec2f6d14e9bfa40fd7f3478cdd539ea.
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 90404e1969443a1b8a767ab8f3dc311709c5fe9d.
|
|\ \ \ \
| | | | |
| | | | | |
Makefile improvements for packaging scripts
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`rev-parse --short` output may have a different abbreviated hash length than
ABCREV, so a simple string comparison always fails, even if the correct
commit is checked out. Pass both commits through rev-parse and then
compare the full hashes instead.
Add an `echo-abc-rev` target so that packaging scripts can set ABCPULL=0 and
handle all the git nastiness themselves.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- libyosys.so is now only installed to LIBDIR instead of LIBDIR, BINDIR
and PYTHON_DESTDIR
- replace mkdir/cp for single files with `install`
|