Skip to content

Commit

Permalink
Update generate-ckpt loadarch formats to match spike
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Jun 29, 2024
1 parent 21723ea commit 877063c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/testchipip
3 changes: 2 additions & 1 deletion scripts/generate-ckpt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ echo "quit" >> $CMDS_FILE
echo "spike -d --debug-cmd=$CMDS_FILE $SPIKEFLAGS $BINARY" > $SPIKECMD_FILE

echo "Capturing state at checkpoint to spikeout"
spike -d --debug-cmd=$CMDS_FILE $SPIKEFLAGS $BINARY 2> $LOADARCH_FILE
echo $NHARTS > $LOADARCH_FILE
spike -d --debug-cmd=$CMDS_FILE $SPIKEFLAGS $BINARY 2>> $LOADARCH_FILE


echo "Finding tohost/fromhost in elf file"
Expand Down

0 comments on commit 877063c

Please sign in to comment.