Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
teqdruid committed Oct 14, 2024
1 parent dce37cc commit 34f1944
Show file tree
Hide file tree
Showing 18 changed files with 491 additions and 251 deletions.
4 changes: 2 additions & 2 deletions frontends/PyCDE/src/pycde/bsp/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ def build_table(bundles) -> Tuple[Dict[int, AssignableSignal], int]:
for bundle in bundles.to_client_reqs:
if bundle.port == 'read':
table[offset] = bundle
bundle.add_record({
bundle.add_record(details={
"offset": offset,
"size": ChannelMMIO.RegisterSpace,
"type": "ro"
})
offset += ChannelMMIO.RegisterSpace
elif bundle.port == 'read_write':
table[offset] = bundle
bundle.add_record({
bundle.add_record(details={
"offset": offset,
"size": ChannelMMIO.RegisterSpace,
"type": "rw"
Expand Down
2 changes: 2 additions & 0 deletions frontends/PyCDE/src/pycde/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ def index(self) -> int:
return self._appid.index

def __repr__(self) -> str:
if self.index is None:
return self.name
return f"{self.name}[{self.index}]"


Expand Down
Loading

0 comments on commit 34f1944

Please sign in to comment.