Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Make it possible to create a TreadleTester without running firrtl optimizations #352

Open
ekiwi opened this issue Aug 23, 2021 · 3 comments
Assignees

Comments

@ekiwi
Copy link
Collaborator

ekiwi commented Aug 23, 2021

It would be nice if we could allow users to test an un-optimized circuit.

This shouldn't be too hard to do, the major question is how to best expose this option to the user.

@chick
Copy link
Collaborator

chick commented Feb 23, 2022

Is this just mean changing Forms.LowFormOptimized to Forms.LowForm in PrepareAst

@ekiwi
Copy link
Collaborator Author

ekiwi commented Feb 23, 2022

Potentially. We would have to play around with this a little bit.

@chick
Copy link
Collaborator

chick commented Feb 25, 2022

MIght as well add this in too. Treadle's transformations should be idempotent. Which it is not right now, the Augment printf will keep adding registers in between the clock, enable, and arguments each time it is run.
Actually. at the moment, is not even possible because the registers generated by Augment do not have correctly sized init values, which causes failures in CheckTypes, this should be fixed.

@chick chick self-assigned this Feb 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants