This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21000,WriteReq,687832064,64 | |
23000,WriteReq,687832128,64 | |
25000,WriteReq,687832192,64 | |
26000,WriteReq,687832256,64 | |
27000,WriteReq,687832320,64 | |
28000,WriteReq,687832384,64 | |
29000,WriteReq,687832448,64 | |
31000,WriteReq,687832512,64 | |
32000,WriteReq,687832576,64 | |
33000,WriteReq,687832640,64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import m5 | |
from m5.objects import DDR5_4400_4x8, AddrRange, MemCtrl, SrcClockDomain, VoltageDomain, System, Root, PacketReplayer | |
system = System() | |
system.mmap_using_noreserve = True | |
system.clk_domain = SrcClockDomain(clock="1GHz", voltage_domain=VoltageDomain()) | |
system.mem_mode = 'timing' | |
system.mem_ranges = [AddrRange(0x0, 0x80000000)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from m5.SimObject import SimObject | |
from m5.params import * | |
class PacketReplayer(SimObject): | |
type = 'PacketReplayer' | |
cxx_header = "packet_replayer.hh" | |
cxx_class = "gem5::PacketReplayer" | |
log_file = Param.String("Path to packet log file") | |
port = RequestPort("Port to send packets") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <string> | |
#include "mem/port.hh" | |
#include "sim/sim_object.hh" | |
#include "base/types.hh" | |
#include "mem/packet.hh" | |
#include "params/PacketReplayer.hh" | |
namespace gem5 | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "packet_replayer.hh" | |
#include "base/trace.hh" | |
#include "debug/PacketReplayer.hh" | |
#include "mem/packet_access.hh" | |
#include <fstream> | |
#include <sstream> | |
#include "sim/sim_exit.hh" | |
namespace gem5 | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[run] | |
source = ./ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python3 | |
from dogtail import tree | |
from dogtail.utils import run | |
run("./my_app.py", timeout=2) | |
my_app = tree.root.application('my_app.py') | |
#print(my_app) | |
button = my_app.child("MyButton") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python3 | |
# Based on https://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html#extended-example | |
import gi | |
gi.require_version("Gtk", "3.0") | |
from gi.repository import Gtk | |
class MyWindow(Gtk.Window): |