json2renode: Add LiteX MMCM
This commit is contained in:
parent
65964692dd
commit
b4bddc68e7
|
@ -645,6 +645,12 @@ peripherals_handlers = {
|
||||||
'switches': {
|
'switches': {
|
||||||
'handler': generate_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': {
|
'ethphy': {
|
||||||
'handler': handled_peripheral # by generate_ethmac
|
'handler': handled_peripheral # by generate_ethmac
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue