Updating sv_add_elwidth to use SV_ELWIDTH_TEST macro from sv_test_macros
[riscv-tests.git] / isa / macros / simplev / sv_test_macros.h
index 35a415c940c8c1b8338ca02ce7e7d323916dc977..9f16a8477a335d0f1822426fa1068b4cddf34d86 100644 (file)
         load_instruction( x14, testdata+elwidth*2);                     \
         load_instruction( x15, testdata+elwidth*3);                     \
         load_instruction( x16, testdata+elwidth*4);                     \
-        load_instruction( x17, testdata++elwidth*5);                   \
+        load_instruction( x17, testdata+elwidth*5);                    \
 
 // Loads the source registers using load_instruction from testdata with a spacing of elwidth and offset
 #define SV_LOAD_FORMAT_OFFSET(load_instruction, testdata, elwidth, offset)   \
 #define SV_W_8BIT 1
 #define SV_W_16BIT 2
 #define SV_W_32BIT 3
+#define SV_W_DEFAULT_EXPECT 0xa5a5a5a5a5a5a5a5