-
Notifications
You must be signed in to change notification settings - Fork 12
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
Final changes for BlackParrot integration #7
base: black-parrot
Are you sure you want to change the base?
Changes from 3 commits
d3a818c
c4d8f32
a509765
9ded7e8
c4c6e5f
da77c23
274a517
204f3e8
5943677
5a2de3b
c48a5dd
85f552f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ | |
# create mem.image | ||
#riscv64-unknown-elf-objcopy --reverse-bytes 4 -I elf32-littleriscv -O binary diag.exe diag.o | ||
${RV64_TARGET_TRIPLE}-objcopy -I elf64-littleriscv -O binary diag.exe diag.o | ||
cp diag.exe prog.elf | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this for? |
||
# pad with zero to 128byte boundary | ||
du diag.o -b | awk '{print(128 - ($1 % 128));}' | xargs -t -ISIZE truncate diag.o -s +SIZE | ||
printf "\n@0000000080000000\t// Section '.RED_SEC', segment 'text'\n" >mem.image | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
# Format: | ||
# BlockID BlockPath Supported Board,Frequency(MHz),DDRSize(Mbytes) | ||
piton_aws ../../build/f1/piton_aws/design f1,62.5,4096 | ||
system . vc707,60,1024;genesys2,66.667,1024;nexysVideo,30,512;vcu118,100,2048;xupp3r,60,32768 | ||
system . vc707,60,1024;genesys2,25,1024;nexysVideo,30,512;vcu118,100,2048;xupp3r,60,32768 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still not excited about this - do we have a sense of the manually retimed FPU's timing? |
||
chipset chipset genesys2,66.667,1024;piton_board,50,0 | ||
passthru passthru piton_board,100,0 | ||
passthru_loopback fpga_tests/passthru_loopback piton_board,100,0 | ||
|
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2676,6 +2676,7 @@ sub parse_args | |
'gui!', | ||
'log_all!', | ||
'debug_all!', | ||
'debug_pp!', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this one vs debug_all? Can you just use it via |
||
'ibm!', | ||
'ed_enable!', | ||
'ed_sync_method=s', | ||
|
@@ -2900,6 +2901,9 @@ sub parse_args | |
# | ||
push (@{$opt{sim_run_args}}, "-gui") if ($opt{gui}) ; | ||
push (@{$opt{vcs_build_args}}, "-debug_all") if ($opt{debug_all}) ; | ||
push (@{$opt{vcs_build_args}}, "-debug_pp") if ($opt{debug_pp}) ; | ||
push (@{$opt{vcs_build_args}}, "-CFLAGS \"-I/mnt/users/ssd1/homes/svijay97/BlackParrot/black-parrot-sdk/include -std=c++14\"") ; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll change the path to a generic one There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please do. It's also not being conditionally added? |
||
push (@{$opt{vcs_build_args}}, "/mnt/users/ssd1/homes/svijay97/BlackParrot/black-parrot-sdk/lib/libdromajo_cosim.a") ; | ||
|
||
# Push optional execution drafting enable | ||
push (@{$opt{midas_args}}, "-DED_ENABLE") if ($opt{ed_enable}); | ||
|
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.
This didn't end up helping much, right? Should we keep this out and wait for the manually retimed FPU?