Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
d43dee68
Commit
d43dee68
authored
Jun 20, 2020
by
Antoine Kaufmann
Browse files
update readme
parent
e5fb47d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
README.md
README.md
+7
-2
No files found.
README.md
View file @
d43dee68
...
@@ -10,6 +10,10 @@ Code structure:
...
@@ -10,6 +10,10 @@ Code structure:
-
`net_tap/`
: Linux tap interface connector for Ethernet channel
-
`net_tap/`
: Linux tap interface connector for Ethernet channel
-
`net_wire/`
: Ethernet wire, connects to Ethernet channels together:w
-
`net_wire/`
: Ethernet wire, connects to Ethernet channels together:w
# Building
-
External dependencies for qemu:
`libglib2.0-dev libpixman-1-dev`
-
External dependencies for gem5:
`scons`
## Running Qemu
## Running Qemu
1.
Clone from here:
`github.com:FreakyPenguin/qemu-cosim.git`
1.
Clone from here:
`github.com:FreakyPenguin/qemu-cosim.git`
2.
Build with
`./configure --target-list=x86_64-softmmu --disable-werror --extra-cflags="-I$PATH_TO_THIS_REPO/proto" --enable-cosim-pci`
2.
Build with
`./configure --target-list=x86_64-softmmu --disable-werror --extra-cflags="-I$PATH_TO_THIS_REPO/proto" --enable-cosim-pci`
...
@@ -30,8 +34,9 @@ x86_64-softmmu/qemu-system-x86_64 \
...
@@ -30,8 +34,9 @@ x86_64-softmmu/qemu-system-x86_64 \
## Running Gem5
## Running Gem5
1.
Clone from here:
`git@github.com:nicklijl/gem5.git`
1.
Clone from here:
`git@github.com:nicklijl/gem5.git`
2.
Build with:
`scons build/X86/gem5.opt -jX`
(with
`X`
set to # cores)
2.
Build with:
`scons build/X86/gem5.opt -jX`
(with
`X`
set to # cores)
3.
run dummy nic:
`rm -rf /tmp/cosim-pci; ./dummy_nic`
3.
`echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid`
4.
To run for example:
4.
run dummy nic:
`rm -rf /tmp/cosim-pci; ./dummy_nic`
5.
To run for example:
```
```
./build/X86/gem5.opt \
./build/X86/gem5.opt \
configs/cosim/cosim.py \
configs/cosim/cosim.py \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment