Skip to content

Commit

Permalink
Don't stream proxy register transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineerd committed May 9, 2024
1 parent 4171b72 commit c07439a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/surf/axi/_AxiLiteMasterProxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def __init__(self, pollPeriod=0.0, **kwargs):
offset = 0x00,
bitOffset = 0,
bitSize = 1,
groups = ['NoStream'],
enum = {
0: "Write",
1: "Read",
Expand All @@ -42,13 +43,15 @@ def __init__(self, pollPeriod=0.0, **kwargs):
bitOffset = 0,
bitSize = 1,
base = pr.Bool,
groups = ['NoStream'],
))

self.add(pr.RemoteVariable(
name = 'Resp',
offset = 0x04,
bitOffset = 1,
bitSize = 2,
groups = ['NoStream'],
enum = {
0 : 'OK',
1 : 'EXOK',
Expand All @@ -62,13 +65,15 @@ def __init__(self, pollPeriod=0.0, **kwargs):
offset = 0x08,
bitOffset = 0,
bitSize = 32,
groups = ['NoStream'],
))

self.add(pr.RemoteVariable(
name = 'Data',
offset = 0x0C,
bitOffset = 0,
bitSize = 32,
groups = ['NoStream'],
))

def proxyTransaction(self, transaction):
Expand Down

0 comments on commit c07439a

Please sign in to comment.