Well here is a nice clock divider i made....enjoy
good luck
library IEEE;
use IEEE.STD_LOGIC_1164.all;
use IEEE.STD_LOGIC_ARITH.all;
use IEEE.STD_LOGIC_UNSIGNED.all;
ENTITY clk_div IS
PORT
(
clock_25Mhz : IN STD_LOGIC;
clock_1MHz : OUT STD_LOGIC;
clock_100KHz : OUT...
You need a button debouncer
here is an example of one using a 100hz clk
library IEEE;
use IEEE.STD_LOGIC_1164.all;
use IEEE.STD_LOGIC_ARITH.all;
use IEEE.STD_LOGIC_UNSIGNED.all;
ENTITY debounce IS
PORT(pb, clock_100Hz : IN STD_LOGIC;
pb_debounced : OUT STD_LOGIC);
END debounce...
Here is a clock frequency divider
----------------------------------------------------------------------------
-- CLK FREQUENCY DIVIDER --
----------------------------------------------------------------------------
library IEEE;
use...
I am having trouble making the code for kind of an OnRelease function
When a button is pressed there will be a '0' bit when not pressed there will be a '1' bit. I need to wait for the button to be pressed, and then to wait for it to be release before anything happens.... can someone please...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.