json2renode: Add LiteX MMCM

This commit is contained in:
Mateusz Karlic 2022-10-17 08:43:52 +02:00 committed by Mateusz Karlic
parent 65964692dd
commit b4bddc68e7
1 changed files with 6 additions and 0 deletions

View File

@ -645,6 +645,12 @@ peripherals_handlers = {
'switches': {
'handler': generate_switches,
},
'mmcm': {
'handler': generate_peripheral,
'model': 'Miscellaneous.LiteX_MMCM',
'model_CSR32': 'Miscellaneous.LiteX_MMCM_CSR32',
'ignored_constants': ['lock_timeout', 'drdy_timeout'],
},
'ethphy': {
'handler': handled_peripheral # by generate_ethmac
},