3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

Blocking assignment

This commit is contained in:
Eddie Hung 2019-08-23 09:11:04 -07:00
parent 51ffb093b5
commit 10c41a5cf5

View file

@ -13,7 +13,7 @@ module test(input clk, input [3:0] bar, output [3:0] foo);
last_bar <= bar;
always @*
asdf[2:0] <= 3'b111;
asdf[2:0] = 3'b111;
assert property (foo == {last_bar[3:2], bar[1:0]});
endmodule