freechipsproject / chisel-testers

Provides various testers for chisel users
Apache License 2.0
98 stars 50 forks source link

Peek/Poking FIRRTL-generated IO #58

Open shunshou opened 7 years ago

shunshou commented 7 years ago

I'm trying to have FIRRTL automatically generate a scan chain when a "scan" bundle is included in my design.

Scan bundle = list of signals I want to have custom values for.

But since the added scan signals (scan clk, enable, in, out) are not part of the original Chisel code, there's no way I can test it via the usual peek, poke mechanisms... any idea if there might be some workaround?

donggyukim commented 7 years ago

For now, it's impossible with verilator, but you may be able to peek/poke with path names of those signals with vcs.