2 comments

  • umairnadeem123 2 days ago ago

    very cool. tiny cpu cores are such a good way to learn real tradeoffs. are you planning formal verification passes or sticking with simulation test benches for now?

    • chrismoos 2 days ago ago

      Yeah maybe at some point -- I'd need to learn about all the formal stuff though first, it's new to me. For now it's cocotb test benches and also I run it through the Klaus test (https://github.com/Klaus2m5/6502_65C02_functional_tests) which is pretty comprehensive. There are definitely edge cases though that I found when actually running it on physical hardware that my tests didn't find (i.e ran into some IRQ servicing issues), so not easy to be 100%.