Skip to content

Commit

Permalink
Removed unused imports, fixed typos
Browse files Browse the repository at this point in the history
Internal-tag: [#49748]
Signed-off-by: Maciej Kurc <[email protected]>
  • Loading branch information
mkurc-ant committed Oct 4, 2023
1 parent 676477c commit 97c3da2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion verification/block/iccm/test_readwrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import random

import pyuvm
from cocotb.triggers import ClockCycles
from pyuvm import *
from testbench import BaseTest, MemReadItem, MemWriteItem

Expand Down
6 changes: 1 addition & 5 deletions verification/block/iccm/testbench.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Copyright (c) 2023 Antmicro
# SPDX-License-Identifier: Apache-2.0

import math
import os
import random
import struct

import pyuvm
from cocotb.clock import Clock
from cocotb.triggers import ClockCycles, FallingEdge, RisingEdge
from pyuvm import *
Expand Down Expand Up @@ -246,7 +242,7 @@ def __init__(self, name, parent, env_class=BaseEnv):
super().__init__(name, parent)
self.env_class = env_class

# Syncrhonize pyuvm logging level with cocotb logging level. Unclear
# Synchronize pyuvm logging level with cocotb logging level. Unclear
# why it does not happen automatically.
level = logging.getLevelName(os.environ.get("COCOTB_LOG_LEVEL", "INFO"))
uvm_report_object.set_default_logging_level(level)
Expand Down

0 comments on commit 97c3da2

Please sign in to comment.