Skip to content

Commit

Permalink
Correct linting
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Jul 22, 2024
1 parent 2c6a3ee commit 8af3918
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions util/trace/gen_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@

import sys
import re
import math
import argparse
import json
from ctypes import c_int32, c_uint32
from collections import deque, defaultdict
import pathlib
from decimal import Decimal

EXTRA_WB_WARN = 'WARNING: {} transactions still in flight for {}.'

Expand Down Expand Up @@ -414,6 +412,7 @@ def flt_oper(insn: str, extras: dict, port: int) -> (str, str):
return REG_ABI_NAMES_F[extras[oper_type]], flt_lit(enc, fmt, vlen=vlen)
return reg, lit


def flt_decode(val: int, fmt: int) -> float:
"""Interprets the binary encoding of an integer as a FP value.
Expand Down

0 comments on commit 8af3918

Please sign in to comment.