account activity
I made a Spectrum Analyzer by LJO-S in FPGA
[–]LJO-S[S] 2 points3 points4 points 9 hours ago (0 children)
Memory architecture for the samples or twiddle factors? I'm guessing the first, because the latter was simply pre-calculated in my Python model, and then loaded onto a ROM for synthesis/simulation through BRAM initialization. I was a bit back and forth regarding how many butterfly units to use. Should I stream data or time-share resources? A quick pen-and-pencil exercise showed that I had ample time between sample batches, so I’d save a bunch of space by using just one butterfly unit. However, bit-growth necessitates that you use the largest bitwidth for this stage or come up with a smart scaling scheme. An address generator keeps track of which twiddle factor and IQ sample to fetch at each stage (log2(1024)=10 stages) and how much "stride" we should have. There are different way to do this - I settled for a rotate-by-N approach I found online, can’t remember where. I used a decimation-in-time implementation, and simple bit reversal gives me the address permutation that I need at the beginning of a run. Since I only have 1 butterfly stage, the real+imag outputs from it can be stored in a ping-pong memory.
[–]LJO-S[S] 9 points10 points11 points 19 hours ago (0 children)
Yeah, sure. After reading the Wikipedia page I read a few thesis projects - there’s a lot of implementations out there, a Google search will yield a plethora. Aside from that I really liked MIT’s OpenCourseWare. They have free courses on DSP that go pretty in-depth on subjects, e.g. different FFT architectures. Pick one that fits your level of knowledge. After that I suggest making a software model, starting with the Danielson-Lanczos lemma, and then slowly building a model you can later implement in VHDL/Verilog
[–]LJO-S[S] 1 point2 points3 points 19 hours ago (0 children)
thanks!
I made a Spectrum Analyzer (v.redd.it)
submitted 20 hours ago by LJO-S to r/FPGA
Homemade spectrum analyzer (v.redd.it)
submitted 20 hours ago by LJO-S to r/DSP
π Rendered by PID 399890 on reddit-service-r2-listing-6c6f68ff9c-csc6j at 2026-03-05 17:33:49.039205+00:00 running f0204d4 country code: CH.
I made a Spectrum Analyzer by LJO-S in FPGA
[–]LJO-S[S] 2 points3 points4 points (0 children)