Professional Documents
Culture Documents
VPP
VPP
module Clock_divider(clock_in,clock_out);
input clock_in;
begin
if(counter>=(DIVISOR-1))
end
endmodule
process(LED_BCD)
begin
case LED_BCD is
end case;
end process;
process(clock_100Mhz,reset)
begin
if(reset='1') then
elsif(rising_edge(clock_100Mhz)) then
end if;
end process;
process(LED_activating_counter)
begin
case LED_activating_counter is
end case;
end process;
entity seven_segment_display_VHDL is
end seven_segment_display_VHDL;
-- and repeat
begin
-- VHDL code for BCD to 7-segment decoder
process(LED_BCD)
begin
case LED_BCD is
end case;
end process;
process(clock_100Mhz,reset)
begin
if(reset='1') then
elsif(rising_edge(clock_100Mhz)) then
end if;
end process;
process(LED_activating_counter)
begin
case LED_activating_counter is
end case;
end process;
process(clock_100Mhz, reset)
begin
if(reset='1') then
elsif(rising_edge(clock_100Mhz)) then
if(one_second_counter>=x"5F5E0FF") then
else
end if;
end if;
end process;
process(clock_100Mhz, reset)
begin
if(reset='1') then
elsif(rising_edge(clock_100Mhz)) then
if(one_second_enable='1') then
end if;
end if;
end process;
end Behavioral;
// Inputs
reg clock_in;
// Outputs
wire clock_out;
Clock_divider uut (
.clock_in(clock_in),
.clock_out(clock_out)
);
initial begin
// Initialize Inputs
clock_in = 0;
end
endmodule