Comments (8)
Let's discuss improvements to VCD and GTKW writing functionality after the next release.
from amaranth.
I'm interested in expanding traces=
handling with the following behavior:
dict
: creates a group per dict key.list
ortuple
: expands into individual elements recursively.data.View
: expands into a group with individual parts, unless a single field, in which case the group is omitted.MemoryData
: expands into all rows of the memory (requires #1221).wiring
interface objects: expands into a group with individual signals recursively.
Note that I've specified dict
and list
above because I consider the syntax of tracing to be a mini-DSL where I ascribe new meaning to, specifically, the Python {}
and []
/()
syntax. This allows flexibility for later expansion with other objects, which may also be e.g. iterables.
Is this something you're interested in implementing? I'd be happy to merge that in 0.5, but otherwise I may have to bump it to 0.6.
from amaranth.
I could port the implementation of this feature from Coreblocks, adapting the behavior to stated requirements.
from amaranth.
Sounds good to me.
from amaranth.
It looks like there is a regression on #790: I can't get view field traces on main. I will try to do a bisect later.
from amaranth.
I bisected the regression to commit 2bf1b4d.
from amaranth.
Yeah, I see the problem, I'm going to do a quick fix soon
from amaranth.
Fixed in #1237.
from amaranth.
Related Issues (20)
- Tracking issue for RFC 59: Get rid of upwards propagation of clock domains
- Tracking issue for RFC 58: Core support for `ValueCastable` formatting
- Tracking issue for RFC 61: Minimal stream interface
- `execute_local_docker()` does not forward SIGINT/ctrl+c to docker subprocess HOT 4
- Bit width of `Signal(range(1))` HOT 2
- verilog output error: syntax error in left side of continuous assignment. HOT 2
- Wrong verilog for combinatorial module HOT 2
- pysim LHS compiler miscompiles `Slice` of `SwitchValue`
- `Signal.like` is not fully functional with `ShapeCastable`-based signals
- Tracking issue for RFC 63: Remove `amaranth.lib.coding`
- Tracking issue for RFC 65: Special formatting for structures and enums
- Question: Combinational vs Combinatorial HOT 7
- Pyright errors on `m.[If/Elif/Else]`: No `__enter__` or `__exit__` HOT 1
- Unclear error message on `m.domains.cd_tx = ClockDomain()`
- Can't emit Verilog/RTLIL with Signature array members HOT 1
- Add `AMDPlatform`, aliasing `XilinxPlatform`
- Make `Module` explode if you try to modify it after it's elaborated
- Extremely slow Verilog generation HOT 5
- Pysim should reject async generators
- Constraint generation from platform resource with `DiffPairs` of type LVDS incorrect. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amaranth.