We are planning to simulate google's Tensor processing unit(TPU) using gem5. We are not sure where to start with on gem5. We have followed all the tutorials in the learning folder. First, we want to implement matrix multiplier. How can we do that?
相关问题
- When building gem5.opt, I get 'ImportError: no
- Writing gem5 configuration scripts with Pycharm
- How can gem5 se mode execute a program with operat
- How to modify a file under src/python and run it w
- Why doesn't the Linux kernel see the cache siz
相关文章
- How to modify a file under src/python and run it w
- Why doesn't the Linux kernel see the cache siz
- UART communication in Gem5 with ARM Bare-metal
- How to count the number of CPU clock cycles betwee
- 如何建立gem5了树?(How to build gem5 out of tree?)
- How to enable ARM semihosting in gem5?
- How to build gem5 out of tree?
- How to do port forwarding from guest to host and v
If I understood correctly, you want to add a new device to gem5, that does matrix multiplication.
I have not seen any good tutorials on adding devices to gem5 yet. When I learn it, I will write one.
So, your best bet is to have a look at existing gem5 source code, look under
src/dev
, and try to find the device that looks most similar to yours.The device / gem5 interface should not be too hard: you basically just have to understand how to do the following:
Then, I recommend that you test those things out with:
Maybe you can get some inspiration from this related QEMU answer: How to add a new device in QEMU source code?