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

Add a basic example for selecting two different implementations of the same definition #137

Closed leonardt closed 5 years ago

leonardt commented 5 years ago

This test demonstrates the basic capability in fault for selecting between two different implementations of the same module. The goal is to enable the efficient simulation of mixed signal designs by allowing the user to select between different implementations of the same module. For example, the user might wish to simulate a portion of the design using a behavioral model, another portion using the netlist representation, and another portion using a SPICE simulation.

Planned extensions are a better interface for selecting the desired implementation (rather than just passing the right include directory) and the ability to select the desired implementation on a instance basis (rather than just a per-module basis).