| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| | | |
| | | | |
cxxrtl: add .get() and .set() accessors on value<> and wire<>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For several reasons:
* They're more convenient than accessing .data.
* They accommodate variably-sized types like size_t transparently.
* They statically ensure that no out of range conversions happen.
For now these are only provided for unsigned integers, but eventually
they should be provided for signed integers too. (Annoyingly this
affects conversions to/from `char` at the moment.)
Fixes #2127.
|
|\ \ \
| |/ /
|/| | |
cutpoint: Improve efficiency by iterating over module ports instead of module wires
|
|/ /
| |
| |
| | |
module wires.
|
|\ \
| | |
| | | |
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.
|