Skip to content

Commit

Permalink
Add 'depth' attribute to _FIFOInterface
Browse files Browse the repository at this point in the history
There's a 'width' attribute -- so why no 'depth', too?
lukaslaobeyer authored and whitequark committed Jun 25, 2017
1 parent feece92 commit 8c7472b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migen/genlib/fifo.py
Original file line number Diff line number Diff line change
@@ -57,6 +57,7 @@ def __init__(self, width, depth):
self.din = Signal(width)
self.dout = Signal(width)
self.width = width
self.depth = depth


class SyncFIFO(Module, _FIFOInterface):

0 comments on commit 8c7472b

Please sign in to comment.