util: Add a utility script for encoding packet traces
util: Add a utility script for encoding packet traces

This patch adds a simple Python script that reads a simple ASCII trace
format and encodes it as protobuf output compatible with the traffic
generator.

The script can also be used as a template for other packet input
formats that should be converted to the gem5 packet protobuf format.

rallylee/gem5,rallylee/gem5,kaiyuanl/gem5,sobercoder/gem5,qizenguf/MLC-STT,rallylee/gem5,aclifton/cpeg853-gem5,sobercoder/gem5,markoshorro/gem5,joerocklin/gem5,gem5/gem5,Weil0ng/gem5,gem5/gem5,austinharris/gem5-riscv,TUD-OS/gem5-dtu,qizenguf/MLC-STT,KuroeKurose/gem5,rjschof/gem5,cancro7/gem5,yb-kim/gemV,austinharris/gem5-riscv,SanchayanMaity/gem5,Weil0ng/gem5,cancro7/gem5,powerjg/gem5-ci-test,gedare/gem5,briancoutinho0905/2dsampling,qizenguf/MLC-STT,markoshorro/gem5,powerjg/gem5-ci-test,KuroeKurose/gem5,powerjg/gem5-ci-test,sobercoder/gem5,Weil0ng/gem5,rallylee/gem5,austinharris/gem5-riscv,aclifton/cpeg853-gem5,KuroeKurose/gem5,markoshorro/gem5,markoshorro/gem5,briancoutinho0905/2dsampling,HwisooSo/gemV-update,austinharris/gem5-riscv,KuroeKurose/gem5,gedare/gem5,gem5/gem5,joerocklin/gem5,yb-kim/gemV,yb-kim/gemV,cancro7/gem5,briancoutinho0905/2dsampling,kaiyuanl/gem5,powerjg/gem5-ci-test,sobercoder/gem5,gedare/gem5,briancoutinho0905/2dsampling,aclifton/cpeg853-gem5,TUD-OS/gem5-dtu,briancoutinho0905/2dsampling,HwisooSo/gemV-update,austinharris/gem5-riscv,samueldotj/TeeRISC-Simulator,TUD-OS/gem5-dtu,kaiyuanl/gem5,joerocklin/gem5,joerocklin/gem5,powerjg/gem5-ci-test,powerjg/gem5-ci-test,TUD-OS/gem5-dtu,samueldotj/TeeRISC-Simulator,joerocklin/gem5,rallylee/gem5,aclifton/cpeg853-gem5,markoshorro/gem5,rjschof/gem5,kaiyuanl/gem5,samueldotj/TeeRISC-Simulator,rjschof/gem5,sobercoder/gem5,qizenguf/MLC-STT,joerocklin/gem5,SanchayanMaity/gem5,HwisooSo/gemV-update,TUD-OS/gem5-dtu,sobercoder/gem5,samueldotj/TeeRISC-Simulator,joerocklin/gem5,qizenguf/MLC-STT,aclifton/cpeg853-gem5,cancro7/gem5,zlfben/gem5,sobercoder/gem5,KuroeKurose/gem5,gem5/gem5,zlfben/gem5,zlfben/gem5,zlfben/gem5,gedare/gem5,rjschof/gem5,gedare/gem5,yb-kim/gemV,KuroeKurose/gem5,TUD-OS/gem5-dtu,zlfben/gem5,zlfben/gem5,qizenguf/MLC-STT,rjschof/gem5,aclifton/cpeg853-gem5,rallylee/gem5,yb-kim/gemV,austinharris/gem5-riscv,qizenguf/MLC-STT,SanchayanMaity/gem5,gedare/gem5,yb-kim/gemV,yb-kim/gemV,rjschof/gem5,markoshorro/gem5,yb-kim/gemV,cancro7/gem5,Weil0ng/gem5,gedare/gem5,HwisooSo/gemV-update,SanchayanMaity/gem5,Weil0ng/gem5,SanchayanMaity/gem5,SanchayanMaity/gem5,zlfben/gem5,HwisooSo/gemV-update,joerocklin/gem5,rallylee/gem5,cancro7/gem5,markoshorro/gem5,samueldotj/TeeRISC-Simulator,rjschof/gem5,briancoutinho0905/2dsampling,aclifton/cpeg853-gem5,HwisooSo/gemV-update,samueldotj/TeeRISC-Simulator,powerjg/gem5-ci-test,SanchayanMaity/gem5,Weil0ng/gem5,kaiyuanl/gem5,kaiyuanl/gem5,briancoutinho0905/2dsampling,gem5/gem5,gem5/gem5,HwisooSo/gemV-update,kaiyuanl/gem5,samueldotj/TeeRISC-Simulator,Weil0ng/gem5,austinharris/gem5-riscv,cancro7/gem5,KuroeKurose/gem5,TUD-OS/gem5-dtu,gem5/gem5