mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 05:47:35 -04:00
regression fixes
This commit is contained in:
parent
178f4d67fa
commit
527910b31e
3 changed files with 9 additions and 12 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -116,9 +116,6 @@ jobs:
|
|||
matrix:
|
||||
name: [regression, opencl, config, cluster, debug, stress]
|
||||
xlen: [32, 64]
|
||||
exclude:
|
||||
- name: config
|
||||
xlen: 64
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
|
@ -18,9 +18,11 @@
|
|||
#ifdef AXI_BUS
|
||||
#include "VVortex_axi.h"
|
||||
#include "VVortex_axi__Syms.h"
|
||||
typedef VVortex_axi Device;
|
||||
#else
|
||||
#include "VVortex.h"
|
||||
#include "VVortex__Syms.h"
|
||||
typedef VVortex Device;
|
||||
#endif
|
||||
|
||||
#ifdef VCD_OUTPUT
|
||||
|
@ -334,7 +336,7 @@ private:
|
|||
auto mem_rsp_it = pending_mem_reqs_.begin();
|
||||
auto mem_rsp = *mem_rsp_it;
|
||||
/*
|
||||
printf("%0ld: [sim] MEM Rsp: addr=%0lx, data=", timestamp, mem_rsp->addr);
|
||||
printf("%0ld: [sim] MEM Rd Rsp: addr=%0lx, data=", timestamp, mem_rsp->addr);
|
||||
for (int i = 0; i < MEM_BLOCK_SIZE; i++) {
|
||||
printf("%02x", mem_rsp->block[(MEM_BLOCK_SIZE-1)-i]);
|
||||
}
|
||||
|
@ -420,7 +422,7 @@ private:
|
|||
mem_req->tag = device_->m_axi_awid[0];
|
||||
mem_req->addr = device_->m_axi_awaddr[0];
|
||||
mem_req->write = true;
|
||||
mem_req->ready = false;
|
||||
mem_req->ready = true;
|
||||
pending_mem_reqs_.emplace_back(mem_req);
|
||||
|
||||
// send dram request
|
||||
|
@ -581,7 +583,7 @@ private:
|
|||
private:
|
||||
|
||||
typedef struct {
|
||||
VVortex *device;
|
||||
Device* device;
|
||||
std::array<uint8_t, MEM_BLOCK_SIZE> block;
|
||||
uint64_t addr;
|
||||
uint64_t tag;
|
||||
|
@ -589,11 +591,8 @@ private:
|
|||
bool ready;
|
||||
} mem_req_t;
|
||||
|
||||
#ifdef AXI_BUS
|
||||
VVortex_axi *device_;
|
||||
#else
|
||||
VVortex *device_;
|
||||
#endif
|
||||
Device* device_;
|
||||
|
||||
#ifdef VCD_OUTPUT
|
||||
VerilatedVcdC *trace_;
|
||||
#endif
|
||||
|
|
3
third_party/Makefile
vendored
3
third_party/Makefile
vendored
|
@ -5,8 +5,9 @@ fpnew:
|
|||
softfloat:
|
||||
SPECIALIZE_TYPE=RISCV SOFTFLOAT_OPTS="-fPIC -DSOFTFLOAT_ROUND_ODD -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV32TO16 -DSOFTFLOAT_FAST_DIV64TO32" $(MAKE) -C softfloat/build/Linux-x86_64-GCC
|
||||
|
||||
ramulator:
|
||||
ramulator/build:
|
||||
cd ramulator && mkdir -p build && cd build && cmake .. && make -j4
|
||||
ramulator: ramulator/build
|
||||
|
||||
clean:
|
||||
$(MAKE) -C softfloat/build/Linux-x86_64-GCC clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue