2020-08-17 19:42:44 +03:00
|
|
|
gen = decodetree.process('insns.decode')
|
|
|
|
|
2020-08-07 13:10:23 +03:00
|
|
|
microblaze_ss = ss.source_set()
|
2020-08-17 19:42:44 +03:00
|
|
|
microblaze_ss.add(gen)
|
2020-08-07 13:10:23 +03:00
|
|
|
microblaze_ss.add(files(
|
|
|
|
'cpu.c',
|
|
|
|
'gdbstub.c',
|
|
|
|
'helper.c',
|
|
|
|
'op_helper.c',
|
|
|
|
'translate.c',
|
|
|
|
))
|
|
|
|
|
2023-06-13 16:33:47 +03:00
|
|
|
microblaze_system_ss = ss.source_set()
|
|
|
|
microblaze_system_ss.add(files(
|
2020-09-03 07:41:00 +03:00
|
|
|
'mmu.c',
|
|
|
|
'machine.c',
|
|
|
|
))
|
2020-08-07 13:10:23 +03:00
|
|
|
|
|
|
|
target_arch += {'microblaze': microblaze_ss}
|
2023-10-04 12:06:27 +03:00
|
|
|
target_system_arch += {'microblaze': microblaze_system_ss}
|