Cov txheej txheem:

Cordic Algorithm Siv VHDL: 4 Cov Kauj Ruam
Cordic Algorithm Siv VHDL: 4 Cov Kauj Ruam

Video: Cordic Algorithm Siv VHDL: 4 Cov Kauj Ruam

Video: Cordic Algorithm Siv VHDL: 4 Cov Kauj Ruam
Video: GrrCON 2012 - Крис Робертс - По земле, по морю, по воздуху 2024, Hlis ntuj nqeg
Anonim

Los ntawm AmCoderhttps://www.linkedin.com/in/mituFollow Ntxiv los ntawm tus sau:

Tsim Kev Sib Txuas FIFO, LIFO/Stack hauv Verilog
Tsim Kev Sib Txuas FIFO, LIFO/Stack hauv Verilog
Tsim Kev Sib Txuas FIFO, LIFO/Stack hauv Verilog
Tsim Kev Sib Txuas FIFO, LIFO/Stack hauv Verilog
Video cuam tshuam nrog FPGA Siv VGA
Video cuam tshuam nrog FPGA Siv VGA
Video cuam tshuam nrog FPGA Siv VGA
Video cuam tshuam nrog FPGA Siv VGA
Synchronisers, Clock Domain Crossing, Clock Generators, Edge Detectors, Ntau Ntxiv - Qhov tseem ceeb Tweak Circuits
Synchronisers, Clock Domain Crossing, Clock Generators, Edge Detectors, Ntau Ntxiv - Qhov tseem ceeb Tweak Circuits
Synchronisers, Clock Domain Crossing, Clock Generators, Edge Detectors, Ntau Ntxiv - Qhov tseem ceeb Tweak Circuits
Synchronisers, Clock Domain Crossing, Clock Generators, Edge Detectors, Ntau Ntxiv - Qhov tseem ceeb Tweak Circuits

Txog: Mitu Raj - Tsuas yog tus nyiam thiab kawm - Chip Designer - Software Developer - Physics thiab Mathematics Enthusiast Ntau Ntxiv Txog AmCoder »

## Qhov no yog qhov tau nyem ntau tshaj plaws, txuas hauv Google rau VHDL kev siv CORDIC ALGORITHM los tsim sine thiab cosine yoj ## Tam sim no lub sijhawm, ntau lub khoos phis tawj muaj txiaj ntsig zoo nyob ua ke, tab sis cov no tsis paub zoo vim yog kev tswj hwm ntawm software software tshaj ntau xyoo. CORDIC yog cov txheej txheem uas tsis muaj dab tsi tab sis teeb tsa kev hloov pauv thiab ntxiv cov laj thawj siv rau kev suav ntau yam ntawm kev ua haujlwm suav nrog qee yam trigonometric, hyperbolic, linear thiab logarithmic functions. Qhov no yog cov txheej txheem siv hauv cov laij lej thiab lwm yam. Vim li no nws tuaj yeem tsim los ua qauv RTL liab qab hauv VHDL lossis Verilog yam tsis siv ib qho khoom siv tshwj xeeb ntab ntab lossis lej lej nyuaj.

Kauj ruam 1: VHDL thiab Modelsim

Nov yog cov txheej txheem txheej txheem siv los siv VHDL los tsim kom muaj lub sine wave thiab cose wave. Nws tuaj yeem tso tawm sine thiab cosine ntawm lub kaum sab xis ntawm qhov ua tau zoo. Cov cai yog tsim los ntawm FPGA. Modelsim yog siv los simulate tus tsim thiab lub rooj zaum ntsuas.

Kauj Ruam 2: VHDL Txoj Cai rau Kev Tsim thiab Xeem Lub Rooj Sib Tham

VHDL Txoj Cai rau Kev Tsim thiab Xeem Lub Rooj Sib Tham
VHDL Txoj Cai rau Kev Tsim thiab Xeem Lub Rooj Sib Tham

Binary scaling txheej txheem yog siv los sawv cev rau tus lej ntab ntab.

Thov mus hla cov ntaub ntawv txuas ua ntej koj ua code.

Mus thruSimulating cordic_v4.vhd - Tus Tsim -Qhov tswv yim yog lub kaum sab xis hauv 32 khoom + kos npe me ntsis; nws tuaj yeem ua txhua lub kaum sab xis ntawm 0 txog +/- 360 degree nrog cov lus qhia meej ntawm 0.000000000233 degree. Thaum muab cov tswv yim -> MSB yog tus cim me ntsis thiab seem 32 cov khoom sawv cev rau qhov loj. -Cov khoom tsim tawm yog nws cov sine thiab cos tus nqi hauv 16 khoom + kos npe me ntsis.ie; nrog qhov tseeb 0.00001526. Thov nco ntsoov tias cov zis tso tawm hauv 2 daim ntawv qhuas yog tias qhov sib xws sine lossis cos tus nqi tsis zoo. Simulating testb.vhd - Xeem Lub Rooj Rau Tus Tsim (1) Cov ces kaum nkag thiab rub rov pib dua = '0'. Tom qab ob kauj ruam ntawm kev sim rub rub rov qab mus rau '1' thiab "khiav tag nrho". (2) Hauv qhov simulation qhov rai teeb tsa lub radix ntawm kev txhaum thiab cos cov cim ua lej thiab hom ntawv> Analog (tsis siv neeg). (3) Zoom tawm kom pom cov nthwv dej kom raug.

Kauj ruam 3: Cov ntaub ntawv txuas nrog

(1) cordic_v4.vhd - Tsim. (2) testb.vhd - Kuaj lub rooj zaum rau tus tsim.

(3) Cov ntaub ntawv yuav ua li cas yuam kom lub kaum sab xis nkag thiab hloov pauv cov txiaj ntsig binary.

Hloov tshiab: Cov ntaub ntawv no yog qhov tseeb thiab tsis tau muab qhia ib qho ntxiv. THOV NYEEM NTAWV QHIA NTAWV NTAWV NTAWV NTAWV

Kauj Ruam 4: Mini -Cordic IP Core - 16 Ntsis

Txwv tsis pub siv los saum toj no yog qeeb, qis dua zaus ntawm kev ua haujlwm vim tias ua cov lej hauv ib lub moos ib zaug. Mini-Cordic IP Core- 16 Ntsis

- Txoj hauv kev tseem ceeb faib rau ntau yam kev mus los txhawm rau txhim kho kev ua tau zoo.- Sai dua- FPGA pov thawj tsim qauv sib sau ua ke txog 100 Mhz moos.- Ntau thaj chaw tau ua kom zoo dua hauv HDL, Cov cuab yeej siv qis dua.- Thauj khoom thiab Ua tiav Cov xwm txheej teeb liab ntxiv.- Tsuas yog qhov qis dua qhov kev daws teeb meem tsawg dua piv rau yav dhau los. Testbench:

ua kom tiav ntawm 0 txog 360 degree lub kaum sab xis nkag

Cov ntaub ntawv txuas nrog: 1) mini cordic main vhdl file2) mini cordic test bench 3) Mini Cordic IP Core phau ntawv qhia 4) Doc txog yuav ua li cas yuam kom cov ces kaum thiab hloov cov txiaj ntsig

Rau ib qho lus nug, thov hu rau kuv:

Muj Raj

ua raws kuv:

email: [email protected]

### Tag nrho rub tawm: 325 raws li txog rau 01-05-2021 ###

### Txoj cai kho zaum kawg: Lub Xya Hli-07-2020 ###

Pom zoo: