Hi, can anyone help me understand why register
along with fromList
works the way it does in Clash?Example from the Hakage Clash Prelude:
sampleN @System 5 (register 8 (fromList [1,1,2,3,4]))
[8,8,1,2,3]
I would have expected the register to delay Signals from the list by one cycle giving [8,1,1,2,3,4]
but I can’t make sense of why two 8
s and why only one 1
Note: This was a question I asked in the Slack channel. I am posting it here as a documentation