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

Reset #1

Open
schoeberl opened this issue Nov 15, 2024 · 3 comments
Open

Reset #1

schoeberl opened this issue Nov 15, 2024 · 3 comments

Comments

@schoeberl
Copy link
Collaborator

I think we can handle the async neg reset to a synchronous pos reset in Chisel. No need for SV:

val syncReset = RegNext(RegNext(!asynReset))
@schoeberl
Copy link
Collaborator Author

I tried to change it, but now all tests fail. I assume that the tests do not simulate the low active reset.

@Kyrhe
Copy link
Contributor

Kyrhe commented Dec 10, 2024

If you want to keep chisel code intact, one solution is to insert inverter for the reset line. I've done synthesis experiments like it and it should not cause any issues. Due to being on reset lane, it needs to be instantiated from tech library. If such is desirable, we can add tech_not to Didactic level which could be used to flip reset outside chisel code.

Alternatively we can also force register bit for the reset to be reversed.

@schoeberl
Copy link
Collaborator Author

If we move the reset polarity change out of our design into the Didactic, that would simplify it a bit on our side.

BTW, what kind of reset polarity do other groups want? For me negative reset is just for historical reasons, no benefit at the chip level. Maybe it's just confusing.

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

2 participants