Wrong behavior in mixed-HDL simulation
Hi everyone, I'm struggling to solve an issue inside my Modelsim simulation.
I have my testbench written in VHDL, which instantiates a component written in VHDL as well (the UUT), and a simulation model written in Verilog (which I found online).
The UUT and the simulation model share a bidirectional line which is pulled-up high ('H', but I tried to use 'Z' as well). While the UUT manages to take control of the line and output '0's and '1's, the simulation model just can't. I also put breakpoints in the code and verified that, internally to the Verilog file, it tells me that the line is actually assigned "St0" or "St1".
The fact is, when I watch in my "Wave" tab, I see that the line sticks on 'H' (same with 'Z').
So, my question is: am I missing something? Is there a setting to select somewhere to help the simulation model to put the right values on the shared line? I've never made a mixed-HDL simulation so I hope someone can give me a hand.
Thank you very much,
Vince.