~shiny/gbcap

bf45ec68bedee9b10062c62f58e1ee7a3d533b40 — Thomas Spurden 3 years ago bc05fb5
Make gbcap verilator testbench less verbose

Just print a line per input frame, not per input line
1 files changed, 4 insertions(+), 1 deletions(-)

M gbcap_tb_wrap.cpp
M gbcap_tb_wrap.cpp => gbcap_tb_wrap.cpp +4 -1
@@ 58,7 58,10 @@ int main(int argc, char **argv)

		if(!no_more_lines && line_idx != last_line) {
			last_line = line_idx;
			fprintf(stderr, "input: line %d %d.%d (%u)\n", line_idx, line_idx / 154, line_in_frame, sys_clk);
			if(line_in_frame == 0) {
				fprintf(stderr, "input: frame %d (%u)\n", line_idx / 154, sys_clk);
			}
			//fprintf(stderr, "input: line %d %d.%d (%u)\n", line_idx, line_idx / 154, line_in_frame, sys_clk);
			if(line_in_frame < 144) {
				if(!read_line(stdin, top->line_pads_data)) {
					no_more_lines = true;