Email: bknpk@hotmail.com Phone: +972-54-7649119




V

 

Basic test for open cores 1G eth UDP / IP Stack using,
specman for verification.

  1. In search for self study projects for this site, I have downloaded from the open cores site, this UDP project.

  2. I decided to build a verification environment for this core using specman, with license that my friend received for teaching and self study.

  3. The main page of this project was described before.

  4. The first test has a simple purpose. To do the sane as the open-core test-bench. Once this is achieved, a more complex set of tests can be considered.
    For this case there is no randomization and the scenario is one ARP packet followed by two UDP packets.
    The main item, used by the sequence, has default values, which are the same ones used in the open core test bench.

  5. The following shows how simple it is to create this test:
    1. Create packet using sequence item.
    2. Setup the count for desired number of packets.
    3. Create the sequence of of ARP packet followed by two UDP packets.


    extend udp_ip_sequence {
      !pkt : pkt_s;
    };
    extend MAIN udp_ip_sequence {

      keep count == 3;

      body() @driver.clock is only {
        for i from 1 to count do {
          if(i == 1) then {
            do pkt keeping {.basic_pkt.kind == ARP};
          } else {
            do pkt keeping {.basic_pkt.kind == UDP};
          };
        };--for
      };--body
    };--extend MAIN uart_tx_sequence

  ...


Home

VHDL IP Stack

print from VHDL code







Search This Site


Feedback This Site




new pages on this site