Commit 60a6c4d0 authored by lvs's avatar lvs
Browse files

corrected include kernel files + first pass sw_emu


Former-commit-id: 870f8b58
parent e4365599
......@@ -9,7 +9,9 @@ CXXFLAGS:=-Wall -O0 -g -std=c++14
#https://www.xilinx.com/html_docs/xilinx2018_1/sdsoc_doc/nts1517252127891.html
#CLFLAGS:= --xp "param:compiler.preserveHlsOutput=1" --xp "param:compiler.generateExtraRunData=true" -s
CLFLAGS:= --xp "param:compiler.version=31" --xp "param:compiler.preserveHlsOutput=1" --xp "param:compiler.generateExtraRunData=true" -s
#CLFLAGS:= --xp "param:compiler.version=31" --xp "param:compiler.preserveHlsOutput=1" --xp "param:compiler.generateExtraRunData=true" -s
CLFLAGS:= --xp "param:compiler.version=31" --xp "param:compiler.preserveHlsOutput=1" --xp "param:compiler.generateExtraRunData=true" -s -I./ -I../ -I./device
ifneq ($(REPORT),none)
CLFLAGS += --report $(REPORT)
......
......@@ -614,7 +614,7 @@ EXES=helloworld
# Kernel
#vector_addition_SRCS=./src/vector_addition.cl
vector_addition_SRCS=./device/Krnl_GA.cl
#vector_addition_SRCS=$(wildcard ./device/*.cl)
XOS=vector_addition
......
......@@ -155,7 +155,7 @@ while(valid) {
write_channel_altera(chan_LS2Arbiter_LS2_end, (rho < DockConst_rho_lower_bound)?true:false);
*/
bool tmp_bool = (rho < DockConst_rho_lower_bound)?true:false;
write_pipe_block(chan_LS2Arbiter_LS2_end, tmp_bool);
write_pipe_block(chan_LS2Arbiter_LS2_end, &tmp_bool);
#endif
/*
mem_fence(CLK_CHANNEL_MEM_FENCE);
......
......@@ -155,7 +155,7 @@ while(valid) {
write_channel_altera(chan_LS2Arbiter_LS8_end, (rho < DockConst_rho_lower_bound)?true:false);
*/
bool tmp_bool = (rho < DockConst_rho_lower_bound)?true:false;
write_pipe_block(chan_LS2Arbiter_LS8_end, tmp_bool);
write_pipe_block(chan_LS2Arbiter_LS8_end, &tmp_bool);
#endif
/*
mem_fence(CLK_CHANNEL_MEM_FENCE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment