Cleanup space issues

This commit is contained in:
Cary R 2024-01-20 11:25:35 -08:00
parent f781940444
commit d42f97ecbe
4 changed files with 10 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);