An example about adding a new module to gem5 for more detail please visit adding a new IO module to gem5