Skip to content

Commit f51de1b

Browse files
committed
Added acceptable cell placement list to CellInstance
Signed-off-by: Krzysztof Boronski <kboronski@antmicro.com>
1 parent 9a48ae4 commit f51de1b

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

interchange/LogicalNetlist.capnp

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ struct InstRef {
5858
annotation instRef(*) :InstRef;
5959
using InstIdx = UInt32;
6060

61+
struct SiteTypeRef {
62+
type @0 :Ref.ReferenceType = rootValue;
63+
field @1 :Text = "siteTypeList";
64+
}
65+
annotation siteTypeRef(*) :SiteTypeRef;
66+
using SiteTypeIdx = UInt32;
67+
6168
struct Netlist {
6269

6370
name @0 : Text;
@@ -78,10 +85,17 @@ struct Netlist {
7885
}
7986

8087
struct CellInstance {
81-
name @0 : StringIdx $stringRef();
82-
propMap @1 : PropertyMap;
83-
view @2 : StringIdx $stringRef();
84-
cell @3 : CellIdx $cellRef();
88+
name @0 : StringIdx $stringRef();
89+
propMap @1 : PropertyMap;
90+
view @2 : StringIdx $stringRef();
91+
cell @3 : CellIdx $cellRef();
92+
placements @4 : List(CellInstancePlacement);
93+
}
94+
95+
# Acceptable physical placement for a cell instance
96+
struct CellInstancePlacement {
97+
siteType @0 : SiteTypeIdx $siteTypeRef;
98+
bel @1 : StringIdx $stringRef;
8599
}
86100

87101
struct Cell {

0 commit comments

Comments
 (0)