-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixes regarding the new memory statment
- Loading branch information
1 parent
c5b6867
commit e6311a7
Showing
1 changed file
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The modeling here seems weird. If the additional control signals are required and do anything, presumably the user of the memory would have to be driving them? So the logic to connect them would have to exist in the firrtl.
I don't think anything else in the standard talks about behavioral simulation time. As a concept, this seems a big change.
Perhaps a different way of modeling the situation is:
That is, don't try to force a generic memory to conform to arbitrary target specific memories, just blackbox the synthesis memory so you have what you need. If you want a simulation model, make one by extending the built-in memory with what you need to match closely enough the target specific memory.
TL;DR; I think custom ports is perhaps trying to solve a problem with the spec which should be solved in the design.