-
Notifications
You must be signed in to change notification settings - Fork 177
ASIC support tracking issue #185
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
Comments
I would think that most SRAMs don't get reset on ASICs either, so that shouldn't interfere with BRAM inference. |
The problem isn't that the SRAM itself gets reset, but that you might want to fold address or data registers into an SRAM core. This is less of a problem in nMigen than in Verilog because some registers are implicit in the read port, but it's still a problem if a few of them are pipelined; e.g. Xilinx offers this as an option on BRAMs. Of course if you're making an ASIC you can just make those registers with an asynchronous reset, so asynchronous reset isn't a problem there, but I didn't say it is. |
Ah, missed that. |
@Fatsie you're interested in active low resets for ASIC work, right? I was wondering if you have any opinion on handling |
@whitequark I don't think it is a problem to have nmigen only have active high reset support in it's clock domain. |
I've seen lots of inverters get added to a design since tools will often synthesize things to use active-low resets (sometimes due to what's available in technology libraries). That ends up leading to a bunch of extra inverters in the design, especially at black-box boundaries where you've synthesized something to be used as a hard macro elsewhere (back to back inverters in timing reports confused the heck out of me for a while). I can't say to what degree it actually affected the quality of the design, I don't remember the numbers at the moment. |
One possible solution here would be to add a late-bound |
For ASIC one typically does tech mapping on the full flattened design, this allows yosys optimization pass to remove all double inverters. |
We were using Design Compiler and Innovus, not yosys (same problem, different source language than nmigen). The issue in our case stems from the fact that we have a repeated architecture with the same elements stamped out multiple times. To speed up synthesis, we synthesize each of the repeated elements and then stamp them out as hard macros at the top level. The double-inverters are seen at the boundaries of the hard macros and won't be optimized out. |
Thursday Aug 22, 2019 at 21:49 GMT
Originally opened as m-labs/nmigen#184
A number of people have expressed a desire to use nMigen for ASIC design. This issue tracks missing aspects of that workflow.
reset_less
signals are not initialized at power-on.(There are likely more.)
The text was updated successfully, but these errors were encountered: