Академический Документы
Профессиональный Документы
Культура Документы
important. Partitioning is a ”key” approach in reducing the 1 1 1 0 .120 .096 .005 .840 0 1 1 0 0
connectivity between areas of the chip so that modules can be 0 0 1 0 .760 .473 .894 .001 1 0 0 1 1
more efficiently placed and routed to reduce wire-length, con-
gestion, and increase the speed of the overall design. Among Standard Mutation Operator
the different objectives that may be satisfied by the desired
partitioning are: One point crossover
Table 4. Benchmarks
Name Number of nets Number of modules Table 7. Performance results for Hardware GA and Software
(Nnets) (Nmods) GA for different population size
Pcb1 32 24 Benchmarks Population Software Hardware
Chip1 294 300 Size Time (ms) Time (ms)
Chip3 239 274
Pcb1 20 200 1.63
Nnets=32 60 700 4.82
Nmods=24 100 1100 7.20
Chip1 20 1700 40.50
Table 5. Default GA parameters Nnets=294 60 4900 122.25
Nmods=300 100 8800 203.60
Parameters Parameter value
Chip3 20 1200 23.23
Population Size 20 Nnets=239 60 3800 69.36
Generation Count 20 Nmods=274 100 5700 115.32
Crossover Rate 0.99
Mutation Rate 0.01
Crossover Type Uniform
Selection Type Tournament
Table 8. Synthesis Report
Tests were run assuming the clock frequency of 50MHz. Device Virtex xcv50e
The results obtained for different generation counts and popu- Slices 334 out of 768 (43%)
lation size are given in Table 6 and Table 7, respectively. The CLB’s 167
remaining GA parameters were assigned the default values Equivalent Gate Count 6044
given in Table 5. From the simulations results, it is clear that Max Clock Frequency 123 MHz
the hardware implementation is much faster than the software
Synthesis results are shown in Table 8. It is evident from [5] K. Skahill, VHDL for Programmable Logic, Addison
Table 8 that minimal hardware resources are utilized. Since Wesley, Reading, Massuchusetts, 1996.
the simulation results shown in Table 6 and Table 7 are ob-
[6] Stephen Donald Scott, “A hardware based genetic algo-
tained by assuming a 50 MHz clock frequency, the improve-
rithm”, Master’s thesis, University of Nebraska, August
ment in speed can be increased to more than 100 times the
1994.
software implementation with a maximum tolerable clock fre-
quency of 123 Mhz. [7] Tommi Rintala, “Hardware implementation of ga”,
September 20 2000.
5. CONCLUSIONS AND FUTURE WORK [8] Loring Wirbel, “Compression chip is first to use genetic
algorithms”, page 17, December 1984.
In this paper a new architecture for implementing the genetic
[9] PaulGraham and Brent Nelson, “A Hardware Ge-
algorithm in hardware is proposed. Although the architecture
netic Algorithm for the Travelling Salesman Problem on
is designed specifically to solve the circuit-partitioning prob-
Splash2”, 1995.
lem, some of the modules in the design can be re-used for
other problems as well. These include the Selection Module, [10] PaulGraham and Brent Nelson, “Genetic Algorithms
Crossover Module, the LFSR based random number genera- in Software and in Hardware- A performance Analysis
tor, and most of the Main Controller. The design takes into of workstation and custom Computing Machine Imple-
account the practical limitations of memory data bus imposed mentation”, in IEEE Symposium on FPGAs for cus-
by the memory chips available. In order to enable the use tom Computing Machines, pp. 216–225, Reconfigurable
of almost any memory chip along with the design, the de- Logic Laboratory, Brigham Young University, Provo,
sign uses configurable parameters (generics) which can eas- UT, USA, 1996.
ily change the memory address and data bus widths during [11] John R. Koza, Forrest h Bennett III, Stephen L Jef-
compilation time. The design was synthesized for a maxi- frey L, Martin A and David Andre, “Evolving Com-
mum clock frequency of 123 Mhz on Virtex xcv50e. At this puter Programs using Rapidly Reconfigurable Field-
frequency the design achieves more than 100 times improve- Programmable Gate Arrays and Genetic Programming”,
ment in processing speed over the software implementation. 1997.
There are many ways to extend the proposed design by
simple modifications to the VHDL code. This design was [12] Chatchawit and Prabhas, “A Hardware Implementation
used to solve two-way circuit partitioning problem with Tour- of compace Genetic Algorithm”, in Proceedings of the
nament Selection and Uniform crossover. Other Genetic Al- 2001 IEEE Congress on Evolutionary Computation, pp.
gorithm operators could be implemented like, multi-point cross- 624–629, Seoul, Korea, May 2001.
over, Partially Mapped crossover and different selection meth-
ods as well. The design can also be enhanced by incorporat-
ing a local search engine to create a hybrid memetic GA. The
chromosome representation used in this project requires a rel-
atively large amount of external memory to store the popula-
tion and netlist. Alternate chromosome representations can be
explored in order to reduce the memory requirements. Fur-
thermore, hardware/software co-design can be implemented
and it can be compared with current implementation.
6. REFERENCES