Git Product home page Git Product logo

fpga-fft's People

Contributors

gabriel-tenma-white avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fpga-fft's Issues

'fft4_large_scale_div_sqrt_n' is not defined

Hi, first thanks for your work!
I tried to use it, but I found a problem when try to run the generator:

$ ./gen_fft.py fft fft1024_wide                                                                                                      
Traceback (most recent call last):
  File "./gen_fft.py", line 8, in <module>
    from gen_fft_layouts import *
  File "/fpga-fft/codegen/gen_fft_layouts.py", line 119, in <module>                                                                                          
    fft4_large_scale_div_sqrt_n),
NameError: name 'fft4_large_scale_div_sqrt_n' is not defined

This value is not defined in the gen_fft_layouts.py code.

Best!

I always get an AssertionError

I fixed the "fft4_large_scale_div_sqrt_n is not defined" issue by assigning a default value as I do not want to use it.

Now I wanted to generate the fft core by using this command:
./gen_fft.py fft INSTANCE_TO_GENERATE

Regardless of which INSTANCE_TO_GENERATE I use, I get an AssertionError.

I added some prints to the gen_fft_modules.py file.

line 222:	class FFT4Step:
line 223:		def __init__(self, N, sub1, sub2, multiplier=defaultMult, twiddleBits='twBits'):
line 224:		print("N = ", N)
line 225:		print("sub1 = ", sub1.N)
line 226:		print("sub2 = ", sub2.N)
line 227:		assert N == (sub1.N*sub2.N)

Here is the error log:

./gen_fft.py fft fft256
('N = ', 16)
('sub1 = ', 4)
('sub2 = ', 4)
('N = ', 16)
('sub1 = ', 4)
('sub2 = ', 4)
('N = ', 16)
('sub1 = ', 4)
('sub2 = ', 4)
('N = ', 8)
('sub1 = ', 4)
('sub2 = ', 2)
('N = ', 32)
('sub1 = ', 8)
('sub2 = ', 4)
('N = ', 16)
('sub1 = ', 4)
('sub2 = ', 4)
('N = ', 64)
('sub1 = ', 16)
('sub2 = ', 4)
('N = ', 64)
('sub1 = ', 16)
('sub2 = ', 4)
('N = ', 64)
('sub1 = ', 16)
('sub2 = ', 4)
('N = ', 16)
('sub1 = ', 4)
('sub2 = ', 4)
('N = ', 8)
('sub1 = ', 4)
('sub2 = ', 4)
Traceback (most recent call last):
  File "./gen_fft.py", line 8, in <module>
    from gen_fft_layouts import *
  File "/media/soc/Volume/master-thesis/ft_cores/fpga-fft/fft-core/codegen/gen_fft_layouts.py", line 135, in <module>
    fft4_scale_none));
  File "/media/soc/Volume/master-thesis/ft_cores/fpga-fft/fft-core/codegen/gen_fft_modules.py", line 227, in __init__
    assert N == (sub1.N*sub2.N)
AssertionError

Am I doing something wrong here?
How can I solve the issue?

I would appreciate an answer.
Best regards

a question

Why is the barrelshift module called in transposer_adder_gen not exist, what is the parameter in the barrelshift ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.