wuhanstudio / picorv32_EG4S20

A 32-bit RISC-V SoC on FPGA that supports RT-Thread.
Apache License 2.0
11 stars 4 forks source link

您好,我把sdram模块注释掉。也能正常运行。所以sdram模块是不是正常工作应该是没有经过验证的。 #1

Closed tscmga closed 1 year ago

tscmga commented 2 years ago

[17:03:11:297] \ | / [17:03:11:297] - RT - Thread Operating System [17:03:11:303] / | \ 3.1.3 build Sep 7 2022 [17:03:11:309] 2006 - 2019 Copyright by rt-thread team [17:03:11:309] Hello picorv32 World [17:03:11:316] msh >help [17:05:39:167] RT-Thread shell commands: [17:05:39:179] demo list_timer list_mailbox list_sem list_thread version ps help [17:05:39:179] msh >list_mailbox [17:05:49:878] mailbox entry size suspend thread [17:05:49:889] -------- ---- ---- -------------- [17:05:49:889] msh > 波特率115200

wuhanstudio commented 2 years ago

实际上 sdram 本身接线已经被注释了: https://github.com/wuhanstudio/picorv32_EG4S20/blob/6479c943d7b327c410df3e84eb900568293239a3/hx8kdemo.v#L20-L45

SoC 的内部 RAM 用的是安陆生成的 BRAM:

https://github.com/wuhanstudio/picorv32_EG4S20/blob/6479c943d7b327c410df3e84eb900568293239a3/RISC_V/al_ip/soc_mem.v

tscmga commented 2 years ago

好吧。我现在想驱动sdram。。很难很难。想看看你这个代码里的。。。我联系了安陆也没用

tscmga commented 2 years ago

您这个代码注释的只是外部的接线。实际上面后面用了的。。因为安陆是集成在fpga里面。后面实例化了这个ip模块。也转接上了。

tscmga commented 1 year ago

我现在就是这个sdram模块已经搞了一周了。我尝试自己驱动也不行。。我想找安陆的人要一份代码,加了微信。我自顾自在的说了好多。一句也不回。所以安陆这个sdram模块是不是坏的我也不知道。然后安陆的工具如果出错,跟不找不到第二个人会有同样的错误。我早知道就要icesugar了。。至少用的人比较多。