URL
https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 13 |
Rev 49 |
#ifndef _BSDL_H_
|
#ifndef _BSDL_H_
|
#define _BSDL_H_
|
#define _BSDL_H_
|
|
|
#include <stdint.h>
|
#include <stdint.h>
|
|
|
// Used by lower levels.
|
// Used by lower levels.
|
// should not be used by higher levels (i.e. anything that calls
|
// should not be used by higher levels (i.e. anything that calls
|
// the API functions).
|
// the API functions).
|
struct bsdlinfo_node {
|
struct bsdlinfo_node {
|
char *name;
|
char *name;
|
uint32_t idcode;
|
uint32_t idcode;
|
uint32_t idcode_mask;
|
uint32_t idcode_mask;
|
int IR_size;
|
int IR_size;
|
uint32_t cmd_debug;
|
uint32_t cmd_debug;
|
uint32_t cmd_user1;
|
uint32_t cmd_user1;
|
uint32_t cmd_idcode;
|
uint32_t cmd_idcode;
|
struct bsdlinfo_node *next;
|
struct bsdlinfo_node *next;
|
};
|
};
|
|
|
typedef struct bsdlinfo_node bsdlinfo;
|
typedef struct bsdlinfo_node bsdlinfo;
|
|
|
|
|
#define IDCODE_INVALID 0xFFFFFFFF
|
#define IDCODE_INVALID 0xFFFFFFFF
|
#define TAP_CMD_INVALID 0XFFFFFFFF
|
#define TAP_CMD_INVALID 0XFFFFFFFF
|
|
|
|
|
void bsdl_init(void);
|
void bsdl_init(void);
|
void bsdl_add_directory(const char *dirname);
|
void bsdl_add_directory(const char *dirname);
|
|
|
const char * bsdl_get_name(uint32_t idcode);
|
const char * bsdl_get_name(uint32_t idcode);
|
int bsdl_get_IR_size(uint32_t idcode);
|
int bsdl_get_IR_size(uint32_t idcode);
|
uint32_t bsdl_get_debug_cmd(uint32_t idcode);
|
uint32_t bsdl_get_debug_cmd(uint32_t idcode);
|
uint32_t bsdl_get_user1_cmd(uint32_t idcode);
|
uint32_t bsdl_get_user1_cmd(uint32_t idcode);
|
uint32_t bsdl_get_idcode_cmd(uint32_t idcode);
|
uint32_t bsdl_get_idcode_cmd(uint32_t idcode);
|
|
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.