Re: cgen, GNU gdb/sim, and full system simulation
"Frank Ch. Eigler" <[email protected]> Fri, 18 May 2012 08:52:27 -0400
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Peter - > Ok. But we're primarily doing this for GDB, and I suppose gdb can't > use sid, is that right? gdb can use sid (via the remote protocol). Several gdb/toolchain ports have used sid as the execution backend for e.g. testsuites. > [...] > > To me, the more interesting question would be the choice to model > > virtual memory as a separate component between the CPU and the memory > > and I/O buses (which would suite sid's modeling very well), vs > > something purely internal to the CPU model. > > Yeah, I was hoping I could just define a memory in the .cpu file with > define-hardware and have custom get and set methods, but it looks like > that won't work :) Yeah, cgen by itself is not well-suited for modeling such aspects of the microarchitecture. - FChE