Skip to content

pysim2 doesn't write input signals to VCD #280

Closed
@nmigen-issue-migration

Description

@nmigen-issue-migration

Issue by adamgreig
Wednesday Dec 04, 2019 at 12:23 GMT
Originally opened as m-labs/nmigen#280


Since updating to pysim2, any signals not driven from inside the fragment being simulated are not written to the VCD. This means signals which are inputs to the fragment and are driven by a sync process added to the simulator do not show up.

I think this is because FragmentCompiler is the only thing that adds signals to signal_names, but it is only called for the fragment the simulator is created with, not for any processes that are then added to the simulator. I might be misunderstanding the code though.

Additionally, as far as I can tell the traces argument to write_vcd is totally unused: it gets passed to _VCDWaveformWriter.__init__, which does nothing with it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions