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

重构:两级译码 #11

Open
eastonman opened this issue Jun 25, 2022 · 1 comment
Open

重构:两级译码 #11

eastonman opened this issue Jun 25, 2022 · 1 comment
Labels
refactor 重构

Comments

@eastonman
Copy link
Contributor

使用alusel和aluop对不同类型的指令做两级译码

@eastonman eastonman added the refactor 重构 label Jun 25, 2022
@eastonman
Copy link
Contributor Author

现在在后端使用aluop临时判断的,可以提前到ID得到的信息:

  • 单发射指令
  • 原子发射指令,llsc等
  • 影响取指通路,需要冲刷并重新取指的
  • 是否是访存指令,st/ld

两级aluop的指令分组:

  • 算术指令,一周期完成
  • 算术指令,多周期
  • 无条件跳转
  • 条件跳转
  • 访存指令
  • 特权指令

有部分重合的可以考虑缩减

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

No branches or pull requests

1 participant