Hmm, it looks like the old ISA documentation has only been half-moved to
the new documentation tree... there is one page that provides an overview:
http://gem5.org/ISA_description_system

Also I believe each of our tutorials has included a brief section on the
ISA language; see  http://gem5.org/Tutorials.  The newest tutorial has the
most up-to-date info, but I think the older tutorials may have included an
example of how to add a new instruction.

Steve


On Fri, Dec 23, 2011 at 11:12 AM, DRAM Ninjas <[email protected]> wrote:

> Greetings everyone,
>
> As a newcomer to M5, I am having a hard time grasping how the ISA code
> generation mechanism works. It seems like there are quite a few moving
> parts and while I appreciate the in-depth wiki pages on the subject, they
> all seem to get into the nuts and bolts quickly and so I'm having a hard
> time getting a 10 thousand foot view of the process.
>
> So far I see it as:
>
> in some cases:
> .isa files -> python -> C++ headers + code
>
> in other cases:
> .isa files -> C++ headers + code
>
> And some .isa files are just definitions for other .isa files
>
> One thing I'm having a hard time with is that the *.isa files seem to be
> very heterogeneous in what types of files they generate and how those files
> end up getting put into C++, it seems like a good way to express the
> process would be in some kind of informal flowchart -- is such a diagram
> available somewhere? I looked through the latest tutorial and the relevant
> wiki pages but was unable to dig up anything of the sort.
>
> Alternatively, perhaps someone knows of a tutorial or example write up of
> how to add a new instruction to an ISA in M5?
>
> Thanks,
> Paul
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to