Skip to content

Commit 8bc31a9

Browse files
committed
pdk/proto: add package and targets
1 parent 2d6c21f commit 8bc31a9

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

pdk/proto/BUILD

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Copyright 2023 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
load("@rules_hdl//pdk/proto:build_defs.bzl", "extract_lef_and_liberty")
16+
load("@rules_python//python:proto.bzl", "py_proto_library")
17+
18+
proto_library(
19+
name = "pdk_info_proto",
20+
srcs = ["pdk_info.proto"],
21+
)
22+
23+
cc_proto_library(
24+
name = "pdk_info_cc_proto",
25+
deps = [":pdk_info_proto"],
26+
)
27+
28+
py_proto_library(
29+
name = "pdk_info_py_proto",
30+
deps = [":pdk_info_proto"],
31+
)
32+
33+
extract_lef_and_liberty(
34+
name = "sky130_data",
35+
standard_cell = "@com_google_skywater_pdk_sky130_fd_sc_hd//:sky130_fd_sc_hd",
36+
)
37+
38+
extract_lef_and_liberty(
39+
name = "asap7_data",
40+
standard_cell = "@org_theopenroadproject_asap7sc7p5t_28//:asap7_rvt_1x",
41+
)

0 commit comments

Comments
 (0)