problems simulating register-only architecture...
Frank Ch. Eigler
fche@redhat.com
Thu May 24 16:25:00 GMT 2001
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
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7DZh8VZbdDOm/ZT0RAqC0AJ46+XRWu+Qsx6lJ84pBz6NVJtuJWwCeMPI2
URRJnepVlqHl+Ug/Ik6jPNs=
=AaIp
-----END PGP SIGNATURE-----
More information about the Cgen
mailing list