# Gdb commands useful to debug ghdl define pt call vhdl.disp_tree.disp_iir ($arg0, 1, 10) end document pt Print the structure of the iirs that is $arg0. end define ptf call vhdl.disp_tree.disp_iir ($arg0, 1, 0) end document ptf Print the iirs that is $arg0. end define pt1 call vhdl.disp_tree.disp_iir ($arg0, 1, 1) end define prt set lang c print (iirs__iir *) $ set lang ada end define pl call disp_iir_list ($arg0, 0, 0) end define psrc call debug_source_loc (vhdl.nodes.get_location ($arg0)) end document pl Print the list of iirs that is $arg0. end define plf call disp_iir_list ($arg0, 0, 1) end document plf Print flatly the list of iirs that is $arg0. end define ptc call vhdl.disp_tree.disp_chain ($arg0, 0, 0) end document ptc Print the chain of iirs that is $arg0 end define pv call disp_value ($arg0) end document pv Print the value that is $. end define ploc call disp_iir_location ($arg0) end document ploc Print the location for iir $. end set lang ada # Must be the last command: some distributions use a shared libgnat by default, # and don't have the minimal required set of debug info to support this command. # As a result, this command fails and stop this script. catch exception id=251587405f6f760f069f1a3624296b7cb933b38e'>refslogtreecommitdiffstats
path: root/README.md
blob: 8df77cd15b9cf580a47498068a8ff6ca5a51738e (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
> **2017-12-20: the main repo was moved from [github.com/tgingold/ghdl](https://github.com/tgingold/ghdl) to [github.com/ghdl/ghdl](https://github.com/ghdl/ghdl). Old refs still work, because permanent redirects were set up. However, it is suggested to update the remote URLs in the local clones of every contributor. See
[Changing a remote's URL](https://help.github.com/articles/changing-a-remote-s-url/).**

<p align="center">
  <img src="./logo.png"/>
</p>

<p align="center">
  <a title="Read the Docs" href="http://ghdl.readthedocs.io"><img src="https://img.shields.io/readthedocs/ghdl.svg?longCache=true&style=flat-square&logo=read-the-docs&logoColor=e8ecef"></a><!--
  -->
  <a title="Join the chat at https://gitter.im/ghdl1/Lobby" href="https://gitter.im/ghdl1/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://img.shields.io/badge/chat-on%20gitter-4db797.svg?longCache=true&style=flat-square&logo=gitter&logoColor=e8ecef"></a><!--
  -->
  <a title="Linux/Mac boxes at Travis-CI" href="https://travis-ci.org/ghdl/ghdl/branches"><img src="https://img.shields.io/travis/ghdl/ghdl/master.svg?longCache=true&style=flat-square&logo=travis-ci&logoColor=e8ecef"></a><!--
  -->
  <a title="AppVeyor branch" href="https://ci.appveyor.com/project/tgingold/ghdl-psgys/history"><img src="https://img.shields.io/appveyor/ci/tgingold/ghdl-psgys/master.svg?logo=appveyor&logoColor=e8ecef&style=flat-square"></a><!--
  -->
  <a title="Docker Images" href="https://github.com/ghdl/docker"><img src="https://img.shields.io/docker/pulls/ghdl/ghdl.svg?logo=docker&logoColor=e8ecef&style=flat-square&label=docker"></a><!--
  -->
  <a title="Releases" href="https://github.com/ghdl/ghdl/releases"><img src="https://img.shields.io/github/commits-since/ghdl/ghdl/latest.svg?longCache=true&style=flat-square"></a>
</p>

This directory contains the sources of GHDL, the open-source analyzer, compiler and simulator for [VHDL](https://en.wikipedia.org/wiki/VHDL), a Hardware Description Language ([HDL](https://en.wikipedia.org/wiki/Hardware_description_language)). GHDL is not an interpreter: it allows you to analyse and elaborate sources to generate machine code from your design. Native program execution is the only way for high speed simulation.

# Main features

Full support for the [1987](http://ieeexplore.ieee.org/document/26487/), [1993](http://ieeexplore.ieee.org/document/392561/), [2002](http://ieeexplore.ieee.org/document/1003477/) versions of the [IEEE](www.ieee.org) [1076](http://standards.ieee.org/develop/wg/P1076.html) VHDL standard, and partial for the latest [2008](http://ieeexplore.ieee.org/document/4772740/) revision.