Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move bsg_print_stat_snoop to bsg_manycore #794

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libraries/platforms/bigblade-vcs/execution.mk
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ dve: debug.vpd
platform.execution.clean:
rm -rf saifgen.log exec.log profile.log exec.log debug.vpd
rm -rf vanilla_stats.csv
rm -rf simple_stats.csv
rm -rf infinite_mem_stats.csv
rm -rf vcache_stats.csv
rm -rf vanilla_operation_trace.csv
Expand Down
3 changes: 1 addition & 2 deletions libraries/platforms/bigblade-vcs/hardware.mk
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/instr_trace.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/vanilla_core_trace.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/vanilla_core_profiler.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/vanilla_core_pc_histogram.v
# We reuse the print_stat_snoop module from aws-vcs
VSOURCES += $(LIBRARIES_PATH)/platforms/aws-vcs/hardware/bsg_print_stat_snoop.v

VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/router_profiler.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/remote_load_trace.v
Expand All @@ -109,6 +107,7 @@ VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_manycore_io_co
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_manycore_spmd_loader.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_manycore_monitor.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_wormhole_test_mem.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_print_stat_snoop.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_manycore_testbench.v
VSOURCES += $(BASEJUMP_STL_DIR)/bsg_cache/bsg_wormhole_to_cache_dma_fanout.v

Expand Down
20 changes: 0 additions & 20 deletions libraries/platforms/bigblade-vcs/hardware/dpi_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ module replicant_tb_top
logic cache_clk;
logic cache_reset;

// Snoop wires for Print Stat
logic print_stat_v;
logic [bsg_machine_noc_data_width_gp-1:0] print_stat_tag;

logic [bsg_machine_noc_coord_x_width_gp-1:0] host_x_coord_li = (bsg_machine_noc_coord_x_width_gp)'(bsg_machine_io_coord_x_gp);
logic [bsg_machine_noc_coord_y_width_gp-1:0] host_y_coord_li = (bsg_machine_noc_coord_y_width_gp)'(bsg_machine_io_coord_y_gp);

Expand Down Expand Up @@ -336,22 +332,6 @@ module replicant_tb_top
,.ctr_r_o(global_ctr)
);

bsg_print_stat_snoop
#(
.data_width_p(bsg_machine_noc_data_width_gp)
,.addr_width_p(bsg_machine_noc_epa_width_gp)
,.x_cord_width_p(bsg_machine_noc_coord_x_width_gp)
,.y_cord_width_p(bsg_machine_noc_coord_y_width_gp)
)
print_stat_snoop
(
.loader_link_sif_in_i(host_link_sif_lo) // output from manycore
,.loader_link_sif_out_i(host_link_sif_li) // output from host

,.print_stat_v_o(print_stat_v)
,.print_stat_tag_o(print_stat_tag)
);

// In VCS, the C/C++ testbench is controlled by the
// simulator. Therefore, we need to "call into" the C/C++ program
// using the cosim_main function, during the initial block.
Expand Down
1 change: 1 addition & 0 deletions libraries/platforms/bigblade-verilator/execution.mk
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ dve: debug.vpd
platform.execution.clean:
rm -rf saifgen.log exec.log profile.log exec.log debug.vpd
rm -rf vanilla_stats.csv
rm -rf simple_stats.csv
rm -rf infinite_mem_stats.csv
rm -rf vcache_stats.csv
rm -rf vanilla_operation_trace.csv
Expand Down
3 changes: 1 addition & 2 deletions libraries/platforms/bigblade-verilator/hardware.mk
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/instr_trace.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/vanilla_core_trace.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/vanilla_core_profiler.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/vanilla_core_pc_histogram.v
# We reuse the print_stat_snoop module from aws-vcs
VSOURCES += $(LIBRARIES_PATH)/platforms/aws-vcs/hardware/bsg_print_stat_snoop.v

VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/router_profiler.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/remote_load_trace.v
Expand All @@ -121,6 +119,7 @@ VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_manycore_spmd_
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_manycore_monitor.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_wormhole_test_mem.v
VSOURCES += $(BASEJUMP_STL_DIR)/bsg_cache/bsg_wormhole_to_cache_dma_fanout.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_print_stat_snoop.v
VSOURCES += $(BSG_MANYCORE_DIR)/testbenches/common/v/bsg_nonsynth_manycore_testbench.v

VSOURCES += $(BASEJUMP_STL_DIR)/bsg_dataflow/bsg_serial_in_parallel_out_full.v
Expand Down