Skip to content

Commit

Permalink
Correct linting
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Jul 12, 2024
1 parent a0ea51a commit 23dba15
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 @@ -30,13 +30,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 @@ -427,6 +425,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 23dba15

Please sign in to comment.