support procedural continuous assignments

This commit is contained in:
Zachary Snow
2022-05-10 12:11:32 -04:00
parent e778a671e1
commit effeded6d1
5 changed files with 44 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
module top;
reg [1:0] a, b;
wire [1:0] c, d;
initial begin
$monitor("%2d %b %b %b %b", $time, a, b, c, d);
#1 force c = 1;
#1 release c;
#1 force c = b;
#1 force d = a;
#1 release c;
#1 assign a = 1;
#1 assign a = 3;
#1 assign b = 2;
#1 a = 0;
#1 deassign a;
#1 a = 0;
#1 release d;
end
endmodule