Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
e0be02875This file is pinned to the selected release. Download the original to open it in your design tool.
/* Copyright (C) 2017 LambdaConcept */
#ifndef __PADS_H_
#define __PADS_H_
struct pad_s {
char *name;
size_t len;
void *signal;
};
struct pad_list_s {
char *name;
struct pad_s *pads;
int index;
struct pad_list_s *next;
};
int litex_sim_pads_get_list(struct pad_list_s **plist);
int litex_sim_pads_find(struct pad_list_s *first, char *name, int index, struct pad_list_s **found);
#ifdef __cplusplus
extern "C" int litex_sim_register_pads(struct pad_s *pads, char *interface_name, int index);
#else
int litex_sim_register_pads(struct pad_s *pads, char *interface_name, int index);
#endif
#endif