Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ELE3311_Labos_Eq2
ELE3311_Projet_2
Commits
a40f6929
Commit
a40f6929
authored
Feb 26, 2021
by
Yann Roberge
Browse files
Implémentation du banc de test de la MSA
parent
f68f68e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
sim/msa_reg_tb.vhd
View file @
a40f6929
...
...
@@ -65,14 +65,27 @@ begin
driver
:
process
begin
-- On synchronise les signaux avec le front descendant de l'horloge
-- afin de respecter les temps de preparation et de maintien (setup/hold times)
-- afin de respecter les temps de preparation et de maintien (setup/hold times)
for
i
in
0
to
20
loop
wait
until
falling_edge
(
clk
);
end
loop
;
-- *** A completer DEBUT ***
-- Test du reset
--rst <= '1';
--wait for clk_period*10;
--rst <= '0';
-- Enfoncer le bouton
wait
for
clk_period
*
10
;
next_sig
<=
'1'
;
-- Relâcher le bouton
wait
for
clk_period
*
10
;
next_sig
<=
'0'
;
wait
for
clk_period
*
10
;
-- *** A completer FIN ***
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment