Template For Lab 3 SoC
Template For Lab 3 SoC
Course: “System-on-chip”
Laboratory Work
Report #3
Student: Teacher:
Gr. КІУКІі-16-3 Prof. Eugenia Litvinova
Name
Kharkov 2020
Task of the Lab#3:
Using cloud service http://www.edaplayground.com create the following
projects.
You can login this service using Facebook or Google account.
Example 1. D-flip-flop
Use the following test data:
d <="1011";
d <="1101";
d <="1001";
begin
dut : flop
port map (clk => clk,
d => d,
q => q);
-- Clock generation
TbClock <= not TbClock after TbPeriod/2
when TbSimEnded /= '1' else '0';
stimuli : process
begin
d <= (others => '0');
wait for 10 * TbPeriod;
d <="1010";
wait for 10 * TbPeriod;
d <="1111";
wait for 10 * TbPeriod;
end tb;
-- modMCounter_tb.vhd -- modMCounter.vhd
wait;
end process;
end arch;