-
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 1 commit
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 |
---|---|---|
|
@@ -58,6 +58,13 @@ struct InstRef { | |
annotation instRef(*) :InstRef; | ||
using InstIdx = UInt32; | ||
|
||
struct SiteTypeRef { | ||
type @0 :Ref.ReferenceType = rootValue; | ||
field @1 :Text = "siteTypeList"; | ||
} | ||
annotation siteTypeRef(*) :SiteTypeRef; | ||
using SiteTypeIdx = UInt32; | ||
|
||
struct Netlist { | ||
|
||
name @0 : Text; | ||
|
@@ -78,10 +85,17 @@ struct Netlist { | |
} | ||
|
||
struct CellInstance { | ||
name @0 : StringIdx $stringRef(); | ||
propMap @1 : PropertyMap; | ||
view @2 : StringIdx $stringRef(); | ||
cell @3 : CellIdx $cellRef(); | ||
name @0 : StringIdx $stringRef(); | ||
propMap @1 : PropertyMap; | ||
view @2 : StringIdx $stringRef(); | ||
cell @3 : CellIdx $cellRef(); | ||
placements @4 : List(CellInstancePlacement); | ||
} | ||
|
||
# Acceptable physical placement for a cell instance | ||
struct CellInstancePlacement { | ||
siteType @0 : SiteTypeIdx $siteTypeRef; | ||
bel @1 : StringIdx $stringRef; | ||
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. There is a need to provide this information, but the 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 A possible way out of this, without severely breaking backwards compatibility, would be to introduce a list field in |
||
} | ||
|
||
struct Cell { | ||
|
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.
This is a
DeviceResources
construct and should probably stay there to keep the schema clean.