eth_giga_hd_rxtx_ifg.test 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. %description:
  2. EtherMAC module: tests IFG and framebursting in half duplex mode on gigabit ethernet.
  3. At 20s we try to transmit a packet but there is an incoming packet at that time.
  4. Transmission starts at the end of reception plus IFG.
  5. %inifile: {}.ini
  6. [General]
  7. #preload-ned-files = *.ned ../../*.ned @../../../../nedfiles.lst
  8. ned-path = .;../../../../src;../../lib
  9. network = EthTestNetwork
  10. record-eventlog = true
  11. #omnetpp 5.0 - 5.1 compatibility:
  12. eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
  13. output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
  14. output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
  15. snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"
  16. #[Cmdenv]
  17. cmdenv-event-banners=false
  18. cmdenv-express-mode=false
  19. #[Parameters]
  20. **.ethch*.datarate = 1Gbps
  21. *.host1.app.destAddr = "AA-00-00-00-00-02"
  22. *.host1.app.script = "10:92 10:92 20:92 20:92"
  23. *.host1.mac.address = "AA-00-00-00-00-01"
  24. *.host2.app.destAddr = "AA-00-00-00-00-01"
  25. *.host2.app.script = "19.999999:1000"
  26. *.host2.mac.address = "AA-00-00-00-00-02"
  27. *.host*.macType = "EtherMAC" # ${"EtherMAC","EtherMACFullDuplex"}
  28. *.host*.queueType = ${"", "DropTailQueue"}
  29. *.host*.mac.duplexMode = false # Half duplex
  30. **.host*.mac.frameBursting = ${true,false}
  31. #*.host1.ethg$o.channel.logfile="logfile-${runnumber}.txt"
  32. **.ethch2.logfile="logfile-${runnumber}.txt"
  33. # these contains are for omnetpp 5.0. (rounding when converting double to simtime)
  34. # logfile-0.txt and logfile-2.txt are same!!!
  35. # logfile-1.txt and logfile-3.txt are same!!!
  36. %#--------------------------------------------------------------------------------------------------------------
  37. %contains: logfile-0.txt
  38. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (520 byte) discard:0, delay:0, duration:4160000
  39. #2:10000004160000: 'FilledIFG' (inet::EtherFilledIFG) sent:10000004160000 (12 byte) discard:0, delay:0, duration:96000
  40. #3:10000004256000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000004256000 (100 byte) discard:0, delay:0, duration:800000
  41. #4:20000007160000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000007160000 (520 byte) discard:0, delay:0, duration:4160000
  42. #5:20000011320000: 'FilledIFG' (inet::EtherFilledIFG) sent:20000011320000 (12 byte) discard:0, delay:0, duration:96000
  43. #6:20000011416000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000011416000 (100 byte) discard:0, delay:0, duration:800000
  44. %contains: logfile-1.txt
  45. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (520 byte) discard:0, delay:0, duration:4160000
  46. #2:10000004256000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000004256000 (520 byte) discard:0, delay:0, duration:4160000
  47. #3:20000007160000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000007160000 (520 byte) discard:0, delay:0, duration:4160000
  48. #4:20000011416000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000011416000 (520 byte) discard:0, delay:0, duration:4160000
  49. %contains: logfile-2.txt
  50. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (520 byte) discard:0, delay:0, duration:4160000
  51. #2:10000004160000: 'FilledIFG' (inet::EtherFilledIFG) sent:10000004160000 (12 byte) discard:0, delay:0, duration:96000
  52. #3:10000004256000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000004256000 (100 byte) discard:0, delay:0, duration:800000
  53. #4:20000007160000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000007160000 (520 byte) discard:0, delay:0, duration:4160000
  54. #5:20000011320000: 'FilledIFG' (inet::EtherFilledIFG) sent:20000011320000 (12 byte) discard:0, delay:0, duration:96000
  55. #6:20000011416000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000011416000 (100 byte) discard:0, delay:0, duration:800000
  56. %contains: logfile-3.txt
  57. #1:10000000000000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000000000000 (520 byte) discard:0, delay:0, duration:4160000
  58. #2:10000004256000: 'PK at 10: 92 Bytes' (inet::EtherPhyFrame) sent:10000004256000 (520 byte) discard:0, delay:0, duration:4160000
  59. #3:20000007160000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000007160000 (520 byte) discard:0, delay:0, duration:4160000
  60. #4:20000011416000: 'PK at 20: 92 Bytes' (inet::EtherPhyFrame) sent:20000011416000 (520 byte) discard:0, delay:0, duration:4160000
  61. %#--------------------------------------------------------------------------------------------------------------
  62. %not-contains: stdout
  63. undisposed object:
  64. %not-contains: stdout
  65. -- check module destructor
  66. %#--------------------------------------------------------------------------------------------------------------