aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-30 08:43:16 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-30 08:43:16 +0200
commitfd8bd4eb19cae6b17ada917f428d52030651f752 (patch)
treeea70181f6ba4c6bf60d637f58e128f5602b3b3a3 /src/synth/netlists.ads
parent975db00cdbd8218ae5cabd4eb95b2c0b1a069216 (diff)
downloadghdl-fd8bd4eb19cae6b17ada917f428d52030651f752.tar.gz
ghdl-fd8bd4eb19cae6b17ada917f428d52030651f752.tar.bz2
ghdl-fd8bd4eb19cae6b17ada917f428d52030651f752.zip
netlists: add a comment.
Diffstat (limited to 'src/synth/netlists.ads')
-rw-r--r--src/synth/netlists.ads11
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