Skip to content

Commit

Permalink
drive HREADY
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed Oct 9, 2024
1 parent 9f5ddc1 commit fa5e35f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bus_env/bus_agent/bus_ahb_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ async def address_phase(self, tr):
self.vif.HADDR.value = tr.addr
self.vif.HTRANS.value = 0b10
self.vif.HSEL.value = 0b01
self.vif.HREADY.value = 0b01
self.drv_optional_signals_address(tr)
# TODO: HSIZE should be existed in the DUT wait until it got added
await self.drive_delay()
Expand Down Expand Up @@ -97,6 +98,7 @@ async def data_phase(self, tr):

def end_of_trans(self):
self.vif.HSEL.value = 0b00
self.vif.HREADY.value = 0b00
self.vif.HTRANS.value = 0b00
self.vif.HWRITE.value = 0

Expand Down

0 comments on commit fa5e35f

Please sign in to comment.