Skip to content

Load parameter values in FST file without reading all value change blocks #76

@Lramseyer

Description

@Lramseyer

This is a bit of an obscure request, but I noticed that when I load parameter values, I have to use load_signals(). When I call this function, it looks like it's looping through all of the value change blocks.

While this is pretty fast for small waveform dumps, there's a noticeable latency for larger files. This wasn't a problem when I had users load the waveform into the viewer, but now I plan on showing parameter values inline in the netlist view (kind of like how Surfer does) that means extra latency. I noticed a discussion last year, (#20) and the proposed solution was to pre-load all parameter values at the beginning, but this adds extra latency to file loading.

Since parameters don't actually change, would it be possible to have some sort of function like SignalSource::load_initial_value() that only loads the first value of a signal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions