Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Seq] Counters #8002

Open
teqdruid opened this issue Dec 17, 2024 · 3 comments
Open

[Seq] Counters #8002

teqdruid opened this issue Dec 17, 2024 · 3 comments
Assignees

Comments

@teqdruid
Copy link
Contributor

I find myself wanting some counter ops. Right now, it'd be very convenient to have a rollover counter op. Is the seq dialect the place to put this? Or is it too high-level? If it's not the correct dialect, which one is?

@teqdruid
Copy link
Contributor Author

We've been discussing a mid-level dialect with common IP/ops forever. Does this belong there?

@darthscsi
Copy link
Contributor

I've always figured there needs to be a "library" dialect for common stuff like this. It's trivially lowerable to comb+seq, so it probably shouldn't be in either of those.

@teqdruid
Copy link
Contributor Author

I've always figured there needs to be a "library" dialect for common stuff like this. It's trivially lowerable to comb+seq, so it probably shouldn't be in either of those.

I don't necessarily disagree with this, but counterpoint: the truth table op in comb gets lowered into muxes pretty trivially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants