We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d4a26 commit 90d1857Copy full SHA for 90d1857
veriloggen/thread/ram.py
@@ -361,8 +361,8 @@ def _id(self):
361
@property
362
def length(self):
363
if isinstance(self.addrwidth, int):
364
- return (2 ** self.addrwidth) * self.numbanks
365
- return (vtypes.Int(2) ** self.addrwidth) * self.numbanks
+ return 2 ** self.addrwidth
+ return vtypes.Int(2) ** self.addrwidth
366
367
def has_enable(self, port):
368
for ram in self.rams:
0 commit comments