Hi friends,
I'm new here and I meet a problem in VHDL, Could anybody please help me out?
The module I need
entity transfer is
Port ( input : in STD_LOGIC_VECTOR (1 downto 0);
clk : in STD_LOGIC;
output : out STD_LOGIC);
end transfer;
architecture Behavioral of transfer is
begin
here if input is "01",output should be a 2 clock cycle long pulse
if input is "10", output should be a 4 clock cycle long pulse
if input is "11", output should be a 6 clock cycle long pulse
if input is "00", ouput remain low.
need sychronized sythesisable circuit...
input ONLY LAST ONE clock cycle
end Behavioral;
thanks!
I'm new here and I meet a problem in VHDL, Could anybody please help me out?
The module I need
entity transfer is
Port ( input : in STD_LOGIC_VECTOR (1 downto 0);
clk : in STD_LOGIC;
output : out STD_LOGIC);
end transfer;
architecture Behavioral of transfer is
begin
here if input is "01",output should be a 2 clock cycle long pulse
if input is "10", output should be a 4 clock cycle long pulse
if input is "11", output should be a 6 clock cycle long pulse
if input is "00", ouput remain low.
need sychronized sythesisable circuit...
input ONLY LAST ONE clock cycle
end Behavioral;
thanks!
Last edited: