jtag: Apply Martin Strubel JTAG implementation for ZPU
[zpu.git] / zpu / sw / emulation / zpu-tap.h
blob176c4dc93e00b657ee4e8279659e64acc75e75fc
1 /**************************************************************************
2 *
4 * This file was generated by dclib/netpp. Modifications to this file will
5 * be lost.
6 * Stylesheet: genreg.xsl (c) 2010-2011 section5
8 * Version: 0.0
9 **************************************************************************/
13 #ifndef _BITMASK_
14 #define _BITMASK_(msb, lsb) ( (-1 << (msb + 1)) ^ (-1 << lsb) )
15 #endif
16 #ifndef _BIT_
17 #define _BIT_(pos) (1 << pos)
18 #endif
22 /*********************************************************
23 * Address segment 'ZPUsmall'
24 *********************************************************/
26 #define ZPUsmall_EMUSTAT_DUMMY 0x04
27 # define ZPU_IDIM _BIT_(15)
28 # define ZPU_BREAK _BIT_(14)
29 # define ZPU_MEMBUSY _BIT_(9)
30 # define ZPU_INRESET _BIT_(8)