|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | | 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 | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | This includes the following significant changes:
  * Patching ezsat and minisat to disable resource limiting code
    on WASM/WASI, since the POSIX functions they use are unavailable.
  * Adding a new definition, YOSYS_DISABLE_SPAWN, present if platform
    does not support spawning subprocesses (i.e. Emscripten or WASI).
    This definition hides the definition of `run_command()`.
  * Adding a new Makefile flag, DISABLE_SPAWN, present in the same
    condition. This flag disables all passes that require spawning
    subprocesses for their function. | 
| |\ \ \ \ \ \  
| | | | | | | 
| | | | | | | | Explain how to do out-of-tree builds in README | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| | | | | | | | |  | 
| |\ \ \ \ \ \ \  
| |_|/ / / / /  
|/| | | | | | | Clear current_scope when done with RTLIL generation | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com> | 
| |\ \ \ \ \ \ \  
| | | | | | | | 
| | | | | | | | | verific: recover wiretype/enum attr as part of import_attributes() | 
| | | | | | | | | |  | 
| | | | | | | | | |  | 
| | | | | | | | | |  | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | | This reverts commit 5028e17f7db11f901ce9e423dfe2c6f7e68259cc. | 
| |\ \ \ \ \ \ \ \  
| |_|_|_|_|/ / /  
|/| | | | | | | | Fix .editorconfig to not break abc | 
| | | |_|/ / / /  
| |/| | | | | |  | 
| |\ \ \ \ \ \ \  
| | | | | | | | 
| | | | | | | | | abc: use YosysHQ/abc instead of upstream berkeley-abc/abc | 
| | | | | | | | | |  | 
| | | | | | | | | 
| | | | | | | | 
| | | | | | | | 
| | | | | | | | | Enabling modifications | 
| |\ \ \ \ \ \ \ \  
| |/ / / / / / /  
|/| | | | | | | | bugpoint: improve help text |