cnrv / fpga-rocket-chip

Wrapper for Rocket-Chip on FPGAs
Other
120 stars 26 forks source link

how to run rocket-chip in other board (KC705) #12

Closed stwjt closed 3 years ago

stwjt commented 3 years ago

I want to know how to modify this project to run rocket-chip in other board (KC705). I have modified the chiptop.v and aximem.v and some constraints but it seems to difficult to handle the ddr3. So I want to know the difficulty degree to adapt this project to the the board for a raw recruit.

wsong83 commented 3 years ago

I think this is doable and the difficulty level is medium. Two suggestions:

stwjt commented 3 years ago

I think this is doable and the difficulty level is medium. Two suggestions:

thanks. It is very helpful to me.

TwistsOfFate commented 3 years ago

@stwjt Did you succeed in running rocket-chip on KC705? I'm also trying to port to KC705 but couldn't get any output from the UART so far. I've done the following:

Is there something I'm missing?

wsong83 commented 3 years ago

Please note that this repo does not fully match with the kc705 port in lowRISC. Simply copying code and parameters may not do the job. You need to understand the configurations, especially for DDR and the clock network.

stwjt commented 3 years ago

@stwjt Did you succeed in running rocket-chip on KC705? I'm also trying to port to KC705 but couldn't get any output from the UART so far. I've done the following:

Is there something I'm missing?

那个我不会用github啊 我现在就是128mb可以 但我懒得开1GB了 我要怎么联系你啊

TwistsOfFate commented 3 years ago

@stwjt Did you succeed in running rocket-chip on KC705? I'm also trying to port to KC705 but couldn't get any output from the UART so far. I've done the following:

Is there something I'm missing?

那个我不会用github啊 我现在就是128mb可以 但我懒得开1GB了 我要怎么联系你啊

谢谢!可以邮件联系 fanqi.yu@outlook.com

stwjt commented 3 years ago

UART does not have the output because we used the pin_plan.xdc of lowrisc project . Rst_top is defined in this file, but rst_top was not pressed.

TwistsOfFate commented 3 years ago

Thanks to your help, I have done porting the hardware to a KC705 board. The changes are recorded here: https://github.com/TwistsOfFate/fpga-rocket-chip/tree/kc705

wsong83 commented 3 years ago

nice work!