1
0

Initial commit

This commit is contained in:
2024-03-22 13:16:48 +01:00
commit 8b2f630f7b
499 changed files with 87136 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
architecture studentVersion of ex_24_1_1 is
signal counter : unsigned(counterBitNb-1 downto 0);
begin
process(clock, reset) begin
if reset = '1' then
counter <= (others => '0');
elsif rising_edge(clock) then
if en = '1' then
if up_down = '1' then
counter <= counter + 1;
else
counter <= counter -1;
end if;
end if;
end if;
end process;
position <= counter;
end studentVersion;