No changes between revisions
/Designs/Measuring_instruments/RMDS01A/VHDL/gtime/src/gtime.vhd |
---|
10,7 → 10,7 |
-- |
-- Dependencies: CLKGEN01B, GPS01A |
-- |
-- Version: $Id: PulseGen.vhd 2534 2012-09-02 13:40:37Z kakl $ |
-- Version: $Id$ |
-- |
---------------------------------------------------------------------------------- |
169,6 → 169,7 |
signal Decko: std_logic; |
signal Disp: std_logic := '0'; |
signal Reset: std_logic := '0'; |
begin |
178,23 → 179,29 |
-- LED Bar Counter |
process (LO_CLOCK) |
begin |
if rising_edge(LO_CLOCK) then |
if Counter < MAXCOUNT-1 then |
Counter <= Counter + 1; |
else |
Counter <= (others => '0'); |
Bar <= Bar + 1; |
if Reset = '0' then |
if rising_edge(LO_CLOCK) then |
if Disp = '1' then |
Reset <= '1'; |
end if; |
Decko <= DIPSW(0); |
if Counter < MAXCOUNT-1 then |
Counter <= Counter + 1; |
else |
Counter <= (others => '0'); |
Bar <= Bar + 1; |
end if; |
end if; |
end if; |
end process; |
process (LO_CLOCK) |
begin |
if rising_edge(LO_CLOCK) then |
Decko <= DIPSW(0); |
else |
Bar <= (others => '0'); |
Reset <= '0'; |
end if; |
end process; |
end process; |
process (LO_CLOCK) |
begin |
Property changes: |
Added: svn:keywords |
+Id |
\ No newline at end of property |