ASIC/FPGA  Design and Verification Out Source Services 
                            VHDL IP Stack
                            ICMP frame with a valid CRC
                            
                            - The data of the frame is captured into fields as shown below: 
							
------------------------frame data------------------------ 
--MAC header 
constant mac_dest : std_logic_vector (47  downto 0) := x"00aa0062c609"; 
constant mac_srce : std_logic_vector (47  downto 0) := x"00e0f7263fe9";--CISCO Router 
constant mac_type : std_logic_vector (15  downto 0) := x"0800";--IP ether type 
--IP ver 4 header 
constant ipheader : std_logic_vector (95  downto 0) := x"45000054aafb4000fc01fa30"; 
constant ip_srcad : std_logic_vector (31  downto 0) := x"8b85e902"; --server.abdn.ac.uk 
constant ip_dstad : std_logic_vector (31  downto 0) := x"8b85d96e"; --client 
 
--ICMP header 
constant icmptype : std_logic_vector ( 7  downto 0) := x"00"; 
constant icmpcode : std_logic_vector ( 7  downto 0) := x"00"; 
constant icmpcsum : std_logic_vector (15  downto 0) := x"45da";--checksum 
constant icmpdata : std_logic_vector (479 downto 0) := x"1e600000335e3ab8000042ac08090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330fcfc779"; 
 
constant pkt_dlen : integer := 784;       --length in bits 
constant pkt_nlen : integer := pkt_dlen/4;--length in nibbles 
 
------------------------frame data------------------------ 
							
							
 
                            - go back to former page  CRC main 
 
                             
                           Contact me now at: |