Skip to content

Commit

Permalink
increase range of addr
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady authored May 9, 2024
1 parent 32d50bf commit d71d3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bus_env/bus_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, name="bus_item"):
super().__init__(name)
self.tag = name
self.addr = 0 # bit
self.rand("addr", range(0, 0xFFF))
self.rand("addr", range(0, 0xFFFF))
self.data = 0 # logic
self.rand("data", range(0, 0xFFFF))
self.kind = bus_item.READ # kind_e
Expand Down

0 comments on commit d71d3c9

Please sign in to comment.