-
Notifications
You must be signed in to change notification settings - Fork 22
List BEL bindings available for cell instances of macro expansions #76
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,7 @@ struct Device { | |
wireTypes @16 : List(WireType); | ||
pipTimings @17 : List(PIPTiming); | ||
nodeTimings @18 : List(NodeTiming); | ||
primLibsExtra @19 : PrimLibsExtra; | ||
|
||
####################################### | ||
# Placement definition objects | ||
|
@@ -907,4 +908,20 @@ struct Device { | |
struct ParameterDefinitions { | ||
cells @0 : List(CellParameterDefinition); | ||
} | ||
|
||
# Extra data for priomitive libraries that doesn't fit the LogicalNetlist format | ||
|
||
struct PrimLibsExtra { | ||
perCellInstances @0 : List(PerCellInstance); | ||
|
||
struct PerCellInstance { | ||
# List of possible cell placements | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How would this work in practice? I don't see how the placements would get mapped backed to the primitive macro components. Seems like you'd need a name or reference to the library/macro cell component the placement is intended for. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The mapping is done by simply using same indices as in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is the association, please add comments so that someone examining the schema could easily know that is the case. Also, it would seem that some macros might not need a placement constraint or would have more permissive placement constraints than others. How are those details communicated? Relative offsets are another question such as multi-LUTRAM memories. Some might need to be adjacent, but don't necessarily need to fit into a specific location. |
||
placements @0 : List(CellInstancePlacement); | ||
} | ||
|
||
struct CellInstancePlacement { | ||
siteType @0 : SiteTypeIdx $siteTypeRef(); | ||
bel @1 : StringIdx $stringRef(); | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of
PerCellInstance
andperCellInstances
, could we use the namePrimCellInstance
andprimCellInstances
?