-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrouter_service_poke.sh
More file actions
executable file
·47 lines (46 loc) · 1.05 KB
/
router_service_poke.sh
File metadata and controls
executable file
·47 lines (46 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
~/go/bin/grpcurl -plaintext -d @ \
localhost:8222 bfg.router_service.RouterService/CreateRoutingGrid << EOM
{
"predefined_technology": "TECHNOLOGY_SKY130",
"grid_definition": {
"layers": [
{
"name": "met1.drawing",
"direction": "TRACK_DIRECTION_HORIZONTAL",
"area": {
"lower_left": { "x": 0, "y": 0 },
"upper_right": { "x": 1000, "y": 1000 }
},
"offset": 330
},
{
"name": "met2.drawing",
"direction": "TRACK_DIRECTION_VERTICAL",
"area": {
"lower_left": { "x": 0, "y": 0 },
"upper_right": { "x": 1000, "y": 1000 }
},
"offset": 50
}
],
"vias": [
{
"between_layer": "li.drawing",
"and_layer": "met1.drawing",
"cost": 0.5
},
{
"between_layer": "met1.drawing",
"and_layer": "met2.drawing",
"cost": 0.5
},
{
"between_layer": "met2.drawing",
"and_layer": "met3.drawing",
"cost": 0.5
}
]
}
}
EOM