Skip to content

Commit fd81de5

Browse files
authoredOct 29, 2021
Merge pull request #1895 from antmicro/acom/add-ic-schema
libs: external: add FPGA interchange schema subtree
2 parents a6e200e + e592e65 commit fd81de5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2978
-27
lines changed
 

‎dev/subtree_config.xml

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,47 @@
11
<subtrees>
2-
<subtree
3-
name="abc"
4-
internal_path="abc"
2+
<subtree
3+
name="abc"
4+
internal_path="abc"
55
external_url="https://github.com/berkeley-abc/abc.git"
66
default_external_ref="master"/>
7-
<subtree
7+
<subtree
88
name="libargparse"
99
internal_path="libs/EXTERNAL/libargparse"
1010
external_url="https://github.com/kmurray/libargparse.git"
1111
default_external_ref="master"/>
12-
<subtree
13-
name="libblifparse"
14-
internal_path="libs/EXTERNAL/libblifparse"
15-
external_url="https://github.com/verilog-to-routing/libblifparse.git"
12+
<subtree
13+
name="libblifparse"
14+
internal_path="libs/EXTERNAL/libblifparse"
15+
external_url="https://github.com/verilog-to-routing/libblifparse.git"
1616
default_external_ref="master"/>
17-
<subtree
18-
name="libsdcparse"
19-
internal_path="libs/EXTERNAL/libsdcparse"
20-
external_url="https://github.com/verilog-to-routing/libsdcparse.git"
17+
<subtree
18+
name="libsdcparse"
19+
internal_path="libs/EXTERNAL/libsdcparse"
20+
external_url="https://github.com/verilog-to-routing/libsdcparse.git"
2121
default_external_ref="master"/>
22-
<subtree
23-
name="libtatum"
24-
internal_path="libs/EXTERNAL/libtatum"
25-
external_url="https://github.com/verilog-to-routing/tatum.git"
22+
<subtree
23+
name="libtatum"
24+
internal_path="libs/EXTERNAL/libtatum"
25+
external_url="https://github.com/verilog-to-routing/tatum.git"
2626
default_external_ref="master"/>
27-
<subtree
28-
name="libezgl"
29-
internal_path="libs/EXTERNAL/libezgl"
30-
external_url="https://github.com/mariobadr/ezgl.git"
27+
<subtree
28+
name="libezgl"
29+
internal_path="libs/EXTERNAL/libezgl"
30+
external_url="https://github.com/mariobadr/ezgl.git"
3131
default_external_ref="master"/>
32-
<subtree
33-
name="capnproto"
34-
internal_path="libs/EXTERNAL/capnproto"
35-
external_url="https://github.com/capnproto/capnproto.git"
32+
<subtree
33+
name="capnproto"
34+
internal_path="libs/EXTERNAL/capnproto"
35+
external_url="https://github.com/capnproto/capnproto.git"
3636
default_external_ref="v0.7.0"/>
37-
<subtree
38-
name="libyosys"
39-
internal_path="libs/EXTERNAL/libyosys"
37+
<subtree
38+
name="libyosys"
39+
internal_path="libs/EXTERNAL/libyosys"
4040
external_url="https://github.com/YosysHQ/yosys.git"
4141
default_external_ref="master"/>
42+
<subtree
43+
name="libinterchange"
44+
internal_path="libs/EXTERNAL/libinterchange"
45+
external_url="https://github.com/chipsalliance/fpga-interchange-schema.git"
46+
default_external_ref="main"/>
4247
</subtrees>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Copyright (C) 2017-2021 The SymbiFlow Authors.
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+
# SPDX-License-Identifier: Apache-2.0
16+
17+
name: CI tests
18+
on: [push, pull_request]
19+
jobs:
20+
Check-schema:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v1
24+
with:
25+
submodules: recursive
26+
27+
- uses: SymbiFlow/actions/checks@main
28+
29+
- name: Install
30+
run: |
31+
sudo apt-get install capnproto libcapnp-dev
32+
git clone https://github.com/capnproto/capnproto-java.git $GITHUB_WORKSPACE/env/capnproto-java
33+
cd $GITHUB_WORKSPACE/env/capnproto-java
34+
make
35+
sudo make install
36+
- name: Build schemas
37+
run: |
38+
mkdir build
39+
capnp compile -Iinterchange -oc++:build interchange/References.capnp
40+
capnp compile -Iinterchange -oc++:build interchange/LogicalNetlist.capnp
41+
capnp compile -Iinterchange -oc++:build interchange/PhysicalNetlist.capnp
42+
capnp compile -Iinterchange -oc++:build interchange/DeviceResources.capnp

0 commit comments

Comments
 (0)
Please sign in to comment.