Skip to content

Commit 7c20b03

Browse files
committed
Fix check for ioshape
1 parent 955a9d2 commit 7c20b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chipflow_lib/platforms/iostream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def o_stream_signature(ioshape, /, *, ratio=1, meta_layout=0):
336336
return IOStreamer.o_stream_signature(ioshape, ratio=ratio, meta_layout=meta_layout)
337337

338338
def __init__(self, ioshape, *, clock, o_ratio=1, meta_layout=0, divisor_width=16):
339-
assert isinstance(ioshape, dict)
339+
assert isinstance(ioshape, IOShape)
340340
assert isinstance(clock, str)
341341
assert o_ratio in (1, 2)
342342
assert clock in ioshape

0 commit comments

Comments
 (0)