On Wed, Sep 10, 2008 at 3:35 PM, Petter Urkedal <[EMAIL PROTECTED]> wrote: > On 2008-09-09, Timothy Normand Miller wrote: >> I'm going to be checking in a bunch of code updates on like Thursday. >> This should be a good working version of OGA. The next thing I'd like >> to do is some simulations of HQ code. Where are we with that? I'd >> like to get the stub in and working first in simulation then in the >> real hardware. Then we can start adding VGA stuff. But to really >> test that, we'll need the BIOS. Things are coming together! > > If we want to attach the debugger: > > I added two options to oga1hqsim which allows specifying where in the > RTL to find the instances of the HQ module and the helper module. The > command line is > > oga1hqsim \ > --hdlsim=COMPILED_IVERILOG_SIMULATOR \ > --hq-instance=LOCATION.OF.HQ \ > --helper-instance=LOCATION.OF.HELPER \ > INPUT_FILE.hex > > That leaves integrating the helper tools/oga1hq/oga1hq_hdlsim.v with the > full RTL. The functions of the helper is to > > * upload an initial program file to HQ, > * to print out various thing, > * to call $hsip_signal() to wake up the debugger, and > * to call $finish(). > > The main issue is that it makes references to the HQ instance, which at > the moment is directly instantiated into the helper. When you have > time, you could have a look at oga1hq_hdlsim.v and see if you have an > idea what is the best approach.
The instance name of HQ in the full design is pretty-much settled. Have you tried running your poll_pci routine yet? I'm going to get these new changes checked in then move on to HQ. -- Timothy Normand Miller http://www.cse.ohio-state.edu/~millerti Open Graphics Project _______________________________________________ Open-graphics mailing list [email protected] http://lists.duskglow.com/mailman/listinfo/open-graphics List service provided by Duskglow Consulting, LLC (www.duskglow.com)
