summaryrefslogtreecommitdiff
path: root/tb/top/decode_test.cpp
diff options
context:
space:
mode:
authorJulianCamacho <jjulian.341@gmail.com>2022-11-07 21:51:27 -0600
committerJulianCamacho <jjulian.341@gmail.com>2022-11-07 21:52:04 -0600
commit6f08b7251f57778bd32f3cc2d44ddba63492cac8 (patch)
tree0d93786dd43d4f445257e11cdedceb15f62e4b0e /tb/top/decode_test.cpp
parent511a6dad9538f20f5bbdd2c87b752b4690c648ff (diff)
Adding decode instructions for test
Diffstat (limited to 'tb/top/decode_test.cpp')
-rw-r--r--tb/top/decode_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tb/top/decode_test.cpp b/tb/top/decode_test.cpp
index 3d8589a..14af035 100644
--- a/tb/top/decode_test.cpp
+++ b/tb/top/decode_test.cpp
@@ -15,7 +15,9 @@ int main(int argc, char** argv) {
top.trace(&trace, 0);
trace.open("decode_test.vcd");
- int instructions[4] = {};
+ unsigned long instructions[3] = {3766898695,
+ 3825578010,
+ 3120562179};
top.n = 0;
top.z = 0;
top.c = 0;