byteman
1.3 (Build #225)
Bitstream relocation and manipulation tool
src
Devices
Xilinx
XCAP
XCAP.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright 2022 Kristiyan Manev (University of Manchester)
3
*
4
* Licensed under the Apache License, Version 2.0(the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*****************************************************************************/
16
17
#ifndef XCAP_H
18
#define XCAP_H
19
namespace
XCAP
{
20
enum class
Register
{
21
UNDEFINED
= -1,
22
CRC
= 0,
23
FAR
= 1,
24
FDRI
= 2,
25
FDRO
= 3,
26
CMD
= 4,
27
CTRL0
= 5,
28
MASK
= 6,
29
STAT
= 7,
30
LOUT
= 8,
31
COR0
= 9,
32
MFWR
= 10,
33
CBC
= 11,
34
IDCODE
= 12,
35
AXSS
= 13,
36
COR1
= 14,
37
WBSTAR
= 16,
38
TIMER
= 17,
39
MAGIC0
= 19,
40
BOOTSTS
= 22,
41
CTRL1
= 24,
42
MAGIC1
= 30,
43
BSPI
= 31
44
};
45
46
enum class
Command
{
47
UNDEFINED
= -1,
48
NULLCMD
= 0,
49
WCFG
= 1,
50
MFW
= 2,
51
DGHIGH
= 3,
52
RCFG
= 4,
53
START
= 5,
54
URAM
= 6,
55
RCRC
= 7,
56
AGHIGH
= 8,
57
SWITCH
= 9,
58
GRESTORE
= 10,
59
SHUTDOWN
= 11,
60
DESYNC
= 13,
61
IPROG
= 15,
62
CRCC
= 16,
63
LTIMER
= 17,
64
BSPI_READ
= 18,
65
FALL_EDGE
= 19,
66
MAGIC2
= 21
67
};
68
69
enum class
Operation
{
70
NOP
= 0,
71
READ
= 1,
72
WRITE
= 2,
73
RESERVED
= 3
74
};
75
}
76
#endif
//XCAP_H
XCAP
Definition:
XCAP.h:19
XCAP::Operation
Operation
Definition:
XCAP.h:69
XCAP::Operation::NOP
@ NOP
XCAP::Operation::READ
@ READ
XCAP::Operation::RESERVED
@ RESERVED
XCAP::Operation::WRITE
@ WRITE
XCAP::Register
Register
Definition:
XCAP.h:20
XCAP::Register::MASK
@ MASK
XCAP::Register::UNDEFINED
@ UNDEFINED
XCAP::Register::CRC
@ CRC
XCAP::Register::LOUT
@ LOUT
XCAP::Register::FAR
@ FAR
XCAP::Register::COR0
@ COR0
XCAP::Register::MFWR
@ MFWR
XCAP::Register::WBSTAR
@ WBSTAR
XCAP::Register::STAT
@ STAT
XCAP::Register::MAGIC1
@ MAGIC1
XCAP::Register::COR1
@ COR1
XCAP::Register::BSPI
@ BSPI
XCAP::Register::CMD
@ CMD
XCAP::Register::AXSS
@ AXSS
XCAP::Register::CTRL0
@ CTRL0
XCAP::Register::TIMER
@ TIMER
XCAP::Register::BOOTSTS
@ BOOTSTS
XCAP::Register::CTRL1
@ CTRL1
XCAP::Register::FDRI
@ FDRI
XCAP::Register::FDRO
@ FDRO
XCAP::Register::CBC
@ CBC
XCAP::Register::MAGIC0
@ MAGIC0
XCAP::Register::IDCODE
@ IDCODE
XCAP::Command
Command
Definition:
XCAP.h:46
XCAP::Command::UNDEFINED
@ UNDEFINED
XCAP::Command::CRCC
@ CRCC
XCAP::Command::IPROG
@ IPROG
XCAP::Command::MAGIC2
@ MAGIC2
XCAP::Command::RCFG
@ RCFG
XCAP::Command::SWITCH
@ SWITCH
XCAP::Command::URAM
@ URAM
XCAP::Command::AGHIGH
@ AGHIGH
XCAP::Command::FALL_EDGE
@ FALL_EDGE
XCAP::Command::DESYNC
@ DESYNC
XCAP::Command::RCRC
@ RCRC
XCAP::Command::LTIMER
@ LTIMER
XCAP::Command::NULLCMD
@ NULLCMD
XCAP::Command::BSPI_READ
@ BSPI_READ
XCAP::Command::GRESTORE
@ GRESTORE
XCAP::Command::MFW
@ MFW
XCAP::Command::START
@ START
XCAP::Command::SHUTDOWN
@ SHUTDOWN
XCAP::Command::DGHIGH
@ DGHIGH
XCAP::Command::WCFG
@ WCFG
Generated on Tue Nov 29 2022 12:57:36 for byteman by
1.9.1