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

Restore CUPCDN with a different bit pattern #301

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

aerkiaga
Copy link
Contributor

This should suffice to get CUPCDN working. Closes #300.

@pepijndevos pepijndevos merged commit 3bcb12a into YosysHQ:master Dec 22, 2024
11 of 14 checks passed
@pepijndevos
Copy link
Member

Thank you!

Ps if you have ideas how to use the alu In new modes I'm all ears. Gowin doesn't even use most of their own modes and yosys only uses addsub. But it's a fun exercise trying to use the hardware for something else.

@aerkiaga
Copy link
Contributor Author

@pepijndevos I was indeed trying some experiments with alus! For the most part, I see using them manually doesn't save a huge deal of space, but MUL does (e.g., 33 vs 128 slices for a 5 x 5 multiplier).

@pepijndevos
Copy link
Member

Another aspect is speed. The carry chain is much faster than "soft" logic. But yes if we can get yosys to synthesis MUL that would be fantastic. (but how to trade off vs DSP...)

@aerkiaga
Copy link
Contributor Author

I'll order a new device soon, would love to lend a hand improving synthesis.

@pepijndevos
Copy link
Member

I have some spare Tang Nano 1K I think, but you might want something more capable.

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

Successfully merging this pull request may close these issues.

Proposal to re-enable ALU mode
2 participants