Debugging Steps
- <= versus = – advantages and pitfalls
- Re-write it from scratch
- Test Incrementally
- Design for many small modules versus one large one
- Be careful about because 2’B11 != 3’B11
- Include all conditions of IF/ELSE
- Read the ‘Warning’ section. There are often clues there. If something is ‘stuck’, then code often needs to be re-worked.