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

Using DspReal somewhere should generate warning in verilog #56

Open
grebe opened this issue Jan 24, 2017 · 1 comment
Open

Using DspReal somewhere should generate warning in verilog #56

grebe opened this issue Jan 24, 2017 · 1 comment

Comments

@grebe
Copy link
Contributor

grebe commented Jan 24, 2017

We've talked about adding UInt -> DspReal functionality. We already have DspReal -> UInt. Having both makes it a lot easier for unsynthesizable code to get left in accidentally, especially by library code.

There should be some sort of mechanism that warns a user that unsynthesizeable code is being generated as well as a note about what code is adding it. Perhaps a comment at the top of the emitted verilog as well as a print statement during chisel generation.

@shunshou
Copy link
Member

Technically should be DspReal -> Int and Int/Fixed -> DspReal**

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