mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-07 23:25:00 +00:00
Record only 8 bits for byte accesses.
This commit is contained in:
@@ -374,11 +374,9 @@ void print_transactions(FILE *target, const std::vector<Transaction> &transactio
|
|||||||
|
|
||||||
switch(next->data_strobes) {
|
switch(next->data_strobes) {
|
||||||
default: assert(false);
|
default: assert(false);
|
||||||
case 1: fprintf(target, "\".b\", "); break;
|
case 1: fprintf(target, "\".b\", %d", next->value & 0xff); break;
|
||||||
case 2: fprintf(target, "\".w\", "); break;
|
case 2: fprintf(target, "\".w\", %d", next->value); break;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
fprintf(target, "%d", next->value);
|
|
||||||
|
|
||||||
++next;
|
++next;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user