-
Notifications
You must be signed in to change notification settings - Fork 9
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
Figure out the main instruction cycles #14
Comments
@electrovir Let's figure this out before we do anything else |
Looks like we are both agreed on an OPCODE step and a PARAMETERS step |
RegistersAssume we have the following registers (this may or may not change). Also assume we have external memory.
Naming on the last two registers is open for possible debate. AFAIK we can't optimize out the MDR or the MAR because they are part of the general model for memory, which we want to interface with. InstructionsEach numbered item is a clock cycle (bullets do not represent a clock cycle, just groupings of cycles or control explanations).
The Parameters instruction will always take place after the Opcode instruction (right?), thus loading the MAR can be executed at the end of the Opcode instruction. The contents of the Compute instruction will vary based on the current operation, which is determined by the loaded opcode. The Result instruction (number 4) you included @lastmjs will be part of a given operations's clock cycles. (Not all operations have a result.) TerminologyThe following two words are interchangeable within this context, so I want to solidify how I'm using them:
Updates
|
Let's determine this right now before we go much further. Here's my initial idea:
The text was updated successfully, but these errors were encountered: