From d42f97ecbe064eeb50697449235f2587d0522495 Mon Sep 17 00:00:00 2001 From: Cary R Date: Sat, 20 Jan 2024 11:25:35 -0800 Subject: [PATCH] Cleanup space issues --- ivtest/ivltests/array_slice_concat.v | 6 +++--- ivtest/ivltests/br_gh687.v | 4 ++-- ivtest/vpi/br_gh1041b.v | 7 +++---- tgt-vvp/vvp_proc_loops.c | 4 ++-- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ivtest/ivltests/array_slice_concat.v b/ivtest/ivltests/array_slice_concat.v index ced19865b1..658448528d 100644 --- a/ivtest/ivltests/array_slice_concat.v +++ b/ivtest/ivltests/array_slice_concat.v @@ -20,9 +20,9 @@ module top; reg [159:0] a; reg start; wire [95:0] out; - + ArraySliceWithNarrowStart dut(.a(a), .start(start), .out(out)); - + initial begin a = {32'h44444444, 32'h33333333, 32'h22222222, 32'h11111111}; start = 1; @@ -32,5 +32,5 @@ module top; $finish; end $display("PASSED"); - end + end endmodule diff --git a/ivtest/ivltests/br_gh687.v b/ivtest/ivltests/br_gh687.v index c609051713..e4a1682c6c 100644 --- a/ivtest/ivltests/br_gh687.v +++ b/ivtest/ivltests/br_gh687.v @@ -14,12 +14,12 @@ module top; initial begin pipe[0] = 1'b1; - + for (int j=0; j<10; j++) begin $display(pipe[9]); #2; end - + $finish(0); end endmodule diff --git a/ivtest/vpi/br_gh1041b.v b/ivtest/vpi/br_gh1041b.v index c4a6acc719..becdbdf8b8 100644 --- a/ivtest/vpi/br_gh1041b.v +++ b/ivtest/vpi/br_gh1041b.v @@ -2,17 +2,16 @@ module test(w); input wire w; wire a, b; - + initial begin #11 $finish; end assign b = 0; - + assign a = !w | b; - + always @(a) begin $display($time, ": Wire a is now ", a); end endmodule - diff --git a/tgt-vvp/vvp_proc_loops.c b/tgt-vvp/vvp_proc_loops.c index c5bf5831c3..a4ca55b7a7 100644 --- a/tgt-vvp/vvp_proc_loops.c +++ b/tgt-vvp/vvp_proc_loops.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2023 Stephen Williams (steve@icarus.com) + * Copyright (c) 2001-2024 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -120,7 +120,7 @@ int show_stmt_forloop(ivl_statement_t net, ivl_scope_t scope) rc += show_statement(ivl_stmt_init_stmt(net), scope); /* Top of the loop, draw the condition test. */ - fprintf(vvp_out, "T_%u.%u ; Top of for-loop \n", thread_count, top_label); + fprintf(vvp_out, "T_%u.%u ; Top of for-loop\n", thread_count, top_label); int use_flag = draw_eval_condition(ivl_stmt_cond_expr(net)); fprintf(vvp_out, " %%jmp/0xz T_%u.%u, %d;\n", thread_count, out_label, use_flag);