intel / intel/rohd

SimpleClockGenerator doesnt work with period of 1

Open
#567 1 comment 1 reaction 0 assignees View on GitHub
bug help wanted
Dominant language
Dart
Stars
489
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
10

Description

### Describe the bug

Listening on a posedge of the clock when clock period is 1 loops forever but never advances time. I'm thinking 1 is not allowed? Perhaps throw an error.

Code and output in the picture.
![Image](https://github.com/user-attachments/assets/3f6e757e-15dd-485e-94fc-82833ffd7ef5)

### To Reproduce

_No response_

### Expected behavior

_No response_

### Actual behavior

_No response_

### Additional: Dart SDK info

_No response_

### Additional: pubspec.yaml

```yaml

```

### Additional: Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.