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

Reply via email to