Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
tinebp committed Sep 17, 2024
1 parent f2c1ad7 commit 8908f3e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hw/syn/xilinx/xrt/gen_xo.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if {[file exists "${xoname}"]} {

set argv [list ${build_dir}/ip]
set argc 1
source ${script_path}/gen_ip.tcl
source ${script_path}/xilinx_ip_gen.tcl

set argv [list ${krnl_name} ${vcs_file} ${tool_dir} ${build_dir}]
set argc 4
Expand Down
5 changes: 5 additions & 0 deletions runtime/xrt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ ifdef SCOPE
SRCS += $(COMMON_DIR)/scope.cpp
endif

# Enable ILA logic analyzer
ifdef CHIPSCOPE
CXXFLAGS += -DCHIPSCOPE
endif

all: $(DESTDIR)/$(PROJECT)

driver: $(DESTDIR)/libxrtsim.so
Expand Down
12 changes: 5 additions & 7 deletions runtime/xrt/vortex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,6 @@ static int get_platform_info(const std::string &device_name,
return -1;
}

/*
static void wait_for_enter(const std::string &msg) {
std::cout << msg << std::endl;
std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
}
*/

///////////////////////////////////////////////////////////////////////////////

class vx_device {
Expand Down Expand Up @@ -390,6 +383,11 @@ class vx_device {
}
#endif

#ifdef CHIPSCOPE
std::cout << "\nPress ENTER to continue after setting up ILA trigger..." << std::endl;
std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
#endif

return 0;
}

Expand Down

0 comments on commit 8908f3e

Please sign in to comment.