You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+28-16
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,43 @@
1
-
2
-
========
3
1
Hdlparse
4
-
========
2
+
########
5
3
6
-
Hdlparse is a simple package implementing a rudimentary parser for VHDL and Verilog. It is not capable of fully parsing the entire language. Rather, it is meant to extract enough key information from a source file to create generated documentation.
4
+
Hdlparse is a simple package implementing a rudimentary parser for VHDL and Verilog.
5
+
It is not capable of fully parsing the entire language.
6
+
Rather, it is meant to extract enough key information from a source file to create generated documentation.
7
7
8
-
This library is forked from `kevinpt <https://github.com/kevinpt/hdlparse>`_ via `zhelnio <https://github.com/zhelnio/hdlparse>`_. The aim of this fork is to provide some bug fixes and additional features to zhelnio's version of Hdlparse. A list of changes is included at the bottom of this README.
8
+
This library is used by the `Symbolator <https://github.com/hdl/symbolator>`_ diagram generator.
9
9
10
-
For VHDL this library can extract component, subprogram, type, subtype, and constant declarations from a package. For Verilog it can extract module declarations (both 1995 and 2001 syntax).
10
+
For VHDL this library can extract component, subprogram, type, subtype, and constant declarations from a package.
11
+
For Verilog it can extract module declarations (both 1995 and 2001 syntax).
11
12
12
13
13
14
Requirements
14
15
------------
15
16
16
-
Hdlparse requires Python 3.x and no additional libraries. This version of Hdlparse is not compatible with Python2.
17
+
Hdlparse requires Python3 and no additional libraries. This version of Hdlparse is not compatible with Python2.
17
18
18
19
19
20
Download
20
21
--------
21
22
22
-
You can access the Hdlparse Git repository from `Github
23
-
<https://github.com/vvvverre/hdlparse>`_. You can install direct from PyPI with the "pip"
24
-
command if you have it available.
23
+
You can access the Hdlparse Git repository from `Github<https://github.com/hdl/pyHDLParser>`_.
24
+
You can install direct from PyPI with the "pip" command if you have it available.
25
+
25
26
26
27
Installation
27
28
------------
28
29
29
-
Hdlparse is a Python library. You must have Python installed first to use it. Most modern Linux distributions and OS/X have it available by default. There are a number of options available for Windows. If you don't already have a favorite, I recommend getting one of the `"full-stack" Python distros <http://www.scipy.org/install.html>`_ that are geared toward scientific computing such as Anaconda or Python(x,y).
30
+
Hdlparse is a Python library.
31
+
You must have Python installed first to use it.
32
+
Most modern Linux distributions and OS/X have it available by default.
33
+
There are a number of options available for Windows.
34
+
If you don't already have a favorite, I recommend getting one of the
that are geared toward scientific computing such as Anaconda or Python(x,y).
30
37
31
-
You need to have the Python setuptools installed first. If your OS has a package manager, it may be preferable to install setuptools through that tool. Otherwise you can use Pip:
38
+
You need to have the Python setuptools installed first.
39
+
If your OS has a package manager, it may be preferable to install setuptools through that tool.
40
+
Otherwise you can use Pip:
32
41
33
42
.. code-block:: sh
34
43
@@ -40,7 +49,9 @@ The easiest way to install Hdlparse is from `PyPI <https://pypi.python.org/pypi/
40
49
41
50
> pip install --upgrade hdlparse
42
51
43
-
This will download and install the latest release, upgrading if you already have it installed. If you don't have ``pip`` you may have the ``easy_install`` command available which can be used to install ``pip`` on your system:
52
+
This will download and install the latest release, upgrading if you already have it installed.
53
+
If you don't have ``pip`` you may have the ``easy_install`` command available which can be used to install ``pip`` on
54
+
your system:
44
55
45
56
.. code-block:: sh
46
57
@@ -51,9 +62,10 @@ You can also use ``pip`` to get the latest development code from Github:
If you manually downloaded a source package or created a clone with Git you can install with the following command run from the base Hdlparse directory:
67
+
If you manually downloaded a source package or created a clone with Git you can install with the following command run
68
+
from the base Hdlparse directory:
57
69
58
70
.. code-block:: sh
59
71
@@ -68,7 +80,7 @@ Documentation
68
80
-------------
69
81
70
82
The full documentation is available online at the `main Hdlparse site
0 commit comments