Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tp-synthe-etudiant-c24toure
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-c24toure
tp-synthe-etudiant-c24toure
Commits
d31c147b
Commit
d31c147b
authored
3 weeks ago
by
Colin TOURETTE
Browse files
Options
Downloads
Patches
Plain Diff
wave generator teste
parent
0d9546ac
Branches
main
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
+10
-10
10 additions, 10 deletions
src/hdl/wave_generator.vhd
with
10 additions
and
10 deletions
src/hdl/wave_generator.vhd
+
10
−
10
View file @
d31c147b
...
...
@@ -65,7 +65,7 @@ begin
)
port
map
(
I_clk
=>
I_clk
,
I_rst
=>
I_rst
,
I_rst
=>
I_rst
,
I_u_d
=>
S_u_d
,
O_val
=>
S_addr
,
O_last
=>
S_last
,
...
...
@@ -108,10 +108,10 @@ begin
G_fs
=>
G_fs
)
port
map
(
I_clk
=>
I_clk
,
I_clk
=>
I_clk
,
I_rst
=>
I_rst
,
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'
);
...
...
@@ -122,8 +122,8 @@ begin
I_sel
=>
I_wave_sel
,
I_din0
=>
S_sine_out_lut
,
I_din1
=>
S_square
,
I_din2
=>
S_saw_tooth_out_lut
,
I_din3
=>
S_triangle_out_lut
,
I_din2
=>
S_saw_tooth_out_lut
,
I_din3
=>
S_triangle_out_lut
,
O_dout
=>
S_wave_sample
);
...
...
@@ -143,7 +143,7 @@ begin
I_sel
=>
S_sign_sel
,
I_din0
=>
S_wave_sample
,
I_din1
=>
S_opposite_wave_sample
,
O_dout
=>
S_wave_
sampl
e
O_dout
=>
S_wave_
valu
e
);
-- Module I
...
...
@@ -152,10 +152,10 @@ begin
G_N
=>
G_N
)
port
map
(
I_clk
=>
I_clk
,
I_rst
=>
I_rst
,
I_din
=>
S_wave_
sampl
e
,
O_dout
=>
S
_wav
e_value
I_clk
=>
I_clk
,
I_rst
=>
I_rst
,
I_din
=>
S_wave_
valu
e
,
O_dout
=>
O
_wav
);
end
arch
;
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