Reservoir-In-Processor / rip-sim

Cycle-level simulator for "Reservoir in Processor"
Apache License 2.0
4 stars 0 forks source link

shorten space of register dumps #72

Closed hirayamy closed 1 year ago

hirayamy commented 1 year ago

Shorten the size of space of the Regdumps, including GPRegs and CSRegs #61

Before:

finish with:
x0 (zero):=        0x00000000, x1 ( ra ):=        0x00000000, x2 ( sp ):=        0x00108000, x3 ( gp ):=        0x00000000, 
x4 ( tp ):=        0x00000000, x5 ( t0 ):=        0x00000000, x6 ( t1 ):=        0x00000000, x7 ( t2 ):=        0x00000000, 
x8 ( s0 ):=        0x00000000, x9 ( s1 ):=        0x00000000, x10( a0 ):=        0x00000000, x11( a1 ):=        0x00000000, 
x12( a2 ):=        0x00000000, x13( a3 ):=        0x00000000, x14( a4 ):=        0x00000000, x15( a5 ):=        0x00000000, 
x16( a6 ):=        0x00000005, x17( a7 ):=        0x00000003, x18( s2 ):=        0x00000000, x19( s3 ):=        0x00000000, 
x20( s4 ):=        0x00000000, x21( s5 ):=        0x00000000, x22( s6 ):=        0x00000000, x23( s7 ):=        0x00000000, 
x24( s8 ):=        0x00000000, x25( s9 ):=        0x00000000, x26( s10):=        0x00000000, x27( s11):=        0x00000000, 
x28( t3 ):=        0x00000000, x29( t4 ):=        0x00000000, x30( t5 ):=        0x00000000, x31( t6 ):=        0x00000000, 

After:

finish with:
x0 (zero):=  0x00000000, x1 ( ra ):=  0x00000000, x2 ( sp ):=  0x00108000, x3 ( gp ):=  0x00000000, 
x4 ( tp ):=  0x00000000, x5 ( t0 ):=  0x00000000, x6 ( t1 ):=  0x00000000, x7 ( t2 ):=  0x00000000, 
x8 ( s0 ):=  0x00000000, x9 ( s1 ):=  0x00000000, x10( a0 ):=  0x00000000, x11( a1 ):=  0x00000000, 
x12( a2 ):=  0x00000000, x13( a3 ):=  0x00000000, x14( a4 ):=  0x00000000, x15( a5 ):=  0x00000000, 
x16( a6 ):=  0x00000005, x17( a7 ):=  0x00000003, x18( s2 ):=  0x00000000, x19( s3 ):=  0x00000000, 
x20( s4 ):=  0x00000000, x21( s5 ):=  0x00000000, x22( s6 ):=  0x00000000, x23( s7 ):=  0x00000000, 
x24( s8 ):=  0x00000000, x25( s9 ):=  0x00000000, x26( s10):=  0x00000000, x27( s11):=  0x00000000, 
x28( t3 ):=  0x00000000, x29( t4 ):=  0x00000000, x30( t5 ):=  0x00000000, x31( t6 ):=  0x00000000, 

CSR dump is not shown, but the same modification is made to the CSR dump.