diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-30 08:43:16 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-30 08:43:16 +0200 |
commit | fd8bd4eb19cae6b17ada917f428d52030651f752 (patch) | |
tree | ea70181f6ba4c6bf60d637f58e128f5602b3b3a3 /src | |
parent | 975db00cdbd8218ae5cabd4eb95b2c0b1a069216 (diff) | |
download | ghdl-fd8bd4eb19cae6b17ada917f428d52030651f752.tar.gz ghdl-fd8bd4eb19cae6b17ada917f428d52030651f752.tar.bz2 ghdl-fd8bd4eb19cae6b17ada917f428d52030651f752.zip |
netlists: add a comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/netlists.ads | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/synth/netlists.ads b/src/synth/netlists.ads index f84f0c78e..324d55a31 100644 --- a/src/synth/netlists.ads +++ b/src/synth/netlists.ads @@ -21,6 +21,17 @@ with Types; use Types; package Netlists is + -- Netlists. + -- + -- A netlist is a graph of gates and nets. This implementation has some + -- particularities: + -- * the nets are vectors of bits, and a net of one bit is in fact a + -- vector of net 1. Vectors only have a width, their bounds are + -- from (width - 1 downto 0) or [width-1:0]. + -- * there is no separate data structures for nets, so nets are in + -- fact the outputs of gates. So there is no standalone nets, a gate + -- is needed to have a net. + -- Names. -- As there are many artificial and hierarchical names in a netlist, names -- are not flat: it is possible to create a new name using an existing one |