What are the blocking and non-blocking assignments in Verilog and which is preferred in Sequential Circutis?
Correct Answer
A blocking assignment is one in which the statements are executed sequentially, ie, first statement is executed and variable is assigned a value then second is executed and so on A non blocking assignment is one in which statements occurs conturrently, only non blocking assignments should be used in sequential circuit eg initial begin a=b; //blocking c<=a; //nonblocking d=c; // blocking end In this example firstly the value of b is assigned to a and this value is assigned to c only after execution of first statement the second and the third statements are executed simultaneously, ie value a ais assigned to c and previous value if c is assigned to d
Correct Answer: The Quality Factor is also defined, as Q So it is a number, which reflects the lossness of a circuit higher the Q, the lower are the losses the quality factor is measurement of efficiency (or effectiveness) of a device or circuitry In literal sense quality factor means qualitative performance of a device
Correct Answer: Program counter holds the address of either the first byte of the next instruction to be fetched for exectuion or the address of the next byte of a multi byte instruction, which has not beeb completely fetched in both the cases it gets increnented automatically one by one as the instruction bytes get fetched Also Program register keeps the address of the next instruction
6. Write an RTL Description for D latch and D flip flop?
Correct Answer: stack is portion of RAM used for saving the content of Program Counter and general purpose registers LIFO stacks, also known as "push down" stacks, are the conceptually simplest way of saving information in a temporary storage location for such common computer operations as mathematical expression evaluation and recursive subroutine calling
Correct Answer: Flag is a flip-flop used to store the information about the status of a processor and the status of the insturction executed most recently A software or hardware mark that signals a particular condition or status A flag is like a switch that can be either on or off The flag said to be set when it is turned on
Correct Answer: compiler is used to translate the high-level language program into machine code at a time It doesn't require special instruction to store in a memory, it stores automatically the execution time is less compared interpreter A compiler is a program that translates a source program written in some high-level programming langualge (such as Java) into machine code for some computer architecture (such as the Inter Pentium archiecture)
10. Which transistor is used in each cell of EPROM?