[myhdl-list] Re: mydhl and cver interactive
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2004-03-27 10:20:59
|
Terry Brown wrote: > I have been using myhdl with the cver simulator all running under > cygwin. It would be really cool to be able to access the interactive > debugger with cver from python code. > > Briefly, I would like to be able to use sim.run(time) to run the > simulator for a time (I can do this now), then poke about within the > verilog simulation using cver interactive, then run again from Python. > > Currently, I can drop into cver interactive only when a $stop is > executed within the verilog code, and once I am in cver interactive a > $finish must be executed before I return to the python code. > > I have built a little interactive monitor for my simulation using the > cmd module from Python, and this is nice, but I want to be able to send > commands to cver interactive and read the responses from with Python. I > played a bit with using popen2 to run cver, but cver behaves quite > differently when connected to a pipe rather than "real" stdin (i.e. > tty), and I didn't have a lot of success. > > Anybody have an idea if this is a huge amount of work, or not so big if > I only knew what I was doing?? > > Thanks for the help. > > Terry Brown > Tyzx, Inc. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click -- Jan Decaluwe - Resources bvba - http://jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium Python is fun, and now you can design hardware with it: http://jandecaluwe.com/Tools/MyHDL/Overview.html |