Skip to content

Commit 3f895e2

Browse files
committed
WIP: capnp schema for rr_graph
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent 69bd2f8 commit 3f895e2

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

libs/libvtrcapnproto/gen/rr_graph_uxsdcxx.capnp

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,18 @@ struct BlockTypes {
138138
blockTypes @0 :List(BlockType);
139139
}
140140

141+
struct ConnectionBoxDeclaration {
142+
id @0 :UInt32;
143+
name @1 :Text;
144+
}
145+
146+
struct ConnectionBoxes {
147+
numBoxes @0 :UInt32;
148+
xDim @1 :UInt32;
149+
yDim @2 :UInt32;
150+
connectionBoxes @3 :List(ConnectionBoxDeclaration);
151+
}
152+
141153
struct GridLoc {
142154
blockTypeId @0 :Int32;
143155
heightOffset @1 :Int32;
@@ -177,6 +189,18 @@ struct Metadata {
177189
metas @0 :List(Meta);
178190
}
179191

192+
struct CanonicalLoc {
193+
x @0 :UInt32;
194+
y @1 :UInt32;
195+
}
196+
197+
struct ConnectionBoxAnnotation {
198+
id @0 :UInt32;
199+
sitePinDelay @1 :Float32;
200+
x @2 :UInt32;
201+
y @3 :UInt32;
202+
}
203+
180204
struct Node {
181205
capacity @0 :UInt32;
182206
direction @1 :NodeDirection;
@@ -186,6 +210,8 @@ struct Node {
186210
timing @5 :NodeTiming;
187211
segment @6 :NodeSegment;
188212
metadata @7 :Metadata;
213+
canonicalLoc @8 :CanonicalLoc;
214+
connectionBox @9 :ConnectionBoxAnnotation;
189215
}
190216

191217
struct RrNodes {
@@ -211,7 +237,8 @@ struct RrGraph {
211237
switches @4 :Switches;
212238
segments @5 :Segments;
213239
blockTypes @6 :BlockTypes;
214-
grid @7 :GridLocs;
215-
rrNodes @8 :RrNodes;
216-
rrEdges @9 :RrEdges;
240+
connectionBoxes @7 :ConnectionBoxes;
241+
grid @8 :GridLocs;
242+
rrNodes @9 :RrNodes;
243+
rrEdges @10 :RrEdges;
217244
}

0 commit comments

Comments
 (0)