Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Dataflow modeling
Instead of instantiating individual logic gates,
the designer thinks about the flow of data on
the nets.
Keyword is assign, e.g.
assign out = a&b;
Expression is always assigned to a net (scalar
or vector) but expression may involve register
or net, e.g. out should be wire but a and b
can be wire or reg
A 4-bit Adder
i1
i2
i3