Take a look at the existing devices in src/dev.  A lot of the functionality
you need is encapsulated in the base classes in that directory.

See http://www.gem5.org/docs/html/classPioDevice.html for a class hierarchy
chart.

Steve



On Fri, Dec 20, 2013 at 12:59 AM, Erfan Azarkhish <[email protected]>wrote:

> Dear All,
>
> I am trying to design my own accelerator in gem5, and I would like to know
> if there is any component already available which I can instantiate and
> modify?
> I would need a component with a Master Port and a Slave Port to be able to
> both Write/Read to address space of this accelerator (from the main
> processors), also Write/Read to main memory from inside this accelerator.
>
> Thanks in advance,
>
> --
> Erfan Azarkhish
> Micrel Lab - Viale Carlo Pepoli 3/2 - 40123, Bologna
> DEI - University of Bologna, Italy
>
> _______________________________________________
> 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