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

Allow expect to use file_read #208

Closed splhack closed 4 years ago

splhack commented 4 years ago

207

value = loop.file_read(file_in)
loop.expect(circ.O, value)

verilator works, generated system-verilog looks legit