URL
https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 4 |
Rev 8 |
#ifndef _ADV_JTAG_BRIDGE_H_
|
#ifndef _ADV_JTAG_BRIDGE_H_
|
#define _ADV_JTAG_BRIDGE_H_
|
#define _ADV_JTAG_BRIDGE_H_
|
|
|
//#ifndef Boolean
|
//#ifndef Boolean
|
//#define Boolean int
|
//#define Boolean int
|
//#endid
|
//#endid
|
|
|
#ifndef TRUE
|
#ifndef TRUE
|
#define TRUE 1
|
#define TRUE 1
|
#endif
|
#endif
|
|
|
#ifndef FALSE
|
#ifndef FALSE
|
#define FALSE 0
|
#define FALSE 0
|
#endif
|
#endif
|
|
|
/* Selects crc trailer size in bits. Currently supported: 8 */
|
/* Selects crc trailer size in bits. Currently supported: 8 */
|
//#define CRC_SIZE (8)
|
//#define CRC_SIZE (8)
|
|
|
/* Scan chain size in bits. */
|
/* Scan chain size in bits. */
|
//#define SC_SIZE (4)
|
//#define SC_SIZE (4)
|
|
|
//#ifndef ULONGEST
|
//#ifndef ULONGEST
|
//#define ULONGEST unsigned long
|
//#define ULONGEST unsigned long
|
//#endif
|
//#endif
|
|
|
|
|
//#define DC_SIZE 4
|
//#define DC_SIZE 4
|
//#define DC_STATUS_SIZE 4
|
//#define DC_STATUS_SIZE 4
|
|
|
//#define DC_WISHBONE 0
|
//#define DC_WISHBONE 0
|
//#define DC_CPU0 1
|
//#define DC_CPU0 1
|
//#define DC_CPU1 2
|
//#define DC_CPU1 2
|
|
|
//#define DI_GO 0
|
//#define DI_GO 0
|
//#define DI_READ_CMD 1
|
//#define DI_READ_CMD 1
|
//#define DI_WRITE_CMD 2
|
//#define DI_WRITE_CMD 2
|
//#define DI_READ_CTRL 3
|
//#define DI_READ_CTRL 3
|
//#define DI_WRITE_CTRL 4
|
//#define DI_WRITE_CTRL 4
|
|
|
//#define DBG_CRC_SIZE 32
|
//#define DBG_CRC_SIZE 32
|
|
|
|
|
//#define DBG_ERR_OK 0
|
//#define DBG_ERR_OK 0
|
//#define DBG_ERR_CRC 8
|
//#define DBG_ERR_CRC 8
|
|
|
|
|
//#define CHECK(x) check(__FILE__, __LINE__, (x))
|
//#define CHECK(x) check(__FILE__, __LINE__, (x))
|
//void check(char *fn, int l, int i);
|
//void check(char *fn, int l, int i);
|
|
|
|
|
#endif /* _ADV_JTAG_BRIDGE_H_ */
|
#endif /* _ADV_JTAG_BRIDGE_H_ */
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.