| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
splitnets: Cleanup and efficiency improvements
|
| | |
|
| | |
|
|\ \
| | |
| | | |
cxxrtl: don't compute vital values in log_assert()
|
| | |
| | |
| | |
| | |
| | |
| | | |
This breaks NDEBUG builds.
Fixes #2166.
|
|\ \ \
| | |/
| |/| |
splitnets: propagate (*hdlname*) and disambiguate via start_offset
|
| | |
| | |
| | |
| | | |
This allows reliably coalescing the split wires later.
|
|\ \ \
| | | |
| | | | |
Get yosys building on Visual Studio
|
| | | | |
|
| | | | |
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
cxxrtl: restrict the debug info of a blackbox to its ports.
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
cxxrtl: avoid unused variable warning for transparent $memrd ports
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix Verilator sim warnings: 1 BLKSEQ and 3 WIDTH
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
cxxrtl: Implement chunk-wise multiplication
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
cxxrtl: fix sshr sign-extension.
|
| | | |
|
|\ \ \
| | | |
| | | | |
kernel: guard include of signal.h more precisely
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Upgrading to WASI SDK 11.0 caused the WASM build to fail because WASM
does not have signals. (Arguably Yosys was broken even before, it was
just broken silently.)
|
|\ \ \
| |/ /
|/| | |
cxxrtl: fix rzext()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was a correctness issue, but one of the consequences is that it
resulted in jumps in generated machine code where there should have
been none. As a side effect of fixing the bug, Minerva SoC became 10%
faster.
|
|\ \ \
| | | |
| | | | |
cxxrtl: handle multipart signals
|
| | | |
| | | |
| | | |
| | | | |
This avoids losing design visibility when using the `splitnets` pass.
|
| | |/
| |/| |
|
|\ \ \
| |_|/
|/| | |
cxxrtl: always inline internal cells and slice/concat operations
|
|/ /
| |
| |
| |
| |
| | |
This can result in massive reduction in runtime, up to 50% depending
on workload. Currently people are using `-mllvm -inline-threshold=`
as a workaround (with clang++), but this solution is more portable.
|
|\ \
| | |
| | | |
cxxrtl: elide $pmux cells
|
|/ /
| |
| |
| |
| | |
On Minerva, this improves runtime by around 10%, mostly by ensuring
that the logic driving FFs is packed into edge conditionals.
|
|\ \
| | |
| | | |
cxxrtl: unbuffer output wires of toplevel module
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Without unbuffering output wires of, at least, toplevel modules, it
is not possible to have most designs that rely on IO via toplevel
ports (as opposed to using exclusively blackboxes) converge within
one delta cycle. That seriously impairs the performance of CXXRTL.
This commit avoids unbuffering outputs of all modules solely so that
in future, CXXRTL could gain fully separate compilation, and not for
any present technical reason.
|
| |/
| |
| |
| | |
This also fixes an edge case with (*keep*) input ports.
|
|/ |
|
|\
| |
| | |
cxxrtl: various compiler compatibility fixes
|
| |
| |
| |
| | |
This is necessary to be able to build CXXRTL models via yosys-config.
|
| | |
|
| | |
|
|\ \
| |/
|/| |
cxxrtl: disambiguate values/wires and their aliases in debug info
|
|/
|
|
|
|
|
| |
With this change, it is easier to see which signals carry state (only
wire<>s appear as `reg` in VCD files) and to construct a minimal
checkpoint (CXXRTL_WIRE debug items represent the canonical smallest
set of state required to fully reconstruct the simulation).
|
|\
| |
| | |
cxxrtl: introduce -Og optimization level
|
| |
| |
| |
| |
| |
| |
| | |
Although logically two separate steps, these were treated as one for
historic reasons. Splitting the two makes it possible to have designs
that are only 2× slower than fastest possible (and are without extra
delta cycles) that allow probing all public wires.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Historically, elision was implemented before localization, so levels
with elision are lower than corresponding levels with localization.
This is unfortunate for two reasons:
1. Elision is a logical subset of localization, since it equals to
not giving a name to a temporary.
2. "Localize" currently actually means "unbuffer and localize",
and it would be useful to split those steps (at least for
public wires) for improved design visibility.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Although these options can be thought of as optimizations, they are
essentially orthogonal to the core of -O, which is managing signal
buffering and scope. Going from -O4 to -O2 means going from limited
to complete design visibility, yet in both cases proc and flatten
are desirable.
|
|\ \
| | |
| | | |
Do not optimize away FFs in "prep" and Verific front-end
|