<be65da6e451238ff>
I'm trying to test a component. I don't see a ton of documentation about testing so I'm kinda just going about things myself using other tests as an example. I'm inheriting from `GlasgowAppletV2TestCase` and doing `def test_X` to define a test. That seems to all link up correctly, but my component uses the inoutpipe which I create from the SimulationAssembly's `add_inout_pipe`, but this causes an
<be65da6e451238ff>
error: `raise DriverConflict("Combinationally driven signals cannot be overriden by testbenches")`. What's the correct way to use the inout pipe in a test?
<whitequark[cis]>
can you clarify if you want to test a component or an entire applet? the steps are somewhat different, and the glasgow repo has examples of both
<whitequark[cis]>
testing components is also covered in Amaranth docs
<be65da6e451238ff>
A component -- here is the signature and the test code that is failing with that error: https://paste.debian.net/1383903/
<whitequark[cis]>
re: inout pipe, make sure you are not swapping input and output, as the names are unintuitive hete
<be65da6e451238ff>
oh..
<be65da6e451238ff>
Yea they are swapped in that code oops
<be65da6e451238ff>
Oh oof
<be65da6e451238ff>
ha
<be65da6e451238ff>
thanks
<whitequark[cis]>
s/hete/here/
<be65da6e451238ff>
Cool stuff, love the .vcd outputs