private static int Main() { if (!Kiwi.inHardware()) { Emu.m_axis_tready = true; } run(); return(0); }
private static void generate_packet() { SetPacketData(); HeaderGen.WriteUDPHeader(cfb, up, ep, ip, InterfaceFunctions.PORT_BROADCAST); if (!Kiwi.inHardware()) { cfb.PrintContents(); } CircularNetworkFunctions.SendWithFCS(cfb, crc); Kiwi.Pause(); }
private static int Main() { if (!Kiwi.inHardware()) { Emu.m_axis_tready = true; } SetPacketData(); generate_packet(); //cfb.PrintContents(); //cfb.ResetPeek(); //ep.Parse(cfb); //System.Console.WriteLine(ep.Ethertype); //System.Console.WriteLine((cfb.PeekData.Tdata1 >> 52) & 0x0f); //System.Console.WriteLine(ep.IsIPv4); return(0); }