Modeling FPGA Logic Architecture: Petar Minev and Valentina Kukenska
Modeling FPGA Logic Architecture: Petar Minev and Valentina Kukenska
Modeling FPGA Logic Architecture: Petar Minev and Valentina Kukenska
I. INTRODUCTION
A single empirical approach of research and comparison
has dominated the practice of developing new or improving
already existing FPGA architectures. With it, a number of
standard schemes, corresponding to the target schemes that
the FPGA family is designed for, are synthesized in different
architectures with the help of CAD tools. They allow
changing the given architecture parameters. This approach is
similar to the one used in the development and research of
computer architectures, wherein a standard myriad of software
applications are compiled with different processor
architectures in order to measure their output.
An alternative to this empirical approach is the use of
theoretical methodic, wherein the applications are modeled
through statistical and graphical theories, while redesigning
and attaching an application to a given architecture is modeled
using probability calculations and another theoretical
apparatus. The creation of such a methodic has been the object
of different studies, usually focusing on a narrow range of
architectures and CAD tools. These studies mainly review the
tracking architecture and only provide a small amount of
information about the logic architecture. The issue for creating
and implementing a fundamental and applicable theory in
studying FPGA architectures still remains open.
The purely experimental methodic for FPGA architecture
research requires a large number of experiments with many
different combinations of architecture parameters. The
development of analytical models, indicative of the relation
between architecture parameters and their impact on the
working area, power consumption and FPGA speed, would
reduce the number of studied architectures. Once the count of
possible solutions is reduced, we can use the traditional
experimental methodic to pinpoint the architecture
parameters. This would considerably accelerate the while
process of FPGA design.
1
The model has been derived from an attempt to find out the
minimal number of inputs (I), necessary to provide for a 98%
of LB usage in the FPGA architecture. The average error
percentage, as reported by the authors of the model, is 10.1%
against a standard deviation of 7.6%.
TABLE I
LOGIC ARCHITECTURE OF FPGA IC FAMILIES,
MANUFACTURED BY XILINX AND ALTERA
Stratix III
Stratix II
Stratix
Cyclone
Cyclone II
Cyclone III
Virtex 5
Virtex 4
Virtex II
Virtex
Spartan 3
Parameter
10
16
16
10
32
16
32
32
48
23
36
36
26
38
44
10
In Betz & Rose works [3] and [4] derived the following
dependency between the necessary number of inputs (I) and N
if k = 4:
(2)
I 2 N 2
The authors show this is the right number of inputs I to get
a 98% usage of the logic resources in the logic block given
that k=4. Whats interesting in this case is that you can get a
100% usage when I ranges from 50% to 60% of the overall
number of BLE elements inputs. Similar results are reported
in the work of Fang & Rose [7], who explore the dependency
between the average number of used inputs per LB () out of
the overall number of BLEs (N) in a single LB. They derived
the following dependency:
(3)
0.88 N 3,2
This dependency is derived from a regression analysis with
the implementation of a 20x20 multiplier in a logic
architecture, wherein N varies from 1 to 17 and k = 4. The
square of the deduced correlation coefficient for regression
dependency (3) is 0,994, which confirms its linear nature. The
authors believe this survey is representative and covers the
needs of a wide circle of schemes implemented in FPGA logic
architecture.
The three models presented above are based on
experimental research with different extent of representation.
Most representative is the study of Ahmed [1], wherein k is
included, apart from N. In this particular research N varies
from 1 to 10, and k varies from 2 to 7, which makes a total of
60 different architectures. 28 standard test schemes are
implemented in each of these 60 architectures. The parameter
I is also configured (changes) in the range from 1 to kN. The
purpose is to find what I can get you 98% of usage of the
resources in the logic block.
The other two studies do not aim at deriving a
representative model for specifying the necessary number of
inputs I per LB and the proposed models cannot be used as
Circuit Netlist
(.blif)
Logic Optimization
(SIS)
Logic
Architecture
Mapping
(FlowMap + FlowPack)
k, N, I
Packing
(TV-Pack)
N, I
Routing
Architecture
XML
Description
End
0,5
Log(k)
1,5
p
I au k au au N au k N au
N
(9)
2,5
2,5
y = 0,6673x + 0,6167
R2 = 0,9772
kau
Log(C)
1,5
y = 0,7814x + 0,4591
R 2 = 0,9649
0,5
0
1
1
4 k
0,5
1,5
Log(N)
2,5
3,5
3,5
25
y = 0,9976x + 0,0017
R2 = 1
20
Nau
Log(B)
2,5
15
1,5
10
1
y = 0,993x + 0,0275
R2 = 0,9999
0,5
0
0
1
11
16
21
ACKNOWLEDGEMENT
This paper is financed by project: Creative Development
Support of Doctoral Students, Post-Doctoral and Young
Researches in the Field of Computer Science, BG 051PO0013.3.04/13, EUROPEAN SOCIAL FUND 20072013.
OPERATIONAL PROGRAMME HUMAN RESOURCES
DEVELOPMENT
Log(N)
0
0,5
1,5
2,5
3,5
4,5
50
y = 0,7644x + 1,5195
45
R = 0,8942
3,5
40
2,5
30
25
Log(P)
35
Iau
REFERENCES
1,5
20
15
10
0,5
y = 1,1524x + 4,672
R2 = 0,5833
0
1
N 11
16
21
0,5
Log(N) (k = 4)
1,5
2
2,5
3,5
4,5
45
y = 0,7879x + 1,492
R2 = 0,9729
40
4
3,5
35
Iau
2,5
25
20
Log(P)
30
1,5
15
10
y = 1,2455x + 4,171
R2 = 0,7897
0,5
0
0
0
10 N (k = 4) 15
20
25
[1] Ahmed E., The Effect of LUT and Cluster Size on DeepSubmicron FPGA Performance and Density, University of
Toronto, 2001
[2] Betz V. et All, VPR and T-VPack1 Users Manual, University
of Toronto 2008.
[3] Betz V. and Rose J., Cluster-Based Logic Blocks for FPGAs:
Area-Efficiency vs. Input Sharing and Size, IEEE Custom
Integrated Circuits Conference, Santa Clara, CA, 1997, pp. 551554.
[4] Betz V. and Rose J., How Much Logic Should Go in an FPGA
Logic Block?, IEEE Design and Test Magazine, Spring 1998,
pp. 10-15.
[5] Christie P. and D. Stroobandt, The interpretation and
application of Rents rule, IEEE Trans. VLSI Syst. (Special
Issue on System- Level Interconnect Prediction), vol. 8, no. 6,
pp. 639648, Dec. 2000.
[6] Davis J., V. K. De, and J. D. Meindl, A stochastic wire-length
distribution for gigascale integration (GSI)Part I: Derivation
and validation, IEEE Trans. Electron Dev., vol. 45, no. 3, pp.
580589, 1998.
[7] Fang W., A Modeling Routing Demand for Early-Stage FPGA
Architecture, Master Thesis, University of Toronto, 2007.
[8] Kukenska V., P. Minev, A Study into the Interconnections of
Parameters in the Logic Architecture of FPGA Devices,
ETRAN2010, Serbia.
[9] Lam A. et All, An Analitical Model Describing the
Relationships between Logic Architecture and FPGA Density,
[10] Sentovich E.M. et All., SIS: A System for Sequential Circuit
Analysis, Tech. Report No. UCB/ERL M92/41, University of
California, Berkeley, 1990.
[11] Yang S., Logic Synthesis and Optimization Benchmarks,
Version 3.0, Tech. Report, Microelectronics Centre of North
Carolina, 1991.