replicate

replicate(length: Uint, val) → Queue[val]
replicate(din: Tuple[{'length': Uint, 'val': Any}]}]) → Queue[din["val"]]

Replicates the data from the val input length times in form of a Queue.

drv(t=Uint[4], seq=[5]) \
    | replicate(4) \
    | check(ref=[[5, 5, 5, 5]])