Skip to content

Instantly share code, notes, and snippets.

View powerjg's full-sized avatar

Jason Lowe-Power powerjg

View GitHub Profile
Cycle=1 IF/ID: Bundle(instruction -> 1073750051, pc -> 0, pcplusfour -> 4)
sw zero, 1024(zero)
Cycle=2 IF/ID: Bundle(instruction -> 10487699, pc -> 4, pcplusfour -> 8)
li a5, -6
Cycle=3 IF/ID: Bundle(instruction -> 1626349603, pc -> 8, pcplusfour -> 12)
sw a5, 1536(zero)
Cycle=4 IF/ID: Bundle(instruction -> 1050515, pc -> 12, pcplusfour -> 16)
li a5, 1
Cycle=5 IF/ID: Bundle(instruction -> 1357914147, pc -> 16, pcplusfour -> 20)
sw a5, 1280(zero)
Cycle=1 IF/ID: Bundle(instruction -> 165811, pc -> 0, pcplusfour -> 4)
add a5, t0, zero
Cycle=2 IF/ID: Bundle(instruction -> 1089478691, pc -> 4, pcplusfour -> 8)
sw a5, 1024(zero)
Cycle=3 IF/ID: Bundle(instruction -> 198579, pc -> 8, pcplusfour -> 12)
add a5, t1, zero
Cycle=4 IF/ID: Bundle(instruction -> 4277411875, pc -> 12, pcplusfour -> 16)
sw a5, -32(s0)
Cycle=5 IF/ID: Bundle(instruction -> 1342185507, pc -> 16, pcplusfour -> 20)
sw zero, 1280(zero)
Cycle=1 IF/ID: Bundle(instruction -> 6293427, pc -> 0, pcplusfour -> 4)
add a5, zero, t1
Cycle=2 IF/ID: Bundle(instruction -> 1089478691, pc -> 4, pcplusfour -> 8)
sw a5, 1024(zero)
Cycle=3 IF/ID: Bundle(instruction -> 1342185507, pc -> 8, pcplusfour -> 12)
sw zero, 1280(zero)
Cycle=4 IF/ID: Bundle(instruction -> 1050515, pc -> 12, pcplusfour -> 16)
li a5, 1
Cycle=5 IF/ID: Bundle(instruction -> 1626349603, pc -> 16, pcplusfour -> 20)
sw a5, 1536(zero)
Cycle=1 IF/ID: Bundle(instruction -> 5244851, pc -> 0, pcplusfour -> 4)
add a5, zero, t0
Cycle=2 IF/ID: Bundle(instruction -> 1425025059, pc -> 4, pcplusfour -> 8)
sw a5, 1360(zero)
Cycle=3 IF/ID: Bundle(instruction -> 6293427, pc -> 8, pcplusfour -> 12)
add a5, zero, t1
Cycle=4 IF/ID: Bundle(instruction -> 1626349603, pc -> 12, pcplusfour -> 16)
sw a5, 1536(zero)
Cycle=5 IF/ID: Bundle(instruction -> 1426073475, pc -> 16, pcplusfour -> 20)
lw a5, 1360(zero)
Cycle=1 IF/ID: Bundle(instruction -> 5244851, pc -> 0, pcplusfour -> 4)
add a5, zero, t0
Cycle=2 IF/ID: Bundle(instruction -> 1425025059, pc -> 4, pcplusfour -> 8)
sw a5, 1360(zero)
Cycle=3 IF/ID: Bundle(instruction -> 6293427, pc -> 8, pcplusfour -> 12)
add a5, zero, t1
Cycle=4 IF/ID: Bundle(instruction -> 1626349603, pc -> 12, pcplusfour -> 16)
sw a5, 1536(zero)
Cycle=5 IF/ID: Bundle(instruction -> 1426073475, pc -> 16, pcplusfour -> 20)
lw a5, 1360(zero)
Cycle=1 IF/ID: Bundle(instruction -> 5244851, pc -> 0, pcplusfour -> 4)
DASM(5007b3)
Cycle=2 IF/ID: Bundle(instruction -> 1425025059, pc -> 4, pcplusfour -> 8)
DASM(54f02823)
Cycle=3 IF/ID: Bundle(instruction -> 6293427, pc -> 8, pcplusfour -> 12)
DASM(6007b3)
Cycle=4 IF/ID: Bundle(instruction -> 1626349603, pc -> 12, pcplusfour -> 16)
DASM(60f02023)
Cycle=5 IF/ID: Bundle(instruction -> 1426073475, pc -> 16, pcplusfour -> 20)
DASM(55002783)
@powerjg
powerjg / networking bridge.rst
Created June 15, 2018 22:38
How I got networking to work in gem5
Authors: Jason Lowe-Power

I think the right way to go is Open vSwitch. Below are some notes as I've gotten things to work on my office computer.

Installing Open vSwitch

#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.0-rc3 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"