Skip to content

Commit fd81de5

Browse files
authored
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
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
pip-wheel-metadata/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
.hypothesis/
51+
.pytest_cache/
52+
53+
# Translations
54+
*.mo
55+
*.pot
56+
57+
# Django stuff:
58+
*.log
59+
local_settings.py
60+
db.sqlite3
61+
62+
# Flask stuff:
63+
instance/
64+
.webassets-cache
65+
66+
# Scrapy stuff:
67+
.scrapy
68+
69+
# Sphinx documentation
70+
docs/_build/
71+
72+
# PyBuilder
73+
target/
74+
75+
# Jupyter Notebook
76+
.ipynb_checkpoints
77+
78+
# IPython
79+
profile_default/
80+
ipython_config.py
81+
82+
# pyenv
83+
env/
84+
.python-version
85+
86+
# celery beat schedule file
87+
celerybeat-schedule
88+
89+
# SageMath parsed files
90+
*.sage.py
91+
92+
# Environments
93+
.env
94+
.venv
95+
env/
96+
venv/
97+
ENV/
98+
env.bak/
99+
venv.bak/
100+
101+
# Spyder project settings
102+
.spyderproject
103+
.spyproject
104+
105+
# Rope project settings
106+
.ropeproject
107+
108+
# mkdocs documentation
109+
/site
110+
111+
# mypy
112+
.mypy_cache/
113+
.dmypy.json
114+
dmypy.json
115+
116+
# Pyre type checker
117+
.pyre/
118+
119+
# Emacs temporary files
120+
*~
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
# .readthedocs.yml
18+
# Read the Docs configuration file
19+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
20+
21+
# Required
22+
version: 2
23+
24+
# Build documentation in the docs/ directory with Sphinx
25+
sphinx:
26+
configuration: docs/conf.py
27+
28+
formats:
29+
- htmlzip
30+
31+
conda:
32+
environment: docs/environment.yml

0 commit comments

Comments
 (0)