OpenCores
URL https://opencores.org/ocsvn/yac/yac/trunk

Subversion Repositories yac

[/] [yac/] [trunk/] [c_octave/] [cordic_iterative_single.m] - Blame information for rev 8

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 8 feddischso
 
2
cordic_iterative_setup
3
input = [ -36 103 0 110 -1 248 8  ]
4
[ rx, ry, ra, it ] = cordic_iterative( input(1),    ...
5
                                       input(2),    ...
6
                                       input(3),    ...
7
                                       input(7),        ...
8
                                       XY_WIDTH,    ...
9
                                       ANGLEWIDTH,  ...
10
                                       GUARDBITS,   ...
11
                                       RM_GAIN )
12
 
13
% open output file
14
tb_fid = fopen( TB_FILE, 'w' );
15
 
16
write_tb( tb_fid,
17
  input( 1 ),
18
  input( 2 ),
19
  input( 3 ),
20
  rx,
21
  ry,
22
  ra,
23
  input( 7 ) );
24
 
25
fclose( tb_fid )

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.