Skip to content

Commit

Permalink
[Debugbridge] fix: allow description as dict
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Jentzsch <felix.jentzsch@upb.de>
  • Loading branch information
fpjentzsch committed Apr 15, 2024
1 parent 8687408 commit 83e4aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynq/lib/debugbridge.py
Expand Up @@ -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
Expand Down

0 comments on commit 83e4aeb

Please sign in to comment.