Skip to content

Commit

Permalink
Update prefetchable base/limit register implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexforencich committed Dec 28, 2021
1 parent d72ba6b commit ed16549
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cocotbext/pcie/core/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ async def read_config_register(self, reg):
val = (self.prefetchable_mem_base & 0xfff00000) >> 16
# Prefetchable memory limit
val |= self.prefetchable_mem_limit & 0xfff00000
# supports 64 bit addresses
val |= 0x00010001
return val
elif reg == 10:
# Prefetchable memory base (upper)
Expand Down

0 comments on commit ed16549

Please sign in to comment.