Skip to content

Clock is initialized at 1 instead of 0 #280

@johnsbrew

Description

@johnsbrew

Having main clock initialized at 1instead of 0 will hide underlying issues at t=0.
We discovered this issue while interconnecting some chisel code using synchronous reset with existing SV blackboxes using Preset and we add hard time troubleshooting the issue at t=0.

Delaying first posedge clock (and hence associated synchronous reset operation) enabled us to understand rather easily what was really going on.

I set it as default for the VSIMBackend

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions