diff options
author | zedarider <ymherklotz@gmail.com> | 2016-10-31 12:58:06 +0000 |
---|---|---|
committer | zedarider <ymherklotz@gmail.com> | 2016-10-31 12:58:06 +0000 |
commit | ef21d724fc7003731e64369956db69af6bfa9923 (patch) | |
tree | 12804c3c7734b50a83dfe7b68be46cc9610212c3 /src/ymh15/test_mips_ymh15.hpp | |
parent | 3027ac64bf869424cb7971665882e40d5c11cf1b (diff) | |
download | MipsCPU-ef21d724fc7003731e64369956db69af6bfa9923.tar.gz MipsCPU-ef21d724fc7003731e64369956db69af6bfa9923.zip |
finished cpu and tester
Diffstat (limited to 'src/ymh15/test_mips_ymh15.hpp')
-rw-r--r-- | src/ymh15/test_mips_ymh15.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ymh15/test_mips_ymh15.hpp b/src/ymh15/test_mips_ymh15.hpp index bd360f1..86eaacf 100644 --- a/src/ymh15/test_mips_ymh15.hpp +++ b/src/ymh15/test_mips_ymh15.hpp @@ -71,6 +71,7 @@ void change_endianness(uint32_t &inst); int check_reg(mips_cpu_h state, uint8_t reg_addr, uint32_t check_value); int check_error(mips_error err, mips_error expected_err); +int check_mem(mips_mem_h mem, uint32_t addr, uint32_t length, uint32_t check_value); mips_error set_instruction(mips_mem_h mem, mips_cpu_h state, uint32_t mem_location, uint32_t src1, uint32_t src2, uint32_t dest, uint32_t shift, uint32_t function); mips_error set_instruction(mips_mem_h mem, mips_cpu_h state, uint32_t mem_location, uint32_t opcode, uint32_t src, uint32_t dest, uint32_t Astart); |