Kaleb Barrett
Kaleb Barrett
I just tried running Questa on Linux and it does reopen the streams with buffering successfully. This is likely a Windows, or a Windows + Modelsim issue. One last thing...
A good solution is to set up the cocotb logger to go to a custom file and not stdout. Not sure why anyone would want to two mixed. In ModelSim...
I would recommend [these docs](https://docs.python.org/3/library/logging.handlers.html) for moving stdout logs to a file and *not* using `print`.
Which version of Verilator? Only Verilator 4.106 is known to work with cocotb.
Is the bug only present with Verilator? Do the objects work when simulating with Icarus?
Then this isn't really a problem with the buses, but a problem with Verilator, or cocotb support of Verilator. I will move this issue to the main repo. You should...
@raysalemi I reported this a couple months ago. It is a bug, edge triggers are not working properly.
I think we can add another "language" to the toplevel. "vhdl" chooses the default, "fli" or "vhpi" override the default. The default can be "fli" for Questa for now, and...
Yeah that would work great. We also need to deal with the `TOPLEVEL_LANG` environment variable.
I like COCOTB_TOPLEVEL_IF. One thing to consider is that cocotb.LANGUAGE is populated using `TOPLEVEL_LANG` right now. If we add support for values like `fli`, `vhpi`, and `vpi`, we are going...