OpenCores
URL https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk

Subversion Repositories adv_debug_sys

[/] [adv_debug_sys/] [tags/] [ADS_RELEASE_1_1_0/] [Software/] [adv_jtag_bridge/] [bsdl.h] - Blame information for rev 19

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 nyawn
#ifndef _BSDL_H_
2
#define _BSDL_H_
3 13 nyawn
 
4
#include <stdint.h>
5 4 nyawn
 
6
// Used by lower levels.
7
// should not be used by higher levels (i.e. anything that calls
8
// the API functions).
9
struct bsdlinfo_node {
10
  char *name;
11
  uint32_t idcode;
12
  uint32_t idcode_mask;
13
  int IR_size;
14
  uint32_t cmd_debug;
15
  uint32_t cmd_user1;
16
  uint32_t cmd_idcode;
17
  struct bsdlinfo_node *next;
18
};
19
 
20
typedef struct bsdlinfo_node bsdlinfo;
21
 
22
 
23
#define IDCODE_INVALID 0xFFFFFFFF
24
#define TAP_CMD_INVALID 0XFFFFFFFF
25
 
26
 
27
void bsdl_init(void);
28
void bsdl_add_directory(const char *dirname);
29
 
30
const char * bsdl_get_name(uint32_t idcode);
31
int bsdl_get_IR_size(uint32_t idcode);
32
uint32_t bsdl_get_debug_cmd(uint32_t idcode);
33
uint32_t bsdl_get_user1_cmd(uint32_t idcode);
34
uint32_t bsdl_get_idcode_cmd(uint32_t idcode);
35
 
36
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.