Skip to content

Commit

Permalink
verif: pmp: format
Browse files Browse the repository at this point in the history
  • Loading branch information
kgugala committed Dec 26, 2024
1 parent add8817 commit f8253e4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions verification/block/pmp/testbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from cocotb.binary import BinaryValue
from cocotb.clock import Clock
from cocotb.triggers import ClockCycles, RisingEdge, FallingEdge
from cocotb.triggers import ClockCycles, FallingEdge, RisingEdge
from pyuvm import *

# ==============================================================================
Expand Down Expand Up @@ -45,7 +45,7 @@ def getDecodedEntryCfg(regs, index, range_only=False):
else:
start_address = 0

if address_matching == 0: #Entry diabled
if address_matching == 0: # Entry diabled
if range_only:
end_address = pmpaddr.integer << 2
return start_address, end_address
Expand Down Expand Up @@ -348,8 +348,6 @@ async def run_phase(self):
self.raise_objection()

cocotb.top.scan_mode.value = 0
#cocotb.top.pmp_pmpcfg.value = 0
#cocotb.top.pmp_pmpaddr.value = 0
cocotb.top.pmp_chan_addr.value = [0, 0, 0]
cocotb.top.pmp_chan_type.value = [0, 0, 0]

Expand Down

0 comments on commit f8253e4

Please sign in to comment.