eth_giga_hd_tx_ifg.test 4.2 KB

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