diff --git a/bus_env/bus_item.py b/bus_env/bus_item.py index 661fd4e..56e9199 100644 --- a/bus_env/bus_item.py +++ b/bus_env/bus_item.py @@ -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