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

Fixture additions #307

Closed standanley closed 3 years ago

standanley commented 3 years ago

Two additions: 1) background poke. A way to poke a port with something like a clock or a sine wave that runs in the background until you poke something else on that port. 2) domain read. An extension to get_value that allows you to read things like frequency or the time of the most recent rising edge.

I decided to move a third improvement, mLingua support, to another PR because right now only Poke works, and not Expect or GetValue.

leonardt commented 3 years ago

Sorry for letting this linger so long, I'd like to help get this integrated ASAP so we can avoid merge pains. Do you have access to the fault repo as a collaborator? I think the first step will be to merge this into a branch in this repo (rather than your fork) and reopening the PR from the internal branch so that CI will run properly (CI is failing because it doesn't work with forks)

leonardt commented 3 years ago

Actually it looks like you are collaborator, let me know if you have issues with access, I'm going to merge this into a local branch and open a new PR.

leonardt commented 3 years ago

Ok let's work off this one now: https://github.com/leonardt/fault/pull/312