lib/DelayLine: add a bit more documentation
This commit is contained in:
parent
2a8689564c
commit
1ccd1b0072
|
@ -77,6 +77,11 @@ module mkDelayLine(Integer delay_cycles, DelayLine#(a) ifc)
|
||||||
delay = cons(r, delay);
|
delay = cons(r, delay);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
// pump_line ingests a new value into the first register in the
|
||||||
|
// line, and shifts older values one register down. The
|
||||||
|
// registers always shift forward even when nobody's writing, in
|
||||||
|
// which case that slot in the pipeline is occupied by an empty
|
||||||
|
// Maybe.
|
||||||
(* no_implicit_conditions, fire_when_enabled *)
|
(* no_implicit_conditions, fire_when_enabled *)
|
||||||
rule pump_line;
|
rule pump_line;
|
||||||
delay[0] <= inputVal.wget();
|
delay[0] <= inputVal.wget();
|
||||||
|
|
Loading…
Reference in New Issue