hsdsl lab final presentation cordic implementation on fpga winter 2013-14

21
HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14 supervisor Moni Orbach Students : Or Rotem Malachi Levi

Upload: leonard-meyer

Post on 03-Jan-2016

21 views

Category:

Documents


2 download

DESCRIPTION

HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14. supervisor Moni Orbach. Students: Or Rotem Malachi Levi. overview. Project process: Understanding the algorithm Architecture examination Golden model – C lang Simulation environment buildup Coding - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

HSDSL Lab

final presentation CORDIC implementation on FPGA

winter 2013-14

supervisorMoni Orbach

Students:Or Rotem Malachi Levi

Page 2: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

overviewProject process:

Understanding the algorithmArchitecture examinationGolden model – C langSimulation environment buildup CodingSimulation Synthesis

Page 3: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Theory

Page 4: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Block diagram

לחישוב בלוקσ

התוספת סימן

לחישוב בלוקהתוצאה

לחישוב בלוקσ

התוספת סימן

לחישוב בלוקהתוצאה

Page 5: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

compareThis block compares the current angle with

the desired oneIncrement the current angle according the

result

Page 6: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

calculatePerform the matrix calculationUses the result from the compare block

Page 7: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

LUTLut is Decimal at it’s source – conversion to

binary took place according to architecture needs

Page 8: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Simulation environment

Page 9: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

SynthesisChip: Cyclon llSynthesizer: quartos 12.1

Page 10: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Synthesis issuesThe design was modified for resources

optimizationPin planner was done and led was programed

to show calculation result – counter clock

Page 11: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Synthesis statists

The resources usage is approx. the same as the Altera build in block

Page 12: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Clk frequency ~120MHz

Limited by longest path Was improved dramatically over the processThe pipeline is improving the frequency by

~30 times

System Latency is 30 clk cycles

Page 13: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Pipeline appearance

Page 14: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Usage of the cyclon2 logic and cell and registers

Page 15: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Cyclone 2 vs cyclone 3

Page 16: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Signal TapThe results was checked and found correctExpected vals came from the simulation

environmentThis is the way to test the “real” system

output

Page 17: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Summery & conclusionsArchitectureSimulation environmentHigh level coding not always come in one

hand with FPGAOther synthesis programs might give better

resultsimportance of clk frequency

Page 18: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

end

Page 19: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Appendix – the codecalculate

Page 20: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14

Appendix – the codecompare

Page 21: HSDSL Lab final presentation CORDIC implementation on FPGA winter 2013-14