Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROM和RAM #4

Open
Jett-tu opened this issue Aug 11, 2020 · 3 comments
Open

ROM和RAM #4

Jett-tu opened this issue Aug 11, 2020 · 3 comments

Comments

@Jett-tu
Copy link

Jett-tu commented Aug 11, 2020

RTL文件中的ROM和RAM两个模块是一样的,为什么不删除一个。这样在顶层就直接调用两次就可以了。
而且ROM的是只读的吧?

@liangkangnan
Copy link
Owner

这里的ROM相当于真实MCU中的Flash,RAM相当于SRAM。
这里的ROM是可读可写的。
ROM和RAM的空间大小不一样的。

@Jett-tu
Copy link
Author

Jett-tu commented Aug 12, 2020

指令是存在rom中吗?
指令来源是那个文件?

@liangkangnan
Copy link
Owner

指令是存在ROM,指令来源于inst.data文件。
github更新会不及时,建议你去这里看最新的内容。
https://gitee.com/liangkangnan/tinyriscv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants