diff --git a/ci/blackbox.sh b/ci/blackbox.sh index cacf9d566..b87486e85 100755 --- a/ci/blackbox.sh +++ b/ci/blackbox.sh @@ -112,21 +112,21 @@ echo "CONFIGS=$CONFIGS" make -C $DRIVER_PATH clean -if [[ $DEBUG -eq 1 ]] +if [ $DEBUG -eq 1 ] then - if [[ $SCOPE -eq 1 ]] + if [ $SCOPE -eq 1 ] then DEBUG=1 SCOPE=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1 else DEBUG=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1 fi + make -C $APP_PATH run-$DRIVER > run.log 2>&1 else - if [[ $SCOPE -eq 1 ]] + if [ $SCOPE -eq 1 ] then SCOPE=1 CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1 else CONFIGS="$CONFIGS" make -C $DRIVER_PATH $DRIVER_EXTRA > build.log 2>&1 fi -fi - -make -C $APP_PATH run-$DRIVER > run.log 2>&1 \ No newline at end of file + make -C $APP_PATH run-$DRIVER +fi \ No newline at end of file diff --git a/hw/rtl/cache/VX_cache.v b/hw/rtl/cache/VX_cache.v index bf826a24a..01448b69a 100644 --- a/hw/rtl/cache/VX_cache.v +++ b/hw/rtl/cache/VX_cache.v @@ -4,9 +4,9 @@ module VX_cache #( parameter CACHE_ID = 0, // Size of cache in bytes - parameter CACHE_SIZE = 4096, + parameter CACHE_SIZE = 8092, // Size of line inside a bank in bytes - parameter BANK_LINE_SIZE = 16, + parameter BANK_LINE_SIZE = 64, // Number of banks parameter NUM_BANKS = 4, // Size of a word in bytes @@ -15,20 +15,20 @@ module VX_cache #( parameter NUM_REQUESTS = 4, // Core Request Queue Size - parameter CREQ_SIZE = 8, + parameter CREQ_SIZE = 4, // Miss Reserv Queue Knob parameter MRVQ_SIZE = 8, // DRAM Response Queue Size - parameter DRFQ_SIZE = 8, + parameter DRFQ_SIZE = 4, // Snoop Req Queue Size - parameter SNRQ_SIZE = 8, + parameter SNRQ_SIZE = 4, // Core Writeback Queue Size - parameter CWBQ_SIZE = 8, + parameter CWBQ_SIZE = 4, // DRAM Request Queue Size - parameter DREQ_SIZE = 8, + parameter DREQ_SIZE = 4, // Snoop Response Size - parameter SNPQ_SIZE = 8, + parameter SNPQ_SIZE = 4, // Enable cache writeable parameter WRITE_ENABLE = 1,