On 2008-09-11, Timothy Normand Miller wrote:
> Petter,
>
> I'm going to try to set up this debugger environment, unless you think
> I can do without it.
We can just do massive $display()s and dump it to a file, then grep
though it do locate bugs. In that case, we only need a mechanism to
upload the program as output by the assembler. This is a plain text
file with 512 lines each holding a 32 bit hexadecimal number.
> Howard's working on getting video up. My
> short-term goal is to switch on HQ and see it do something,
> particularly poll_pci. I think what I'll try to do first is see if I
> can hack a wrapper around poll_pci and get it called in a loop. (I
> presume that HQ starts executing at address zero.)
Yes, it starts at zero, so you need the following program:
poll_loop:
jump poll_pci, r5
noop
jump poll_loop
noop
include poll_pci
> Depending on how
> that goes, I may be forced to set up the debugger. The debugger and
> hsip and assembler are impressive and elaborate, so there will be a
> learning curve for me.
There is some documentation in docs/oga1hq-manual.tex and in
tools/oga1hq/README. The commands support the --help option.
And ask, on- or off-list. I want to know about build problems and on
which topics the documentation should be improved.
> > 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.
No, not with any interesting input, yet.
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)