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

What's the meaning of Boot and Valid #5

Open
AbrahamYabo opened this issue May 10, 2017 · 2 comments
Open

What's the meaning of Boot and Valid #5

AbrahamYabo opened this issue May 10, 2017 · 2 comments

Comments

@AbrahamYabo
Copy link

What is the use of Boot and Valid and their meaning in circuit?

@anjianfeng
Copy link
Collaborator

Boot在TopTest中已经写好,1表示复位,0表示正常工作,可以用来给PC寄存器做复位信号用;
Valid是CPU的输出,表示当前译码的指令格式正确与否,1表示正确,0表示格式非法(包括暂时不支持执行的指令)。

@zavs
Copy link
Owner

zavs commented May 10, 2017

Generally, Boot is input and Valid is output, which Boot will reset the CPU pc register and start test mode if it is set to 1, and Valid is for some exceptions. Boot should be supported by adding some reset logic while Valid is generated by expectation detection logic. At this stage, single cyclic CPU design, the expection can be considered as expection of instruction fetching and decoding, aka. Unknown instruction happens. In regular instructions, Valid is set to 1. If an unknown instruction is send into Inst of ctlpath, Valid will be set to 0.

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

3 participants