Skip to content

Clock is initialized at 1 instead of 0 #280

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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