Skip to content

fayizferosh/KWS-ha

Repository files navigation

MelKWS_Engine

MelKWS Engine

Static Badge Static Badge Static Badge GitHub last commit GitHub language count GitHub top language GitHub repo size GitHub code size in bytes GitHub repo file count (file type) License UPRJ_CI Caravel Build

A simple and resource efficient hardware accelerator designed specifically for Keyword Spotting (KWS) applications using log-mel spectrograms as the audio feature extractor.

Architecture

Description

  1. Input:

    • The input audio stream is sampled at a specific frequency, such as 16 kHz.
    • Each audio frame consists of a fixed number of samples.
  2. Log-Mel Spectrogram Computation:

    • Implement a lightweight log-mel spectrogram computation module to extract features from the input audio stream.
  3. Keyword Detection:

    • The accelerator should detect the presence or absence of a single predefined keyword or command based on the computed log-mel spectrograms.
  4. Output:

    • Provide a mechanism to indicate the presence or absence of the keyword in the input audio stream.
    • Output a binary flag signal indicating the presence or absence of the keyword.
❗ Important Note

Forked from the Caravel User Project

Refer to README for a quickstart of how to use caravel_user_project

Refer to README for this sample project documentation.

Refer to the following readthedocs for how to add cocotb tests to your project.

About

My design of a simple KWS (Key Word Spotting) hardware accelerator designed by generative AI for efabless 4th GenAI design contest.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published