Hi Øyvind,
Thanks for taking the time to respond. The use case is admittingly unusual. I am using Chisel to create a synthesizable test bench, with black-boxed Verilog as the DUT. The simulation is controlled via ChiselTest with the Chisel-generated test bench and the DUT being verilated.
The question was really about whether I could verilate the ChiselTest controller as well. I suspected not, but wanted to ask the experts.
However, I do have a backup plan in that I also have a Chisel-generated test bench controller with a few simple inputs, like 'clock', 'reset', and 'start', and one output 'done'. So I think the correct approach is to just verilate those 3 blocks of Verilog (controller, testbench, DUT) and build a little C-wrapper in the normal Verilator way.
BTW, the application for this is something I presented at a government conference last week. In a nutshell, this thing is used to detect whether a chip has been tampered with. The Chisel-design is loaded into a big FPGA which is wired up to the suspicious device. The FPGA applies a gazillion vectors to the device at speed and produces a pass/fail indication at the end.
Thanks again!
Warren