Lab 3: Audio Processing System #3

Merged
PickleRick merged 43 commits from LAB3 into main 2025-06-07 22:18:48 +02:00
Owner

Lab 3: Audio Processing System

File Name Already Written Working Check (100MHz) Check (180MHz) Has testbench Comments Finished and Ready
All_pass_filter
Balance_controller
Digilent_jstk2 🔶
Effect_selector
Led_controller
Led_level_controller
LFO
Moving_average_filter_en
Moving_average_filter
Mute_controller
Volume_controller
Volume_multiplier
Volume_saturator

️ : Done
: Not done
🔶 : Working on / Can be improved


Timing (180MHz)

Screenshot 2025-05-31 120951.png


Domande

  • Effect_selector: quando premo il pulsante per cambiare freq. dell'LFO il volume deve resettarsi? e vice-versa?
  • LFO: funziona in maniera molto diverse dal loro
  • Moving Average Filter : dobbiamo fare media per canale dx e sx separate? ->
  • Digilent jstk: dobbiamo mandare un'altro dummy byte per perdere i 200us o basta aumentare il delay a 225us?
  • Reset: va implementato anche se non serve/non funziona?
# Lab 3: Audio Processing System | File Name | Already Written | Working | Check (100MHz) | Check (180MHz) | Has testbench | Comments |Finished and Ready | |-----------|:--------------:|:-------:|:-------:|:-------:|:-------:|:-------:|:------------------:| | All_pass_filter | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | | Balance_controller | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | | Digilent_jstk2 | ✅️ | ✅️ | ✅️ | ✅️ | 🔶 | ✅️ | ✅️ | | Effect_selector | ✅️ | ✅️ | ✅️ | ✅️ | ❌ | ✅️ | ✅️ | | Led_controller | ✅️ | ✅️ | ✅️ | ✅️ | ❌ | ✅️ | ✅️ | | Led_level_controller | ✅️ | ✅️ | ✅️ | ✅️ | ❌ | ✅️ | ✅️ | | LFO | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | | Moving_average_filter_en | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | | Moving_average_filter | ✅️ | ✅️ | ✅️ | ✅️ |✅️ | ✅️ | ✅️ | | Mute_controller | ✅️ | ✅️ | ✅️ | ✅️ | ❌ | ✅️ | ✅️ | | Volume_controller | ✅️ | ✅️ | ✅️ | ✅️ | ❌ | ✅️ | ✅️ | | Volume_multiplier | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | ✅️ | | Volume_saturator | ✅️ | ✅️ | ✅️ | ✅️ |✅️ | ✅️ | ✅️ | ✅️ : Done ❌ : Not done 🔶 : Working on / Can be improved _________________ ## Timing (180MHz) ![Screenshot 2025-05-31 120951.png](/attachments/92bfdac9-9e86-4ad6-b992-3e17c9a72ec8) _________________ ## Domande - [x] **Effect_selector**: quando premo il pulsante per cambiare freq. dell'LFO il volume deve resettarsi? e vice-versa? - [x] **LFO**: funziona in maniera molto diverse dal loro - [x] **Moving Average Filter** : dobbiamo fare media per canale dx e sx separate? -> **Sì** - [x] **Digilent jstk**: dobbiamo mandare un'altro dummy byte per perdere i 200us o basta aumentare il delay a 225us? - [x] **Reset**: va implementato anche se non serve/non funziona?
PickleRick added 15 commits 2025-05-21 11:26:13 +02:00
- Updated the date in the diligent_jstk_wrapper.vhd file.
- Modified the testbench (tb_digilent_jstk2.vhd) to ensure proper data transmission and added a delay to simulate real response time.
- Adjusted the digilent_jstk2.vhd file to refine the state machine logic for sending and receiving data, including a new IDLE state and improved handling of the SPI communication.
- Enhanced uart_viewer.py to automatically detect the Basys3 board's serial port, improving user experience and reducing configuration errors.
- Updated the Vivado project file (diligent_jstk.xpr) to reflect changes in simulation and synthesis settings, ensuring compatibility with the latest design updates.
- Created `tb_volume_multiplier_behav.wcfg` for waveform configuration of the volume multiplier testbench.
- Added `volume_multiplier.xpr` project file for the volume multiplier design.
- Created `volume_saturator.xpr` project file for the volume saturator design.
- Added `volume_saturator_tb_behav.wcfg` for waveform configuration of the volume saturator testbench.
PickleRick added 1 commit 2025-05-21 20:37:58 +02:00
PickleRick added 1 commit 2025-05-22 11:23:18 +02:00
PickleRick added 1 commit 2025-05-22 16:40:31 +02:00
PickleRick added 1 commit 2025-05-23 11:12:20 +02:00
PickleRick added 1 commit 2025-05-23 12:49:57 +02:00
PickleRick added 1 commit 2025-05-23 16:36:20 +02:00
- Updated lab_3.bda to correct node connections and attributes.
- Enhanced LFO.vhd with improved signal handling and clamping logic.
- Modified all_pass_filter.vhd to ensure proper data transfer.
- Adjusted balance_controller.vhd to incorporate reset logic in signal assignments.
- Cleaned up effect_selector.vhd by removing unnecessary assignments.
- Improved led_level_controller.vhd for better readability and functionality.
- Refined moving_average_filter_en.vhd to streamline AXIS assignments.
- Enhanced mute_controller.vhd for clearer data flow management.
- Updated lab3.xpr to correct file paths and simulation settings.
PickleRick added 1 commit 2025-05-23 17:06:04 +02:00
PickleRick added 1 commit 2025-05-26 14:08:25 +02:00
PickleRick added 1 commit 2025-05-26 17:46:45 +02:00
PickleRick added 1 commit 2025-05-26 18:09:54 +02:00
PickleRick added 1 commit 2025-05-26 18:41:56 +02:00
PickleRick added 1 commit 2025-05-27 14:19:02 +02:00
PickleRick added 1 commit 2025-05-27 16:03:52 +02:00
PickleRick added 1 commit 2025-05-27 17:42:57 +02:00
Author
Owner

ALL PASS FILTER:

  • commento riga 8 non mi sembra necessario (non capisco il suo scopo per questo progetto)

BALANCE CONTROLLER:

  • commento riga 58-> cambierei la parola "knob" con "jstk" o direttamente "joystick"

LED CONTROLLER:

  • nessun commento, bella la tabella di verità finale

LFO_1:

  • commento riga 4 da eliminare e probabilmente anche riga 5 -> Erano i commenti di default che mi sono dimenticato di togliere
  • Domanda: LFO_1 è senza pipeline e LFO è con pipeline giusto? -> Sì, esatto

VOLUME SATURATOR:

  • commento da riga 119 a 122 non so se conviene metterlo, perché ripete le cose che ha detto nella lista numerata del "Saturation purpose e benefit" al contrario (quindi come aspetti negativi del non avere questo blocco).
**ALL PASS FILTER:** - [x] commento riga 8 non mi sembra necessario (non capisco il suo scopo per questo progetto) **BALANCE CONTROLLER:** - [x] commento riga 58-> cambierei la parola "knob" con "jstk" o direttamente "joystick" **LED CONTROLLER:** - [x] nessun commento, bella la tabella di verità finale **LFO_1:** - [x] commento riga 4 da eliminare e probabilmente anche riga 5 -> **Erano i commenti di default che mi sono dimenticato di togliere** - [x] Domanda: LFO_1 è senza pipeline e LFO è con pipeline giusto? -> **Sì, esatto** **VOLUME SATURATOR:** - [x] commento da riga 119 a 122 non so se conviene metterlo, perché ripete le cose che ha detto nella lista numerata del "Saturation purpose e benefit" al contrario (quindi come aspetti negativi del non avere questo blocco).
PickleRick added 1 commit 2025-05-28 18:06:17 +02:00
- comments
- new DELAY_CLK_CYCLES formula
PickleRick added 1 commit 2025-05-28 19:28:28 +02:00
PickleRick added the due date 2025-06-05 2025-05-28 19:30:56 +02:00
PickleRick added 1 commit 2025-05-30 13:54:44 +02:00
PickleRick added 2 commits 2025-05-30 14:32:40 +02:00
- Updated .gitignore to exclude virtual environment and additional test files.
- Modified diligent_jstk.bd to reorganize interface nets for clarity.
- Adjusted diligent_jstk.bda to correct node attributes and edges.
- Revised diligent_jstk_wrapper.vhd to ensure proper port declarations.
- Enhanced uart_viewer.py for improved image handling and serial connection checks.
- Updated diligent_jstk.xpr and lab3.xpr for correct file paths and run configurations.
- Added requirements.txt to specify project dependencies for Python packages.
PickleRick added 1 commit 2025-05-30 19:31:52 +02:00
PickleRick added 1 commit 2025-05-30 21:25:31 +02:00
PickleRick added 2 commits 2025-05-31 19:24:51 +02:00
- LFO <-> LFO_1
- Effect Selector
- modify led_level_controller (1)
PickleRick added 1 commit 2025-06-01 01:53:57 +02:00
PickleRick added 1 commit 2025-06-01 18:28:58 +02:00
PickleRick added 1 commit 2025-06-03 14:55:36 +02:00
- add led_level_controller Const
PickleRick added 1 commit 2025-06-03 17:18:52 +02:00
PickleRick added 1 commit 2025-06-03 18:51:06 +02:00
PickleRick merged commit 1109f8b130 into main 2025-06-07 22:18:48 +02:00
PickleRick deleted branch LAB3 2025-06-07 22:18:48 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
2025-06-05
Dependencies

No dependencies set.

Reference: PickleRick/DESD#3