Question: 2 : given the following code; always @ ( posedge clk of negedge nrst ) if ( ! nrst ) a = 0 ; else

2: given the following code;
always @(posedge clk of negedge nrst)
if (!nrst ) a =0;
else if (b) a <=0;
else a = c ;
select all which are true:
A This is not synthesizable
B This is not good practice but is synthesizable
C The code is fine and is synthesizable
D The code needs to include a default value for a

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 Databases Questions!