Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
import "primitives/core.fil";
comp ShiftReg[#W, #N]<G: 1>(
@interface[G] go: 1,
@[G, G+1] input: #W
) -> (
@[G+#N, G+#N+1] out: #W
) {
bundle f[#N]: for<#k> @[G+#k, G+#k+1] #W;
f{1} = input;
for #i in 0..#N {
d := new Delay[#W]<G+#i>(f{#i});
f{#i} = d.out;
}
out = f{#N+1};
}cdff47fcaThis file is pinned to the selected release. Download the original to open it in your design tool.