-
Notifications
You must be signed in to change notification settings - Fork 18
/
README
66 lines (59 loc) · 3.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Refer to [ISPD'2016 contest](http://www.ispd.cc/contests/16/ispd2016_contest.html) for more details.
=======================================================================================
Bookshelf Format for FPGA Placement
=======================================================================================
This document explains the differences (new features) of FPGA placement bookshelf format.
1. Library cell (.lib file):
- Each instance has a corresponding master library cell. It is defined in nodes file;
- All library cells are defined in design.lib, a new addition to bookshelf format;
2. PIN:
- All pins are defined in library file (.lib) cell section;
- Each instance has the same number of pins as defined in its master cell;
- Not all the pins of an instance are used. Some are left unconnected;
- Library file defines certain attributes associated with pins: direction, clock, and control;
- Each net is a collection of pins, as specified in nets file;
3. Layout file (.scl file)
- Layout file is re-defined to accomodate FPGA placement;
- There are two section in layout file: site definition section and site map section;
- SITE definition speicifies available resources (LUT/FF/RAMB/DSP) that can be placed in one site;
- RESOURCES specifies cell names that correspond to certain resource;
- SITEMAP specifies the two-dimension array of sites for the entire device/chip:
4. Placement file (.pl file)
- The location of an instance has three fields: x-coord, y-coord (to determine the SITE) and BEL (index within the SITE);
- In released benchmarks, placement file only contains locations of fixed instances (IBUF/OBUF/BUFGCE etc);
These instances' locations, including BEL numbers, are not allowed to change during placement;
- Placer's output placement file should contain locations of all instances;
- The following diagram shows the BEL number for LUTs/FFs placed inside a SLICE SITE:
==========================
| LUT 15 | FF 15 |
--------------------------
| LUT 14 | FF 14 |
--------------------------
| LUT 13 | FF 13 |
--------------------------
| LUT 12 | FF 12 |
--------------------------
| LUT 11 | FF 11 |
--------------------------
| LUT 10 | FF 10 |
--------------------------
| LUT 9 | FF 9 |
--------------------------
| LUT 8 | FF 8 |
--------------------------
| LUT 7 | FF 7 |
--------------------------
| LUT 6 | FF 6 |
--------------------------
| LUT 5 | FF 5 |
--------------------------
| LUT 4 | FF 4 |
--------------------------
| LUT 3 | FF 3 |
--------------------------
| LUT 2 | FF 2 |
--------------------------
| LUT 1 | FF 1 |
--------------------------
| LUT 0 | FF 0 |
==========================