Skip to content

Commit

Permalink
Added acceptable cell placement list to CellInstance
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Boronski <[email protected]>
  • Loading branch information
kboronski-ant committed May 12, 2022
1 parent 9a48ae4 commit f51de1b
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions interchange/LogicalNetlist.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}

struct Cell {
Expand Down

0 comments on commit f51de1b

Please sign in to comment.