Re: [myhdl-list] Tool to cosimulate VHDL in Vivado
Brought to you by:
jandecaluwe
From: Tim B. <tim...@so...> - 2015-03-12 11:03:49
|
Hi Henry, > I've written a tool to do behavioural cosimulation of synchronous VHDL > code using the Vivado simulator. That grabbed my attention! > > It's probably more accurately quasi-cosimulation as what it actually > does is runs a MyHDL reference design and records all the inputs and the > outputs at each clock cycle, then runs a device under test inside Vivado > through the tcl interface, playing back to it the recorded inputs. The > tool then returns the resultant set of outputs from both simulations for > comparison. > > There is an equivalent tool for cosimulating myhdl models with other > myhdl models, so in principle it should be a simple case of writing the > test suite for myhdl development, then trivially switching the test > function to use Vivado. > > The real win of this approach is it opens up the facility of a free > simulator in order to do behavioural verification of MyHDL models of > encrypted IP (most of the IP that is now shipped with Vivado). It's > still necessary to have the MyHDL model, but at least the loop is now > closed. > > I've also written a set of support functions for common things like > clock generation and random input generation for use in this framework. > > This email is really to see if there is interest in me packaging this up > and releasing it. The code is written to be solid and it has a complete > test bench. I don't have access to a supported VPI/VHPI simulator, and that was one of the main stumbling blocks for me having a real go with MyHDL. I'd be very interested in this. > > I suspect that it can be easily modified to support Verilog, and I > daresay much of the effort would be applicable to other simulators that > are not VPI/VHPI compliant. > > Cheers, > > Henry > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > -- Senior Design Engineer Somerdata Ltd 1 Riverside Business Park St Annes Road Bristol BS4 4ED Tel: +44 (0)117 9634050 Fax: +44 (0)117 3302929 E-mail: tim...@so... Website: www.somerdata.com |