Question: given this : parameter P 1 = 2 4 ; localparam P 2 = 2 5 ; reg [ 7 : 0 ] y; .
given this :
parameter P;
localparam P;
reg : y;
initial
begin
# P;
# P;
# y PP;
end
This code contains errors, What are they?
A parameter doesnt need an in line
B P cannot be changed in the initial block in line
C P cannot be changed in the initial block in line
D y cannot be set to unsized number P P in line
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
