gem5-users@gem5.org

The gem5 Users mailing list

View all threads

How to port designs simulated on gem5 to real time FPGAs

SN
saras nanda
Thu, Jun 29, 2023 7:10 PM

Hi all ,

I am curious to know how to port a design made on gem5 on to a FPGA board ,
there is a bit of gap in my mind on the steps that i would want to follow,i
found a paper in this line which shows the following steps
[image: Screenshot from 2023-06-29 15-03-31.png]

paper: https://carrv.github.io/2017/papers/roelke-risc5-carrv2017.pdf

so if i use Archfp then i would be able to port my design to rocketchip or
BOOM projects ,then i can port it to FPGA board?please let me know if these
steps are right

Regards
saras

Hi all , I am curious to know how to port a design made on gem5 on to a FPGA board , there is a bit of gap in my mind on the steps that i would want to follow,i found a paper in this line which shows the following steps [image: Screenshot from 2023-06-29 15-03-31.png] paper: https://carrv.github.io/2017/papers/roelke-risc5-carrv2017.pdf so if i use Archfp then i would be able to port my design to rocketchip or BOOM projects ,then i can port it to FPGA board?please let me know if these steps are right Regards saras
AA
Ayaz Akram
Sat, Jul 1, 2023 9:25 PM

Hi Saras,

I don't think there is a way to convert your gem5 model to an FPGA board as
gem5 models are cycle-level models and not not cycle-accurate/cycle-exact.
The paper you have referred to, shows how to use gem5 performance numbers
and pass them to McPAT, ArchFP, and HotSpot to get power,area, and heat
estimations.

I think there has been work done to convert Chisel based cycle-accurate
models to gem5 models (for example using Verilator), but not the other way
around. If your configuration/model looks similar to Rocket/Boom I think
the best option would be to make same changes in Chisel models and deploy
them on an FPGA.

-Ayaz

On Thu, Jun 29, 2023 at 12:12 PM saras nanda via gem5-users <
gem5-users@gem5.org> wrote:

Hi all ,

I am curious to know how to port a design made on gem5 on to a FPGA board ,
there is a bit of gap in my mind on the steps that i would want to
follow,i found a paper in this line which shows the following steps
[image: Screenshot from 2023-06-29 15-03-31.png]

paper: https://carrv.github.io/2017/papers/roelke-risc5-carrv2017.pdf

so if i use Archfp then i would be able to port my design to rocketchip or
BOOM projects ,then i can port it to FPGA board?please let me know if these
steps are right

Regards
saras


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi Saras, I don't think there is a way to convert your gem5 model to an FPGA board as gem5 models are cycle-level models and not not cycle-accurate/cycle-exact. The paper you have referred to, shows how to use gem5 performance numbers and pass them to McPAT, ArchFP, and HotSpot to get power,area, and heat estimations. I think there has been work done to convert Chisel based cycle-accurate models to gem5 models (for example using Verilator), but not the other way around. If your configuration/model looks similar to Rocket/Boom I think the best option would be to make same changes in Chisel models and deploy them on an FPGA. -Ayaz On Thu, Jun 29, 2023 at 12:12 PM saras nanda via gem5-users < gem5-users@gem5.org> wrote: > Hi all , > > I am curious to know how to port a design made on gem5 on to a FPGA board , > there is a bit of gap in my mind on the steps that i would want to > follow,i found a paper in this line which shows the following steps > [image: Screenshot from 2023-06-29 15-03-31.png] > > paper: https://carrv.github.io/2017/papers/roelke-risc5-carrv2017.pdf > > so if i use Archfp then i would be able to port my design to rocketchip or > BOOM projects ,then i can port it to FPGA board?please let me know if these > steps are right > > Regards > saras > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >