projects
/
raggedstone
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bd0f9a9
)
use rising_edge(clk_i)
author
michael
<michael>
Sat, 3 Mar 2007 10:40:32 +0000
(10:40 +0000)
committer
michael
<michael>
Sat, 3 Mar 2007 10:40:32 +0000
(10:40 +0000)
heartbeat/source/heartbeat.vhd
patch
|
blob
|
blame
|
history
diff --git
a/heartbeat/source/heartbeat.vhd
b/heartbeat/source/heartbeat.vhd
index a1a181fa7bff4f971438d36f4f1f481375cc07fb..03a465bd9ed843684ec096894e4fbddf74a5745e 100644
(file)
--- a/
heartbeat/source/heartbeat.vhd
+++ b/
heartbeat/source/heartbeat.vhd
@@
-28,7
+28,7
@@
variable state : std_logic_vector(3 downto 0) := "0001";
variable direction : std_logic := '0';
begin
variable direction : std_logic := '0';
begin
-if (
clk_i'event AND clk_i = '1'
) then
+if (
rising_edge(clk_i)
) then
if nrst_i = '0' then
counter := (others => '0');
else
if nrst_i = '0' then
counter := (others => '0');
else
Impressum
,
Datenschutz