Skip to content

Commit

Permalink
Update src/cocotb_bus/drivers/avalon.py
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Marquardt <[email protected]>
  • Loading branch information
mawillia and cmarqu authored Apr 1, 2022
1 parent 62e7081 commit c372a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cocotb_bus/drivers/avalon.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async def write(self, address: int, value) -> None:
self.bus.byteenable.value = int("1"*len(self.bus.byteenable), 2)
if hasattr(self.bus, "cs"):
self.bus.cs.value = 1
if hasattr(self.bus,"burstcount"):
if hasattr(self.bus, "burstcount"):
self.bus.burstcount.value = burstcount

for burstindex in range(burstcount):
Expand Down

0 comments on commit c372a86

Please sign in to comment.