Update TCM address in docs Change-Id: I597368b2796283136251f99066b970d486944739
diff --git a/TraceGeneration.md b/TraceGeneration.md index ebc745b..c5d9f46 100644 --- a/TraceGeneration.md +++ b/TraceGeneration.md
@@ -82,8 +82,8 @@ LOG_FILE="spike_trace_output.txt" "${OUT}/host/spike/bin/spike" \ - -m0x32000000:0x100000,0x34000000:0x1000000 \ - --pc=0x32000000 \ + -m0x34000000:0x1000000 \ + --pc=0x34000000 \ --log="${LOG_FILE}" \ -l \ "${ELF_FILE}" @@ -120,7 +120,7 @@ core 0: 3 0x00001004 (0x02028593) x11 0x00001020 ``` -- we use the `-m` flag as `-m<IMEM>:<IMEM LENGTH>,<DMEM>:<DMEM LENGTH>` or more generally from the spike documentation: +- we use the `-m` flag as `-m<TCM>:<TCM LENGTH>` or more generally from the spike documentation: ``` -m<a:m,b:n,...> Provide memory regions of size m and n bytes @@ -131,12 +131,12 @@ ### Number of Instructions -These commands assume the IMEM starts at 0x32000000, may need to s/0x32/0x80/ for 0x8000000 IMEM Starting address. +These commands assume the TCM starts at 0x34000000, may need to s/0x34/0x80/ for 0x8000000 TCM Starting address. #### Spike ```sh -cat spike_trace_output.txt | awk '/_start/,/_finish/' | grep "0: 0x32" | wc -l +cat spike_trace_output.txt | awk '/_start/,/_finish/' | grep "0: 0x34" | wc -l ``` #### Renode @@ -160,7 +160,7 @@ #### Spike ```sh -cat spike_trace.txt | awk '/_start/,/_finish/' | sed 's/.*: 0x\([0-9a-fA-F]\{8\}\).*/\1/g' | egrep "^32" > spike_trace_pc.txt +cat spike_trace.txt | awk '/_start/,/_finish/' | sed 's/.*: 0x\([0-9a-fA-F]\{8\}\).*/\1/g' | egrep "^34" > spike_trace_pc.txt ``` #### Renode