leonardt / fault

A Python package for testing hardware (part of the magma ecosystem)
BSD 3-Clause "New" or "Revised" License
41 stars 13 forks source link

Interactive tester #219

Closed leonardt closed 4 years ago

leonardt commented 4 years ago

This refactors the tester class to use an abstract class pattern, and adds a new concrete implementation in the form of an InteractiveTester.

This is a thin wrapper over the magma Python simulator, mainly to handle the conversion of types going in and out of the simulator (using our standard BitVector, Bit pattern now).

There's improvements to be made (such as changing the magma simulator target to reuse this logic in the staged tester), but this is aimed at getting the minimum functionality required for the magmathon.