Skip to content

Commit

Permalink
constant integration updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaise Tine committed Nov 16, 2020
1 parent 18ff70b commit 77bca2d
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ script:
- ci/blackbox.sh -run_2c
- ci/blackbox.sh -run_4c
- ci/blackbox.sh -run_4c_l2
- ci/blackbox.sh -run_8c_2l2
- ci/blackbox.sh -run_16c_4l2_l3
#- travis_wait 30 ci/blackbox.sh -run_8c_2l2
#- travis_wait 30 ci/blackbox.sh -run_4c_2l2_l3
#- travis_wait 30 ci/blackbox.sh -run_8c_4l2_l3

after_success:
# Gather code coverage
Expand Down
3 changes: 3 additions & 0 deletions ci/blackbox.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

# exit when any command fails
set -e

run_1c()
{
# test single core
Expand Down
3 changes: 3 additions & 0 deletions ci/prebuilt.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# exit when any command fails
set -e

OS_DIR=ubuntu/bionic
SRCDIR=/opt
DESTDIR=.
Expand Down
3 changes: 3 additions & 0 deletions ci/test_driver.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash

# exit when any command fails
set -e

make -C driver/tests run
3 changes: 3 additions & 0 deletions ci/test_opencl.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh

# exit when any command fails
set -e

make -C benchmarks/opencl run
3 changes: 3 additions & 0 deletions ci/test_riscv_isa.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash

# exit when any command fails
set -e

make -C hw/simulate run
3 changes: 3 additions & 0 deletions ci/test_runtime.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash

# exit when any command fails
set -e

make -C runtime/tests run
3 changes: 3 additions & 0 deletions ci/toolchain_install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# exit when any command fails
set -e

REPOSITORY=https://github.com/vortexgpgpu/vortex-toolchain-prebuilt/raw/master

riscv()
Expand Down
2 changes: 1 addition & 1 deletion driver/opae/vlsim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DBG_PRINT_FLAGS += -DDBG_PRINT_SCOPE
DBG_FLAGS += $(DBG_PRINT_FLAGS)
DBG_FLAGS += -DDBG_CACHE_REQ_INFO

#CONFIGS ?= -DNUM_CLUSTERS=2 -DNUM_CORES=4 -DL2_ENABLE=1 -DL3_ENABLE=1
#CONFIGS ?= -DNUM_CLUSTERS=2 -DNUM_CORES=4 -DL2_ENABLE=1 -DL3_ENABLE=1
#CONFIGS ?= -DNUM_CLUSTERS=1 -DNUM_CORES=4 -DL2_ENABLE=1
CONFIGS ?= -DNUM_CLUSTERS=1 -DNUM_CORES=2 -DL2_ENABLE=0
#CONFIGS ?= -DNUM_CLUSTERS=1 -DNUM_CORES=1
Expand Down
2 changes: 1 addition & 1 deletion driver/rtlsim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DBG_PRINT_FLAGS += -DDBG_PRINT_SCOPE
DBG_FLAGS += $(DBG_PRINT_FLAGS)
DBG_FLAGS += -DDBG_CACHE_REQ_INFO

#CONFIGS ?= -DNUM_CLUSTERS=2 -DNUM_CORES=4 -DL2_ENABLE=1
#CONFIGS ?= -DNUM_CLUSTERS=2 -DNUM_CORES=4 -DL2_ENABLE=1 -DL3_ENABLE=1
#CONFIGS ?= -DNUM_CLUSTERS=1 -DNUM_CORES=4 -DL2_ENABLE=1
CONFIGS ?= -DNUM_CLUSTERS=1 -DNUM_CORES=2 -DL2_ENABLE=0
#CONFIGS ?= -DNUM_CLUSTERS=1 -DNUM_CORES=1
Expand Down
4 changes: 2 additions & 2 deletions hw/rtl/cache/VX_bank.v
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,8 @@ module VX_bank #(

`ifdef DBG_PRINT_CACHE_BANK
always @(posedge clk) begin
if (miss_st3 && (incoming_st0_fill_st3 || incoming_st1_fill_st3 || incoming_st2_fill_st3)) begin
$display("%t: incoming fill - addr=%0h, st0=%b, st1=%b, st2=%b", $time, `LINE_TO_BYTE_ADDR(addr_st3, BANK_ID), incoming_st0_fill_st3, incoming_st1_fill_st3, incoming_st2_fill_st3);
if (miss_st3 && incoming_fill) begin
$display("%t: incoming fill - addr=%0h, st3=%b, dfp=%b", $time, `LINE_TO_BYTE_ADDR(addr_st3, BANK_ID), incoming_fill_st3, incoming_fill_dfp_st3);
assert(!is_msrq_st3);
end
if (pipeline_stall) begin
Expand Down

0 comments on commit 77bca2d

Please sign in to comment.