cnt_ddr2_rd.cnt_ddr2_rd_arc Architecture Reference

Counter for accesses to DDR2. More...

Inheritance diagram for cnt_ddr2_rd.cnt_ddr2_rd_arc:

Inheritance graph
[legend]
Collaboration diagram for cnt_ddr2_rd.cnt_ddr2_rd_arc:

Collaboration graph
[legend]

List of all members.


Processes

cnt_rds  ( CLK )
 Counter.

Signals

cnt  std_logic_vector ( 23 downto 0 ) := ( others = > ' 0 ' )
done_i  std_logic := ' 0 '


Detailed Description

Counter for accesses to DDR2.

Definition at line 51 of file cnt_ddr2_rd.vhd.


Member Function Documentation

[Process]
cnt_rds ( CLK )

Counter.

Definition at line 61 of file cnt_ddr2_rd.vhd.

00061   cnt_rds : process(CLK)
00062   begin
00063     if CLK'event and CLK = '1' then
00064       if RESET = '1' then
00065         cnt    <= (others => '0');
00066         done_i <= '0';
00067       else
00068         if cnt = "111111111111111111111111" then
00069           done_i <= '1';
00070           cnt    <= (others => '0');
00071         else
00072           done_i <= '0';
00073         end if;
00074         if (EN = '1' and done_i = '0') then
00075           cnt <= cnt + 1;
00076         else
00077           cnt <= cnt;
00078         end if;
00079       end if;
00080     end if;
00081   end process cnt_rds;


The documentation for this class was generated from the following file:

Author: M.Niegl
Generated on Tue Nov 4 00:49:18 2008 for BCM-AAA by doxygen 1.5.7.1-20081012