1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
.. _BUILD:dir_structure:
Directory Structure
###################
* ``src``: sources of GHDL, all of them in Ada.
* ``libraries``: mostly third party libraries such as, `ieee`, `mentor`,
`std`, `synopsys` and `vital`. Except for a few shell and `Python` scripts, all
the content is written in VHDL.
* Vendors like Altera, Lattice and Xilinx have their own simulation libraries,
especially for FPGA primitives, soft and hard macros. These libraries cannot
be shipped with GHDL, but we offer prepared compile scripts to
pre-compile the vendor libraries, if the vendor tool is present on the
computer. These are located in ``libraries/vendor``.
See :ref:`GETTING:PrecompVendor` for information on how to
use them.
* ``dist``: scripts and auxiliary files to build GHDL in different
environments:
* ``gcc``: header and configuration files to build GHDL with GCC (all
platforms).
* ``linux``: build and test script written in shell, and other auxiliary
files used to i) launch docker containers and ii) automate multiple builds
in `Travis CI <https://travis-ci.org/>`_.
* ``windows``:
* ``mcode``:
* ``appveyor``:
* ``doc``: `Markdown` and `reStructuredText` sources and auxiliary files to
build the documentation with `Sphinx <http://www.sphinx-doc.org>`_. In fact,
`Read the Docs <http://readthedocs.org>`_ (RTD) is used to automatically build
and deploy this site and/or PDF you are reading.
* ``testsuite``: files used for testing.
* `.yml` configuration files for CI environments (``readthedocs``,
``travis``, and ``appveyor``) and `ignore` files for source control
management tools (``git`` and ``.hg``).
* Files for building GHDL: ``configure`` and ``Makefile.in``.
* Auxiliary files for development: ``.gdbinit`` and ``ghdl.gpr.in``
(GNAT project file).
* Text files: ``COPYING.md``, ``NEWS.md``, and ``README.md``.
|