Skip to content

Commit

Permalink
util: Fix multi-instruction frep.i tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Nov 13, 2023
1 parent d56bfa7 commit 1542031
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/trace/gen_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ def emul_seq(fseq_info: dict,
# Are we working on an FRep ...
if cfg is not None:
# If we are still filling our loop buffer: add to it and replicate
if cfg['inst_iter'] <= cfg['max_inst']:
# When there are no FPSS PCs left (e.g. inner FREP), we cannot replicate!
if cfg['inst_iter'] <= cfg['max_inst'] and len(fseq_info['fpss_pcs']):
pc_str, curr_sec, is_frep = fseq_info['fpss_pcs'].pop()
if is_frep:
msg_type = 'WARNING' if permissive else 'FATAL'
Expand Down

0 comments on commit 1542031

Please sign in to comment.