blackbox.sh update

This commit is contained in:
Blaise Tine 2020-11-21 16:01:31 -08:00
parent 736c822d06
commit 93fb036c4f
2 changed files with 14 additions and 14 deletions

View file

@ -112,21 +112,21 @@ echo "CONFIGS=$CONFIGS"
make -C $DRIVER_PATH clean make -C $DRIVER_PATH clean
if [[ $DEBUG -eq 1 ]] if [ $DEBUG -eq 1 ]
then then
if [[ $SCOPE -eq 1 ]] if [ $SCOPE -eq 1 ]
then then
DEBUG=1 SCOPE=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1 DEBUG=1 SCOPE=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1
else else
DEBUG=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1 DEBUG=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1
fi fi
make -C $APP_PATH run-$DRIVER > run.log 2>&1
else else
if [[ $SCOPE -eq 1 ]] if [ $SCOPE -eq 1 ]
then then
SCOPE=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1 SCOPE=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1
else else
CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1
fi fi
make -C $APP_PATH run-$DRIVER
fi fi
make -C $APP_PATH run-$DRIVER > run.log 2>&1

View file

@ -4,9 +4,9 @@ module VX_cache #(
parameter CACHE_ID = 0, parameter CACHE_ID = 0,
// Size of cache in bytes // Size of cache in bytes
parameter CACHE_SIZE = 4096, parameter CACHE_SIZE = 8092,
// Size of line inside a bank in bytes // Size of line inside a bank in bytes
parameter BANK_LINE_SIZE = 16, parameter BANK_LINE_SIZE = 64,
// Number of banks // Number of banks
parameter NUM_BANKS = 4, parameter NUM_BANKS = 4,
// Size of a word in bytes // Size of a word in bytes
@ -15,20 +15,20 @@ module VX_cache #(
parameter NUM_REQUESTS = 4, parameter NUM_REQUESTS = 4,
// Core Request Queue Size // Core Request Queue Size
parameter CREQ_SIZE = 8, parameter CREQ_SIZE = 4,
// Miss Reserv Queue Knob // Miss Reserv Queue Knob
parameter MRVQ_SIZE = 8, parameter MRVQ_SIZE = 8,
// DRAM Response Queue Size // DRAM Response Queue Size
parameter DRFQ_SIZE = 8, parameter DRFQ_SIZE = 4,
// Snoop Req Queue Size // Snoop Req Queue Size
parameter SNRQ_SIZE = 8, parameter SNRQ_SIZE = 4,
// Core Writeback Queue Size // Core Writeback Queue Size
parameter CWBQ_SIZE = 8, parameter CWBQ_SIZE = 4,
// DRAM Request Queue Size // DRAM Request Queue Size
parameter DREQ_SIZE = 8, parameter DREQ_SIZE = 4,
// Snoop Response Size // Snoop Response Size
parameter SNPQ_SIZE = 8, parameter SNPQ_SIZE = 4,
// Enable cache writeable // Enable cache writeable
parameter WRITE_ENABLE = 1, parameter WRITE_ENABLE = 1,