1 /* 2 * Copyright © 2022 Collabora Ltd. 3 * SPDX-License-Identifier: MIT 4 */ 5 #ifndef MME_TU104_SIM_H 6 #define MME_TU104_SIM_H 7 8 #include <stdint.h> 9 #include <stdlib.h> 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 struct mme_tu104_inst; 16 17 struct mme_tu104_sim_mem { 18 uint64_t addr; 19 void *data; 20 size_t size; 21 }; 22 23 void mme_tu104_sim(uint32_t inst_count, const struct mme_tu104_inst *insts, 24 uint32_t param_count, const uint32_t *params, 25 uint32_t mem_count, struct mme_tu104_sim_mem *mems); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif /* MME_TU104_SIM_H */ 32