Add initial implementations for various audio processing components
- Created LFO entity for low-frequency oscillation control. - Added all_pass_filter entity for signal processing. - Implemented balance_controller for audio balance adjustments. - Developed debouncer to stabilize input signals. - Introduced digilent_jstk2 for joystick data handling. - Added edge_detector_toggle for edge detection functionality. - Created effect_selector to manage audio effects based on joystick input. - Implemented jstk_uart_bridge for communication between joystick and UART. - Developed led_controller for LED management. - Introduced led_level_controller for controlling multiple LEDs. - Created moving_average_filter for smoothing input signals. - Added moving_average_filter_en with enable functionality. - Implemented mute_controller to handle mute functionality. - Developed volume_controller for volume adjustments. - Introduced volume_multiplier for scaling audio signals. - Created volume_saturator to ensure audio signals stay within bounds.
This commit is contained in:
40
LAB3/src/LFO.vhd
Normal file
40
LAB3/src/LFO.vhd
Normal file
@@ -0,0 +1,40 @@
|
||||
library IEEE;
|
||||
use IEEE.STD_LOGIC_1164.ALL;
|
||||
|
||||
-- Uncomment the following library declaration if using
|
||||
-- arithmetic functions with Signed or Unsigned values
|
||||
use IEEE.NUMERIC_STD.ALL;
|
||||
|
||||
entity LFO is
|
||||
generic(
|
||||
CHANNEL_LENGHT : integer := 24;
|
||||
JOYSTICK_LENGHT : integer := 10;
|
||||
CLK_PERIOD_NS : integer := 10;
|
||||
TRIANGULAR_COUNTER_LENGHT : integer := 10 -- Triangular wave period length
|
||||
);
|
||||
Port (
|
||||
|
||||
aclk : in std_logic;
|
||||
aresetn : in std_logic;
|
||||
|
||||
lfo_period : in std_logic_vector(JOYSTICK_LENGHT-1 downto 0);
|
||||
|
||||
lfo_enable : in std_logic;
|
||||
|
||||
s_axis_tvalid : in std_logic;
|
||||
s_axis_tdata : in std_logic_vector(CHANNEL_LENGHT-1 downto 0);
|
||||
s_axis_tlast : in std_logic;
|
||||
s_axis_tready : out std_logic;
|
||||
|
||||
m_axis_tvalid : out std_logic;
|
||||
m_axis_tdata : out std_logic_vector(CHANNEL_LENGHT-1 downto 0);
|
||||
m_axis_tlast : out std_logic;
|
||||
m_axis_tready : in std_logic
|
||||
);
|
||||
end entity LFO;
|
||||
|
||||
architecture Behavioral of LFO is
|
||||
|
||||
begin
|
||||
|
||||
end architecture;
|
||||
Reference in New Issue
Block a user