mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 05:24:49 +00:00
minor interrupt syntax fix
This commit is contained in:
parent
789ce53355
commit
440cac9f77
@ -164,7 +164,8 @@ for line in fileinput.input('-'):
|
||||
interrupts.write(str(numInstrs)+'\n')
|
||||
# Convert line to rows of info for easier Verilog parsing
|
||||
vals=line.strip('riscv_cpu_do_interrupt: ').strip('\n').split(',')
|
||||
vals=[val.split(':')[-1].strip(' ').strip('desc=') for val in vals]
|
||||
vals=[val.split(':')[-1].strip(' ') for val in vals]
|
||||
vals=[val.split('=')[-1].strip(' ') for val in vals]
|
||||
for val in vals:
|
||||
interrupts.write(val+'\n')
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user