-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ali Farazdaghi edited this page Jul 13, 2018
·
1 revision
Author | Ali Farazdaghi |
---|---|
Version | Revision: 1 |
Copyright | MIT |
Imposter will read INSTRUCTION_LOCATION
defined in src/main.c
and load the instructions into an array.
Then it will initialize the CPU using cpu_init()
and clock the CPU using cpu_tick()
and cpu_tock()
.
The src/arch/mips
includes source code for simulating MIPS CPU.
-
components.h
: Components used in MIPS arch, like: sign bit extender and ALU. -
defs.h
: Some Definitions describing the arch. -
hazard.h
: Hazard detection unit. -
memory.h
: Definitions and Functions for handling memory access. -
pipeline.h
: Definitions describing pipeline register. -
stages.h
: Functions describing what should happen at each stage during rising and falling of one clock cycle.