Skip to content

Commit

Permalink
Merge pull request openhwgroup#1609 from yanicasa/pr-cva6-spike-log
Browse files Browse the repository at this point in the history
Update spike log parsing
  • Loading branch information
JeanRochCoulon authored Feb 8, 2023
2 parents 521dbba + a16b627 commit cbee3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cva6/sim/cva6_spike_log_to_trace_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from lib import *

RD_RE = re.compile(r"(core\s+\d+:\s+)?(?P<pri>\d) 0x(?P<addr>[a-f0-9]+?) " \
"\((?P<bin>.*?)\)(( c\S* 0x[a-f0-9]+)*) (?P<reg>[xf]\s*\d*?) 0x(?P<val>[a-f0-9]+)")
"\((?P<bin>.*?)\)(( c\S* 0x[a-f0-9]+)*) (?P<reg>[xf]\s*\d*?)\s*0x(?P<val>[a-f0-9]+)")

CORE_RE = re.compile(
r"core\s+\d+:\s+0x(?P<addr>[a-f0-9]+?) \(0x(?P<bin>.*?)\) (?P<instr>.*?)$")
Expand Down

0 comments on commit cbee3ff

Please sign in to comment.