Question: Provided to you is a SystemVerilog procedural block. ` ` ` always _ comb begin y 1 _ o = 0 ; if ( en

Provided to you is a SystemVerilog procedural block.
```
always_comb begin
y1_o =0;
if (en_i) begin
yO_o = x0_i;
y1_o = x1_q;
end
end
```
Answer the following multiple choice questions according to the "lowRISC Verilog Coding Style Guide" and the "IEEE 1800-2023 SystemVerilog Standard Section 9.2.2.2".
1. The _q suffix denotes that x 1 q is a
a. internal net.
b. input.
c. output.
d. flip-flop input.
e. flip-flop output.
2. The _o suffix denotes that y0_o and y1_o are
a. internal nets.
b. inputs.
c. outputs.
d. flip-flop inputs.
e. flip-flop outputs.
3. The procedural block will produce the following:
a. A MUX2 that drives y0_o and a MUX2 that drives y1_o.
b. A MUX2 that drives xo_i and a MUX2 that drives x1_i.
c. A MUX2 that drives y1_o and a Latch that drives y0_o.
d. A warning/error message that a latch is inferred.
4. What if any changes are required to ensure the behavior of this procedural block produces purely combinational logic?
a. No changes needed.
b. y1_o should not be set to 0 at the top of the procedural block.
c. y0_o should be set to 0 at the top of the procedural block.
d. The if statement should be removed because if statements cannot produce combinational logic.
Provided to you is a SystemVerilog procedural

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!