You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure why 1-bit registers are being instantiated rather than a 5-bit register. It makes the produced code difficult to read and likely slow to simulate.
What is the reason the code looks like this?
Perhaps the issue is that the concat operation flattens arrays to bits? If so, can we add a concat operator in magma?
The text was updated successfully, but these errors were encountered:
This is a mantle issue, but what's happening is that mantle.common has a Register definition that defines a generic N-bit register in terms of an FF primitive. So, mantle.coreir implements FF and then mantle.common.Register defines that circuit using FF.
This looks like a case where we would want the mantle.coreir implementation to be able to provide a specialized implementation of Register
For example a magma->coreir compiled counter looks like the following:
I am not sure why 1-bit registers are being instantiated rather than a 5-bit register. It makes the produced code difficult to read and likely slow to simulate.
What is the reason the code looks like this?
Perhaps the issue is that the concat operation flattens arrays to bits? If so, can we add a concat operator in magma?
The text was updated successfully, but these errors were encountered: