Questions
- Interfaces are useful for:
a) Encapsulating signals belonging together
b) Encapsulating functions, tasks, and assertions associated with the interface
c) Changing a design deeply embedded within other designs
d) All of the above
- Structures can be assigned by:
a) Component
b) Name
c) Interface
d) (a) and (b)
- Block labels allow easier matching of
begin…end
blocks.a) True
b) False
- If we want to exit a loop, we can use:
a)
break
on any loopb)
disable
on any loop labelc)
break
on an outer loop ordisable
on any loop label - Continue can be used to skip the rest of a loop.
a) True
b) False
- Queues are useful for:
a) Creating a flexible FIFO for use in verification
b) Creating a flexible FIFO for use in design and verification
c) Nothing
- The following code snippet does what?
initial begin   if (NUM_SEGMENTS != 4 || NUM_SEGMENTS != 8)     $fatal("This design only supports 4 or 8 segments");   end end
a) Causes a fatal...