Commit a84dd5bc authored by Jan Pospisil's avatar Jan Pospisil

added EdgeDetector architecture for both edges detection; added TODO

parent 9faab5c0
......@@ -39,4 +39,20 @@ begin
Edge_o <= not Signal_i and History;
end architecture;
\ No newline at end of file
end architecture;
architecture both of EdgeDetector is
signal History: std_logic := '0';
begin
pDelay: process (Clk_ik) is begin
if rising_edge(Clk_ik) then
History <= Signal_i;
end if;
end process;
Edge_o <= Signal_i xor History;
end architecture;
#!/usr/bin/env python
# TODO: propper BUSY bits checking
import sys
import time
sys.path.append('/usr/local/encore')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment