replicate method
- int multiplier
override
Returns a replicated signal using ReplicationOp with new width =
this.width * multiplier
The input multiplier cannot be negative or 0; an exception will be
thrown, otherwise.
If multiplier is 1, then this signal is returned directly, since
replicating once is a no-op and would otherwise generate a redundant
1{...} in the output SystemVerilog.
If isNet, then the result will also be a net.
Implementation
@override
Logic replicate(int multiplier) => packed.replicate(multiplier);