Hi there,

I'm Ong Wen Jian, undergraduate student from Malaysia. I'm planning to do a
PCI based GPU plugin into M5 simulator. In creating the PCI interface for my
GPU , is that I need to inherit only the PciDevice class or any other class
that I still need to inherit ??

The code is something like as shown below : -

class GPUDevice (Pcidevice) {
   type = 'GPUDevice'
   abstract = 'true'
   interface = Port ("GPU Interface")

}

class 3DFX(GPUDevice) {

//All PCI config register initialization goes here

}


Regards

-- 
ONG WEN JIAN
Student
Department of Computer and Communication Systems Engineering,
Faculty of Engineering, Universiti Putra Malaysia
43400 UPM Serdang, Selangor Darul Ehsan
Tel : 014 - 930 2150 / 017 - 613 6231
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to