This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: problems simulating register-only architecture...
Hi -
On Thu, May 24, 2001 at 07:19:43PM -0400, Alan Lehotsky wrote:
: >I'd advise keeping it simple: use c-call to hook to a single C
: >getter-setter function pair, and hide the indirection within. (BTW,
: >don't bother represent the actual RAM block (h-memory) within cgen.)
: It made the code for loading sections from the ELF object file
: really trivial. The mapping code just does all the heavy lifting for me :-)
Well, you should be using a simulator infrastructure such as sid :-) which
does this stuff for you. Note I didn't say that you shouldn't represent
the register bank as memory; just that memory should not be described within
cgen.
- FChE
PGP signature