convert always_comb assignments
[sv2nmigen.git] / examples / always_comb.sv
1 module always_comb_test(
2 output first_hit,
3 output multi_hit
4 );
5
6 always_comb begin : HIT_CHECK
7 first_hit = 0;
8 multi_hit = 0;
9 out_addr = 0;
10 cache_coherent = 1;
11 if(cond) begin
12 cache_coherent_if = 1;
13 end else begin
14 cache_coherent_else = 0;
15 end
16 end
17
18 endmodule