GithubHelp home page GithubHelp logo

GTKW files with signal groups about amaranth HOT 8 CLOSED

tilk avatar tilk commented on June 12, 2024
GTKW files with signal groups

from amaranth.

Comments (8)

whitequark avatar whitequark commented on June 12, 2024

Let's discuss improvements to VCD and GTKW writing functionality after the next release.

from amaranth.

whitequark avatar whitequark commented on June 12, 2024

I'm interested in expanding traces= handling with the following behavior:

  • dict: creates a group per dict key.
  • list or tuple: 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.

tilk avatar tilk commented on June 12, 2024

I could port the implementation of this feature from Coreblocks, adapting the behavior to stated requirements.

from amaranth.

whitequark avatar whitequark commented on June 12, 2024

Sounds good to me.

from amaranth.

tilk avatar tilk commented on June 12, 2024

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.

tilk avatar tilk commented on June 12, 2024

I bisected the regression to commit 2bf1b4d.

from amaranth.

wanda-phi avatar wanda-phi commented on June 12, 2024

Yeah, I see the problem, I'm going to do a quick fix soon

from amaranth.

wanda-phi avatar wanda-phi commented on June 12, 2024

Fixed in #1237.

from amaranth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.