资源简介
使用verilog编写的精确cordic算法。专用在altera fpga上。有详细的注释,pdf文档以及testbench。
代码片段和文件信息
% ================================================================================
% Copyright (c) 2003 Altera Corporation San JoseCaliforniaUSA.
% All rights reserved.
%
% Permission is hereby granted free of charge to any person obtaining a copy of
% this software and associated documentation files (the “Software“) to deal in
% the Software without restriction including without limitation the rights to
% use copy modify mergepublish distribute sublicense and/or sell copies of
% the Software and to permit persons to whom the Software is furnished to do so
% subject to the following conditions:
%
% The above copyright notice and this permission notice shall be included in all
% copies or substantial portions of the Software.
%
% THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KINDEXPRESS OR
% IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY FITNESS
% FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
% COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY
% WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM OUT OF OR IN
% CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
%
% This agreement shall be governed in all respects by the laws of the State of
% California and by the laws of the United States of America.
%
% Altera does not recommend suggest or require that this reference design file be
% used in conjunction or combination with any other product.
% ================================================================================
%--
%-- Function : cordic
%-- File : cordic.m
%-- Created by : ksd
%--
%--Revision :
%--
%-- CORDIC Algorithm
%-- Bit accurate model of hardware implementation.
%-------------------------------------------------------------------------------
function [x_out y_out z_out inv_tan recip_gain] = cordic(disp_debug mode rem_gain ...
gain_design gain_comp_bit_ext x_in y_in z_in iter x_bits ...
y_bits z_bits)
%-- INPUTS
%-- disp_debug = 1 - display debug messages
%-- mode = Controls mode : 1- rotation mode 0-vectoring mode
%-- rem_gain = 1 => remove processing gain; 0 => leave processing gain
%-- gain_design = 0 - if performing fix pt operations then use real gain
%-- 1 - h/w model of gain compensation circuit using shifts and adds;
% 2 - h/w model of gain compensation circuit using multiplys;
% (1) and (2) useful as user may design a more accurate gain
% compensation circuit
%-- gain_comp_bit_ext = number of bits to extend gain compenation calculation
%-- by to improve accuracy.
%-- x_in = x value
%-- y_in = y value
%-- z_in = z value (angle in radians)
%-- number of iterations
%--
%-----------------------------------------------------------------------------
%--
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 0 2003-03-18 17:32 cordic\build\.cvskeep
文件 5131 2009-12-16 14:55 cordic\build\cordic.bak\cordic.psf
文件 589 2009-12-16 14:55 cordic\build\cordic.bak\cordic.quartus
文件 26 2009-12-16 17:34 cordic\build\cordic.done
文件 11954 2009-12-16 17:34 cordic\build\cordic.flow.rpt
文件 57763 2009-12-16 17:34 cordic\build\cordic.map.rpt
文件 134 2009-12-16 17:34 cordic\build\cordic.map.smsg
文件 464 2009-12-16 17:34 cordic\build\cordic.map.summary
文件 5131 2003-08-06 11:51 cordic\build\cordic.psf
文件 1307 2009-12-16 14:55 cordic\build\cordic.qpf
文件 5436 2009-12-16 17:34 cordic\build\cordic.qsf
文件 589 2003-08-06 11:38 cordic\build\cordic.quartus
文件 594 2009-12-16 17:50 cordic\build\cordic.qws
文件 42634 2009-12-16 14:55 cordic\build\cordic_assignment_defaults.qdf
文件 5305 2009-12-16 14:55 cordic\build\cordic_gain_corr.qsf
文件 6271 2009-12-16 14:55 cordic\build\db\altsyncram_gua1.tdf
文件 1825 2009-12-16 14:55 cordic\build\db\cmpr_adc.tdf
文件 4400 2009-12-16 14:55 cordic\build\db\cntr_17h.tdf
文件 4222 2009-12-16 14:55 cordic\build\db\cntr_bnf.tdf
文件 7958 2009-12-16 14:55 cordic\build\db\cordic.(0).cnf.cdb
文件 3980 2009-12-16 14:55 cordic\build\db\cordic.(0).cnf.hdb
文件 1483 2009-12-16 14:55 cordic\build\db\cordic.(1).cnf.cdb
文件 1050 2009-12-16 14:55 cordic\build\db\cordic.(1).cnf.hdb
文件 2786 2009-12-16 14:55 cordic\build\db\cordic.(10).cnf.cdb
文件 1055 2009-12-16 14:55 cordic\build\db\cordic.(10).cnf.hdb
文件 2816 2009-12-16 14:55 cordic\build\db\cordic.(2).cnf.cdb
文件 1549 2009-12-16 14:55 cordic\build\db\cordic.(2).cnf.hdb
文件 52473 2009-12-16 14:55 cordic\build\db\cordic.(3).cnf.cdb
文件 14014 2009-12-16 14:55 cordic\build\db\cordic.(3).cnf.hdb
文件 3905 2009-12-16 14:55 cordic\build\db\cordic.(4).cnf.cdb
............此处省略114个文件信息
- 上一篇:提升小波变换讲义
- 下一篇:Quartus II 13.1 (64-bit)破解工具
相关资源
- 基于FPGA的AES加密
- CPLD FPGA 课程设计报告
- 基于VHDL的FPGA串口通信
- FPGA1602程序
- 基于FPGA波形发生器和扫频信号发生器
- FPGA英文论文翻译 中文+英文
- FPGA实现MP3音乐播放
- 1588协议代码
- DAC 0832 驱动 FPGA
- SDLC协议的FPGA实现
- 康芯的fpga 开发板原理图
- 基于fpga设计vga图片显示.rar
- FPGA扇出问题
- xc7k325的FPGA板cadence原理图文件
- 基于FPGA的正交数控振荡器_NCO_的设计
- i2c的verilog实现
- 采用RAM实现计数器及FPGA功能
- fpga的万年历设计
- 智能垃圾桶fpga——可作为学期课设
- 基于FPGA的幅度和相位可调信号发生器
- Quartus II 13.0sp1破解license,几乎包含所
- 基于FPGA的红外收发代码
- 07年国赛数字示波器
- Modelsim-Altera-10.1d破解-免费可用版
- 基于FPGA设计地铁自动售票系统
- altera 原语手册
- 基于FPGA的简易数字存储示波器的设计
- Nexys4-DDR简介.pdf
- 基于FPGA的电子密码锁的设计
- FFT_XILINX实现
评论
共有 条评论