File tree Expand file tree Collapse file tree 7 files changed +59
-7
lines changed Expand file tree Collapse file tree 7 files changed +59
-7
lines changed Original file line number Diff line number Diff line change 1
1
build /
2
+ env /
2
3
3
4
# Byte-compiled / optimized / DLL files
4
5
__pycache__ /
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2020 SymbiFlow Authors.
2
+ #
3
+ # Use of this source code is governed by a ISC-style
4
+ # license that can be found in the LICENSE file or at
5
+ # https://opensource.org/licenses/ISC
6
+ #
7
+ # SPDX-License-Identifier: ISC
8
+
9
+ # The top directory where environment will be created.
10
+ TOP_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST ) ) ) )
11
+
12
+ # A pip `requirements.txt` file.
13
+ # https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format
14
+ REQUIREMENTS_FILE := requirements.txt
15
+
16
+ # A conda `environment.yml` file.
17
+ # https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
18
+ ENVIRONMENT_FILE := environment.yml
19
+
20
+ include third_party/make-env/conda.mk
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Enabling
15
15
16
16
Add extension in ``conf.py ``::
17
17
18
- extensions = [ 'sphinxcontrib -verilog-domain' ]
18
+ extensions = [ 'sphinx -verilog-domain' ]
19
19
20
20
Usage
21
21
-----
@@ -62,7 +62,6 @@ Nesting::
62
62
63
63
Reference to module ``Top1``'s port ``a``: :verilog:ref:`Top1.a`.
64
64
65
-
66
65
Namespaces
67
66
^^^^^^^^^^
68
67
@@ -87,3 +86,12 @@ Example::
87
86
.. verilog:port:: input inside_a_b_again;
88
87
.. verilog:namespace::
89
88
.. verilog:port:: input in_global_namespace;
89
+
90
+ Development
91
+ -----------
92
+
93
+ To create and open the development environment with all system
94
+ and python packages use::
95
+
96
+ make env
97
+ source env/conda/bin/activate sphinx-verilog-domain
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ git+https://github.com/SymbiFlow/sphinx_symbiflow_theme
2
2
3
3
sphinx
4
4
symbolator
5
+ sphinxcontrib-verilog-diagrams
Original file line number Diff line number Diff line change 32
32
# ones.
33
33
extensions = [
34
34
'sphinx-verilog-domain' ,
35
- 'symbolator_sphinx'
35
+ 'symbolator_sphinx' ,
36
+ 'sphinxcontrib_verilog_diagrams'
36
37
]
37
38
38
39
# Add any paths that contain templates here, relative to this directory.
Original file line number Diff line number Diff line change
1
+ name : sphinx-verilog-domain
2
+ channels :
3
+ - symbiflow
4
+ - conda-forge
5
+ - defaults
6
+ dependencies :
7
+ - python=3.7
8
+ - docutils
9
+ - sphinx
10
+ - pango
11
+ - pycairo
12
+ - pygobject
13
+ - yosys
14
+ - netlistsvg
15
+ - pip
16
+ - pip :
17
+ - -r file:requirements.txt
18
+ - -r file:docs/requirements.txt
19
+ - .
Original file line number Diff line number Diff line change 14
14
url = "https://github.com/SymbiFlow/sphinx-verilog-domain" ,
15
15
python_requires = ">=3.7" ,
16
16
packages = setuptools .find_packages (),
17
+ package_data = {'' : ["verilog.lark" ]},
18
+ include_package_data = True ,
17
19
install_requires = [
18
- 'setuptools' ,
19
- 'docutils' ,
20
- 'sphinx' ,
21
- 'lark-parser'
20
+ 'setuptools' ,
21
+ 'docutils' ,
22
+ 'sphinx' ,
23
+ 'lark-parser'
22
24
],
23
25
classifiers = [
24
26
'Development Status :: 4 - Beta' ,
You can’t perform that action at this time.
0 commit comments