OpenOCD
virtex2.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
/***************************************************************************
4
* Copyright (C) 2006 by Dominic Rath *
5
* Dominic.Rath@gmx.de *
6
***************************************************************************/
7
8
#ifndef OPENOCD_PLD_VIRTEX2_H
9
#define OPENOCD_PLD_VIRTEX2_H
10
11
#include <
jtag/jtag.h
>
12
13
#define VIRTEX2_MAX_USER_INSTRUCTIONS 4
14
15
struct
virtex2_command_set
{
16
uint64_t
cfg_out
;
17
uint64_t
cfg_in
;
18
uint64_t
jprog_b
;
19
uint64_t
jstart
;
20
uint64_t
jshutdown
;
21
uint64_t
bypass
;
22
uint64_t
user
[
VIRTEX2_MAX_USER_INSTRUCTIONS
];
23
unsigned
int
num_user
;
24
};
25
26
struct
virtex2_pld_device
{
27
struct
jtag_tap
*
tap
;
28
int
no_jstart
;
29
struct
virtex2_command_set
command_set
;
30
};
31
32
#endif
/* OPENOCD_PLD_VIRTEX2_H */
jtag.h
The JTAG interface can be implemented with a software or hardware fifo.
jtag_tap
Definition:
jtag.h:101
virtex2_command_set
Definition:
virtex2.h:15
virtex2_command_set::jshutdown
uint64_t jshutdown
Definition:
virtex2.h:20
virtex2_command_set::user
uint64_t user[VIRTEX2_MAX_USER_INSTRUCTIONS]
Definition:
virtex2.h:22
virtex2_command_set::cfg_out
uint64_t cfg_out
Definition:
virtex2.h:16
virtex2_command_set::jstart
uint64_t jstart
Definition:
virtex2.h:19
virtex2_command_set::num_user
unsigned int num_user
Definition:
virtex2.h:23
virtex2_command_set::jprog_b
uint64_t jprog_b
Definition:
virtex2.h:18
virtex2_command_set::bypass
uint64_t bypass
Definition:
virtex2.h:21
virtex2_command_set::cfg_in
uint64_t cfg_in
Definition:
virtex2.h:17
virtex2_pld_device
Definition:
virtex2.h:26
virtex2_pld_device::command_set
struct virtex2_command_set command_set
Definition:
virtex2.h:29
virtex2_pld_device::tap
struct jtag_tap * tap
Definition:
virtex2.h:27
virtex2_pld_device::no_jstart
int no_jstart
Definition:
virtex2.h:28
VIRTEX2_MAX_USER_INSTRUCTIONS
#define VIRTEX2_MAX_USER_INSTRUCTIONS
Definition:
virtex2.h:13
src
pld
virtex2.h
Generated by
1.9.1