byteman  1.3 (Build #225)
Bitstream relocation and manipulation tool
XS6_Fabric.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright 2022 Kristiyan Manev, Joseph Powell (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 #include "../XilinxConfigurationAccessPort.h"
18 
19 #ifndef XS6_FABRIC_H
20  #define XS6_FABRIC_H
21 
22  //
23  #define XS6_MAX_SLRS 0
24 
25  //
26  #define XS6_MAX_ROWS 0
27 
28  //
29  #define XS6_MAX_COLS 0
30 
31  //
32  #define XS6_MAX_BRAM_COLS 0
33 
34  #define XS6_WORDS_BEFORE_CLK 40
35  #define XS6_WORDS_AT_CLK 1
36  #define XS6_WORDS_AFTER_CLK 40
37  #define XS6_WORDS_PER_FRAME (XS6_WORDS_BEFORE_CLK + XS6_WORDS_AT_CLK + XS6_WORDS_AFTER_CLK)
38  #define XS6_FRAMES_PER_BRAM_CONTENT_COLUMN 128
39  #define XS6_CLB_PER_CLOCK_REGION 40
40  #define XS6_BRAM_PER_CLOCK_REGION 10
41  #define XS6_EXTRA_FRAMES_PER_ROW 2
42 
43  #define XS6_TOPBOTTOM_SHIFT 20
44 
45  #define XS6_BLOCKTYPE_SHIFT 21
46  #define XS6_BLOCKTYPE_MASK 0x7
47  #define XS6_ROWADDRESS_SHIFT 15
48  #define XS6_ROWADDRESS_MASK 0x1F
49  #define XS6_COLUMNADDRESS_SHIFT 7
50  #define XS6_COLUMNADDRESS_MASK 0xFF
51  #define XS6_MINORADDRESS_SHIFT 0
52  #define XS6_MINORADDRESS_MASK 0x7F
53 
54  #define archXS6template FABRIC_TEMPLATE(XS6_MAX_SLRS, XS6_MAX_ROWS, XS6_MAX_COLS, XS6_MAX_BRAM_COLS, XS6_BLOCKTYPE_LOGIC, XS6_BLOCKTYPE_BLOCKRAM, XS6_WORDS_BEFORE_CLK, XS6_WORDS_AT_CLK, XS6_WORDS_AFTER_CLK, XS6_WORDS_PER_FRAME, XS6_FRAMES_PER_BRAM_CONTENT_COLUMN, XS6_CLB_PER_CLOCK_REGION, XS6_BRAM_PER_CLOCK_REGION, XS6_EXTRA_FRAMES_PER_ROW, XS6_TOPBOTTOM_SHIFT, XS6_BLOCKTYPE_SHIFT, XS6_BLOCKTYPE_MASK, XS6_ROWADDRESS_SHIFT, XS6_ROWADDRESS_MASK, XS6_COLUMNADDRESS_SHIFT, XS6_COLUMNADDRESS_MASK, XS6_MINORADDRESS_SHIFT, XS6_MINORADDRESS_MASK)
55 
56 #endif//XS6_FABRIC_H