Skip to content
Snippets Groups Projects
Commit 05b6119e authored by LHOMME Titouan's avatar LHOMME Titouan
Browse files

Edit wave_generator.vhd

parent 235095f0
Branches main
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ begin ...@@ -124,7 +124,7 @@ begin
I_din1 => S_square, I_din1 => S_square,
I_din2 => S_saw_tooth_out_lut , I_din2 => S_saw_tooth_out_lut ,
I_din3 => S_triangle_out_lut , I_din3 => S_triangle_out_lut ,
O_dout => O_wav O_dout => S_wave_sample
); );
-- Module G -- Module G
...@@ -133,17 +133,17 @@ begin ...@@ -133,17 +133,17 @@ begin
G_N => G_N G_N => G_N
) )
port map ( port map (
I_din => O_wav, I_din => S_wave_sample,
O_dout => O_wav O_dout => S_opposite_wave_sample
); );
-- Module H -- Module H
H_inst : entity work.module_H H_inst : entity work.module_H
port map ( port map (
I_sel => S_sign_sel, I_sel => S_sign_sel,
I_din0 => O_wav, I_din0 => S_wave_sample,
I_din1 => O_wav, I_din1 => S_opposite_wave_sample,
O_dout => O_wav O_dout => S_wave_value
); );
-- Module I -- Module I
...@@ -154,7 +154,7 @@ begin ...@@ -154,7 +154,7 @@ begin
port map ( port map (
I_clk => I_clk, I_clk => I_clk,
I_rst => I_rst , I_rst => I_rst ,
I_din => O_wav, I_din => S_wave_value,
O_dout => O_wav O_dout => O_wav
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment