Open tclarke opened 3 weeks ago
This is a really interesting question - I'm not very familiar with Amaranth and its simulation engine, but I'd be interested to find out. Forastero leverages cocotb primarily as a simulator interface, it might be possible for Amaranth to just interface directly rather than through the intermediate layer.
Would this be something you'd be able to help us investigate?
I'm not sure how much time I can put in but I'll look into it a bit to try and at least get some estimates on level of effort. The amaranth simulation engine does have some nice features and it's pretty clean for basic testing and for formal verification. I'll poke at it a bit over the next week or so and see what I come up with.
Is there an easy way to combine the two tools? Amaranth has simulation support but it would be great to use forastero+cocotb as it's a richer solution. I could just use amaranth to generate verilog and test on that but better integration would be much nicer.