Register data type as combinational element, Computer Engineering

Reg data type as Combinational element

module reg_combo_example( a, b, y);

input a, b;

output y;

reg y;

wire a, b;

always @ ( a or b)

begin

y = a & b;

end

endmodule

This gives the same output as that of assign statement, with the only difference that y is declared as  reg.  There  are  distinct  benefits to  have  reg  modeled  as  combinational  element;  reg  type  is useful when a "case" statement is required.

 

Posted Date: 9/17/2013 1:36:20 AM | Location : United States







Related Discussions:- Register data type as combinational element, Assignment Help, Ask Question on Register data type as combinational element, Get Answer, Expert's Help, Register data type as combinational element Discussions

Write discussion on Register data type as combinational element
Your posts are moderated
Related Questions
Acting Rationally: "Al" Capone was finally convicted for tax evasion. Were the police reacting on rationally?? To solve this puzzle, we must first look at how the performance


What is software interrupt?   A software interrupt is initiated by implementing an instruction.  Software interrupt is a special call instruction that behaves like an interrupt

Background and foreground colors can be interchanged using the command?? Format Inverse command.

The Purpose of POINTER phrase is to verify the leftmost position within receiving field where the first transferred character will be kept

Q. Explain about Cathode Ray Tubes? Cathode ray tube is the major technology on that televisions and monitors have been based.  CRT is a partially evacuated glass tube which is

Q. Illustration of Display on Video Monitor? Displaying a single character ; display contents of BL register (Presume that it has a single character) MOV AH, 02H MOV D

If quicksort is so quick, why bother with anything else? If bubble sort is so bad, why even mention it? For that matter, why are there so many sorting algorithms?

Generally the Instruction Set Architecture (ISA) of a processor can be distinguished using five categories:  Operand Storage in the CPU - Where are the operands kept other t

INTERRUPT METHOD - USING PORTB CHANGE INTERRUPT By using 4 by 4 matrix keypad connected to PORTA and PORTB. The rows are connected to PORTA-Low (RA1-RA4) and the columns are co