Coder Social home page Coder Social logo

audiy / fir_x2 Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 20.71 MB

FPGA based PCM oversampling FIR filter.

License: CERN Open Hardware Licence Version 2 - Weakly Reciprocal

Verilog 100.00%
audio-processing digital-filter digital-signal-processing fpga verilog dsp fir-filter

fir_x2's Introduction

FIR_x2

FPGA based PCM oversampling FIR filter (oversample ratio: 2).

Japanese Page

Summary

https://audio-diy.hatenablog.com/entry/FIR_x2_summary

How to Use

https://audio-diy.hatenablog.com/entry/FIR_x2_howtouse

Usage

Simulation

  1. Compile each module and <module_name>_tb.v (memory initialization file & test signals are necessary on some modules).
  2. Start Simulation.

Real Machine

  1. Add all modules (except <module_name>_tb.v other than test bench for DUT) and memory initialization file into your project.
  2. Change parameters depending on your audio data settings (ex. MCLK frequency, BCK frequency).
  3. Synthesize, place & route to your FPGA.
  4. Confirm actual operation.

Notes

  1. Single-Port ROM (SPROM.v) & Simple Dual-Port RAM (SDPRAM_SINGLECLK.v) are provided but it is recommended to use each-vendor official IP.
  2. FIR filter length must be equals to (MCLK_I frequency)/(Sampling frequency)
  3. Test benches are used on Questa - Intel FPGA Starter Edition. So there are no stop command in them.
  4. This project includes asynchronous design now. The author will try to make this completely synchronous design.

Verified Devices

  1. Efinix T20F256I4 on Trion T20 BGA256 Development Kit( https://www.efinixinc.com/products-devkits-triont20.html )
  2. Intel MAX10 10M50DAF484C7G on terasIC DE10-Lite ( https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&No=1021 )
  3. Intel Cyclone IV E EP4CE22F17C6N on terasIC DE0-Nano ( https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=165&No=593#contents )
  4. Gowin Arora GW2A-LV18PG256C8/I7 on Sipeed Tang Primer 20K & Dock ext-board ( https://wiki.sipeed.com/hardware/en/tang/tang-primer-20k/primer-20k.html )

Examples

  1. Oversample_x2_DE10Lite.qar for DE10-Lite & Quartus-Prime Lite v22.1 ( https://github.com/AUDIY/FIR_x2/tree/main/10_Example/01_DE10-Lite )
  2. Oversample_x2_T20F256DevKit.zip for T20F256 Dev Kit & Efinity IDE v2023.1.150.6.14 ( https://github.com/AUDIY/FIR_x2/tree/main/10_Example/02_T20F256DevKit )
  3. Oversample_x2_DE0Nano.qar for DE0-Nano & Quartus-Prime Lite v22.1 ( https://github.com/AUDIY/FIR_x2/tree/main/10_Example/03_DE0-Nano )
  4. Oversample_x2_Tang_Primer_20K.gar for Tang Primer 20K & Gowin EDA v1.9.8.11 Education ( https://github.com/AUDIY/FIR_x2/tree/main/10_Example/04_Tang_Primer_20K )

License

Copyright AUDIY 2023.

This source describes Open Hardware and is licensed under the CERN-OHL-W v2

You may redistribute and modify this documentation and make products using it under the terms of the CERN-OHL-W v2 (https:/cern.ch/cern-ohl).

This documentation is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR PURPOSE. Please see the CERN-OHL-W v2 for applicable conditions.

Source location: https://github.com/AUDIY/FIR_x2

As per CERN-OHL-W v2 section 4.1, should You produce hardware based on these sources, You must maintain the Source Location visible on the external case of the FIR_x2 or other product you make using this documentation.

fir_x2's People

Contributors

audiy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.