Lab 02 · FPGAcademy handout edition 24.1
Logic instructions
Use a bit mask to isolate selected inputs.
Start with Part I Follow a run of ones as it shrinks
Parts in handout order
- Part IFollow a run of ones as it shrinks
FPGAcademy: Count the longest run of set bits in a word
CPUlator simulatorCPUlator
Original handout PDF
- Part IIFind the longest run in a list of words
FPGAcademy: Find the longest run of ones across a list
CPUlator simulatorCPUlator
Original handout PDF
- Part IIICount consecutive zeros in 32 bits
FPGAcademy: Find the longest run of zeros
CPUlator simulatorCPUlator
Original handout PDF
- Part IVMeasure an alternating bit pattern
FPGAcademy: Measure the longest alternating bit sequence
CPUlator simulatorCPUlator
Original handout PDF
