diff --git a/pynq/lib/debugbridge.py b/pynq/lib/debugbridge.py index e3b8ccbf2..975cea6c5 100644 --- a/pynq/lib/debugbridge.py +++ b/pynq/lib/debugbridge.py @@ -206,7 +206,7 @@ def __init__(self, description): description : dict The entry in the IP dict describing the DMA engine """ - if type(description) is not ReprDict: + if type(description) not in [dict, ReprDict]: raise RuntimeError('Description is not valid', str(description)) # Insert register dict as they are not provided in the IP descriptor