added support for inside expressions (closes #28)

This commit is contained in:
Zachary Snow
2019-09-04 21:36:50 -04:00
parent 33bea9e694
commit 1a6e0ce9df
3 changed files with 22 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
module top;
initial begin : foo
reg [1:0] a;
for (a = 0; a < 3; a++) begin
if (a == 2'b01 || a == 2'b00)
$display("fizz");
if (a == 2'b10)
$display("buzz");
end
end
endmodule