Hi Chris, > > It sounds like the myhdl team needs to revisit the VHPI interface, > when we last looked (many years ago) it was incomplete. It > seems probable that the latest GHDL VHPI would support the > MyHDL cosimulation requirements. >
I think it should cover the most, but I don't know how far you wanna go. The easiest is for example the virtual COM port implementation, the more advanced stuff from ghdlex is for instance looping in a virtual bus, so a MyHDL CPU can mess with the ghdl virtual HW. The tricky part is to get the async behaviour right. I'm currently using a separate thread for the I/O in ghdl. Works safe via VHPI, but not without mutex modifications with VPI. Cheers, - Martin _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss