Emulating a processor
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Emulating a processor

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture
Author Message
Gromer
Guest





Posted: Tue Nov 22, 2005 9:15 am    Post subject: Emulating a processor Reply with quote

Hi all,

I'm interested to understand the processor architecture in depth. So i
decided on emulating the processor itself (as my project). The best one
to start would be 386.

So i wud require some documents which explains on how to emulate any
processor or devices. ( Apart from the Intel Architecture documents
available).
How to emulate a 386 processor. I want to kno how usually this is done.
I wonder how bochs has been developed so elegantly...the resource
they've used.

It wud be appreciable if someone can guide me on any documents or
reference books avaliable on Emulating processors and devices.

..
Wht are the resources I should have in hand to start up up this
project.

Thanks,
Gromer
Back to top
Terje Mathisen
Guest





Posted: Tue Nov 22, 2005 9:15 am    Post subject: Re: Emulating a processor Reply with quote

Gromer wrote:

Quote:
Hi all,

I'm interested to understand the processor architecture in depth. So i
decided on emulating the processor itself (as my project). The best one
to start would be 386.

So i wud require some documents which explains on how to emulate any
processor or devices. ( Apart from the Intel Architecture documents
available).
How to emulate a 386 processor. I want to kno how usually this is done.
I wonder how bochs has been developed so elegantly...the resource
they've used.

Use the source.

Quote:

It wud be appreciable if someone can guide me on any documents or
reference books avaliable on Emulating processors and devices.

Use the Source
Quote:

..
Wht are the resources I should have in hand to start up up this
project.

Use the SOURCE!

Terje

--
- <Terje.Mathisen@hda.hydro.com>
"almost all programming can be viewed as an exercise in caching"
Back to top
Gromer
Guest





Posted: Tue Nov 22, 2005 4:32 pm    Post subject: Re: Emulating a processor Reply with quote

Terje Mathisen wrote:
Quote:
Gromer wrote:

Hi all,

I'm interested to understand the processor architecture in depth. So i
decided on emulating the processor itself (as my project). The best one
to start would be 386.

So i wud require some documents which explains on how to emulate any
processor or devices. ( Apart from the Intel Architecture documents
available).
How to emulate a 386 processor. I want to kno how usually this is done.
I wonder how bochs has been developed so elegantly...the resource
they've used.

Use the source.


It wud be appreciable if someone can guide me on any documents or
reference books avaliable on Emulating processors and devices.

Use the Source

..
Wht are the resources I should have in hand to start up up this
project.

Use the SOURCE!

Terje

--
- <Terje.Mathisen@hda.hydro.com
"almost all programming can be viewed as an exercise in caching"

I'm pretty much aware of the Bochs source available, but am more keen
in understanding the concepts..so wud prefer a good document or a book
if available
Back to top
Noway2
Guest





Posted: Tue Nov 22, 2005 4:52 pm    Post subject: Re: Emulating a processor Reply with quote

See if you can find any documentation / source code for a simulator
called "SPIM", which is a simulator for a MIPS processor. I think that
this one is available freely so you may be able to use it to gain some
insight.
Back to top
Rob Warnock
Guest





Posted: Tue Nov 22, 2005 5:15 pm    Post subject: Re: Emulating a processor Reply with quote

Noway2 <no_spam_me2@hotmail.com> wrote:
+---------------
| See if you can find any documentation / source code for a simulator
| called "SPIM", which is a simulator for a MIPS processor. I think that
| this one is available freely so you may be able to use it to gain some
| insight.
+---------------

Or SIMH:

http://simh.trailing-edge.com/
The Computer History Simulation Project
...
SIMH implements simulators for:

* Data General Nova, Eclipse
* Digital Equipment Corporation PDP-1, PDP-4, PDP-7, PDP-8,
PDP-9, PDP-10, PDP-11, PDP-15, VAX
* GRI Corporation GRI-909
* IBM 1401, 1620, 1130, System 3
* Interdata (Perkin-Elmer) 16b and 32b systems
* Hewlett-Packard 2116, 2100, 21MX
* Honeywell H316/H516
* MITS Altair 8800, with both 8080 and Z80
* Royal-Mcbee LGP-30, LGP-21
* Scientific Data Systems SDS 940

SIMH is good enough to run such major historical operating systems
as TOPS-10 and TOPS-20 (for the KL10), VAX/VMS (for the VAX-11/780),
and RSTS/E (for the PDP-11), among others. On a modern PC [e.g., a
2 GHz Athlon, say], you can run these legacy operating systems under
emulation several times *faster* than the hardware they originally
ran on! ;-} ;-}


-Rob

-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607
Back to top
Guest






Posted: Wed Nov 23, 2005 9:10 am    Post subject: Re: Emulating a processor Reply with quote

Gromer wrote:

Quote:
It wud be appreciable if someone can guide me on any documents or
reference books avaliable on Emulating processors and devices.

http://fms.komkon.org/EMUL8/HOWTO.html

....a high-level overview on what you're trying to do.

-t
Back to top
Hannibal
Guest





Posted: Sat Nov 26, 2005 1:15 am    Post subject: Re: Emulating a processor Reply with quote

I'd recommend you not to start with an x86, you'll add complexity to
the project, especially in the instruction decoding. With a fixed
length instruction set, you'll just mask and shift when you decode the
instruction. Not so with the x86.

Regards,
Hannibal


On 2005-11-22 06:56:58 +0100, "Gromer" <osIndgy@gmail.com> said:

Quote:
Hi all,

I'm interested to understand the processor architecture in depth. So i
decided on emulating the processor itself (as my project). The best one
to start would be 386.

So i wud require some documents which explains on how to emulate any
processor or devices. ( Apart from the Intel Architecture documents
available).
How to emulate a 386 processor. I want to kno how usually this is done.
I wonder how bochs has been developed so elegantly...the resource
they've used.

It wud be appreciable if someone can guide me on any documents or
reference books avaliable on Emulating processors and devices.

.
Wht are the resources I should have in hand to start up up this
project.

Thanks,
Gromer
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Computer Architecture All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB