-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling Proxy-Kernel Execution #82
base: profiling-rebase
Are you sure you want to change the base?
Conversation
update Adding CVA6 event metrics Adding BP event metrics cleanup Ariane issue profiler Adding more metrics BP scoreboard fix BP D$ fail counters Enabling BP counter enable before NBF load update update 2 update Fix to nbf_load L2 updates
SIM_ARGS += $(NBF_FILE) | ||
HOST_PROGRAM ?= $(abspath ../ps.cpp) | ||
ifdef PK | ||
HOST_PROGRAM += $(abspath $(shell find ../htif/ -name '*.cc')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than combining the .cc into the main compilation, it's better practice to compile a htif.o and link it to main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
htif uses zpl and ps address mapping, and ps instastiates an htif object, so they're pretty intertwined and I thought it's just easier to build them together.
@@ -0,0 +1,101 @@ | |||
// See LICENSE for license details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where's this code from? Should put in black-parrot-sdk?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PK part is going to go into perch. This part is not compiled into the program and runs on the host.
@@ -0,0 +1,64 @@ | |||
#include "bsg_zynq_pl.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can keep in header after htif.o change
Is there a PR for the subsystems change? |
This PR is based on the profiling PR, so I pushed the submodule changes to their profiling branch, and we can create the PRs when we want to merge to master. |
1ac8298
to
b91bd8e
Compare
8c8abfa
to
4dec037
Compare
4dec037
to
0bdae41
Compare
This PR makes the following changes so we can run PK programs on Zynq-Parrot:
0x10000
for tohost/fromhost handshake with HTIF code.Changes to submodules:
blackparrot
: Adding L2 manipulation commands tocce2cache
module.black-parrot-subsystems
: Fixing width gearboxing inbp_me_axil_master
basejump_stl
: Addingbsg_nonsynth_axi_mem_dma