Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tp-synthe-etudiant-m24janat
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UEEE
sar-signal-audio
gr-vhdl-m24janat
tp-synthe-etudiant-m24janat
Commits
591a2e81
Commit
591a2e81
authored
1 month ago
by
Mohamed Amine JANATI
Browse files
Options
Downloads
Patches
Plain Diff
wave g V2
parent
a82ada03
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/hdl/wave_generator.vhd
+7
-8
7 additions, 8 deletions
src/hdl/wave_generator.vhd
with
7 additions
and
8 deletions
src/hdl/wave_generator.vhd
+
7
−
8
View file @
591a2e81
...
@@ -44,7 +44,6 @@ architecture arch of wave_generator is
...
@@ -44,7 +44,6 @@ architecture arch of wave_generator is
signal
S_middle
:
std_logic
;
signal
S_middle
:
std_logic
;
signal
S_u_d
:
std_logic
;
signal
S_u_d
:
std_logic
;
signal
S_sign_sel
:
std_logic
;
signal
S_sign_sel
:
std_logic
;
begin
begin
-- Module A
-- Module A
...
@@ -70,7 +69,7 @@ begin
...
@@ -70,7 +69,7 @@ begin
I_u_d
=>
S_u_d
,
I_u_d
=>
S_u_d
,
O_val
=>
S_addr
,
O_val
=>
S_addr
,
O_last
=>
S_last
,
O_last
=>
S_last
,
O_middle
=>
S_middle
O_middle
=>
S_middle
);
);
-- Module C
-- Module C
...
@@ -98,7 +97,7 @@ begin
...
@@ -98,7 +97,7 @@ begin
I_clk
=>
I_clk
,
I_clk
=>
I_clk
,
I_rst
=>
I_rst
,
I_rst
=>
I_rst
,
I_addr
=>
S_addr
(
C_addr_half_w
-1
downto
0
),
I_addr
=>
S_addr
(
C_addr_half_w
-1
downto
0
),
O_triangle
=>
S_triangle_out_lut
O_triangle
=>
S_triangle_out_lut
);
);
-- Module E
-- Module E
...
@@ -112,7 +111,7 @@ begin
...
@@ -112,7 +111,7 @@ begin
I_clk
=>
I_clk
,
I_clk
=>
I_clk
,
I_rst
=>
I_rst
,
I_rst
=>
I_rst
,
I_addr
=>
S_addr
,
I_addr
=>
S_addr
,
O_saw_tooth
=>
S_saw_tooth_out_lut
O_saw_tooth
=>
S_saw_tooth_out_lut
);
);
S_square
<=
((
G_N
-1
)
=>
'0'
,
others
=>
'1'
);
S_square
<=
((
G_N
-1
)
=>
'0'
,
others
=>
'1'
);
...
@@ -123,9 +122,9 @@ begin
...
@@ -123,9 +122,9 @@ begin
I_sel
=>
I_wave_sel
,
I_sel
=>
I_wave_sel
,
I_din0
=>
S_sine_out_lut
,
I_din0
=>
S_sine_out_lut
,
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
=>
S_wave_sample
O_dout
=>
S_wave_sample
);
);
-- Module G
-- Module G
...
@@ -154,7 +153,7 @@ begin
...
@@ -154,7 +153,7 @@ begin
)
)
port
map
(
port
map
(
I_clk
=>
I_clk
,
I_clk
=>
I_clk
,
I_rst
=>
I_rst
,
I_rst
=>
I_rst
,
I_din
=>
S_wave_value
,
I_din
=>
S_wave_value
,
O_dout
=>
O_wav
O_dout
=>
O_wav
);
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment