| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Remove yosys libdir from LDFLAGS (and fix a typo)
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \
| | |
| | | |
Avoid switch fall-through warnings
|
| | |
| | |
| | |
| | |
| | |
| | | |
log_assert(false) never returns and thus can't fall through, but gcc
doesn't seem to think that far. Making it the last case avoids the
problem entirely.
|
| | |
| | |
| | |
| | |
| | | |
C++17 introduced [[fallthrough]], GCC and clang had their own vendored
attributes before that. MSVC doesn't seem to have such a warning at all.
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
By instantiating the LUTRAM cell directly, we avoid a trip through
altsyncram, which speeds up Quartus synthesis time. This also gives
a little more flexibility, as Yosys can build RAMs out of individual
32x1 LUTRAM cells.
While working on this, I discovered that the mem_init0 parameter of
<family>_mlab_cell gets ignored by Quartus.
|
|\ \
| | |
| | | |
Add "nowrshmsk" attribute, fix shift-and-mask bit slice write for signed offset
|
| | |
| | |
| | |
| | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
offset, fixes #1990
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \ \
| |_|/
|/| | |
Makefile: git fetch $(ABCURL) explicitly for local ABC checkout
|
| | | |
|
|\ \ \
| |/ /
|/| | |
verilog: allow null gen-if then block
|
| | | |
|
|\ \ \
| | | |
| | | | |
frontend: cleanup to use more ID::*, more dict<> instead of map<>
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Fix WASI builds with abc enabled
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This PR works around #2011.
|
|\ \ \ \
| | | | |
| | | | | |
synth_ice40/ecp5/xilinx: allow abc9.W to be overridden via scratchpad
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
verilog: set src attribute for primitives
|
| | | | | |
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
verilog: fix specify src attribute
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
frontend: Include complete source location instead of just `location.first_line` in `frontends/ast/genrtlil.cc`.
|
| | | |
| | | |
| | | |
| | | | |
`location.first_line` in `frontends/ast/genrtlil.cc`.
|
|\ \ \ \
| | | | |
| | | | | |
kernel: Trap in `log_error()` when a debugger is attached
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The workflow of debugging fatal pass errors in Yosys is flawed in
three ways:
1. Running Yosys under a debugger is sufficient for the debugger
to catch some fatal errors (segfaults, aborts, STL exceptions)
but not others (`log_error()`, `log_cmd_error()`). This is
neither obvious nor easy to remember.
2. To catch Yosys-specific fatal errors, it is necessary to set
a breakpoint at `logv_error_with_prefix()`, or at least,
`logv_error()`. This is neither obvious nor easy to remember,
and GDB's autocomplete takes many seconds to suggest function
names due to the large amount of symbols in Yosys.
3. If a breakpoint is not set and Yosys encounters with such
a fatal error, the process terminates. When debugging a crash
that takes a long time to reproduce (or a nondeterministic crash)
this can waste a significant amount of time.
To solve this problem, add a macro `YS_DEBUGTRAP` that acts as a hard
breakpoint (if available), and a macro `YS_DEBUGTRAP_IF_DEBUGGING`
that acts as a hard breakpoint only if debugger is present.
Then, use `YS_DEBUGTRAP_IF_DEBUGGING` in `logv_error_with_prefix()`
to obviate the need for a breakpoint on nearly every platform.
Co-Authored-By: Alberto Gonzalez <boqwxp@airmail.cc>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix the other "opt_expr -fine" bug introduced in 213a89558
|
| | | | | | |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
aiger: fixes for ports that have start_offset != 0
|
| | | | | |
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix "opt_expr -fine" bug introduced in 213a89558
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \ \ \
| |/ / /
|/| | | |
Add WASI platform support
|