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)


y = a & b;



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
State the Relative addressing The location of data is specified relative to current value of the program counter. This is helpful for specifying location of data which is given

Differentiate between asynchronous and synchronous types of serial communication. Serial data communication uses two fundamental types, asynchronous andsynchronous. With synchr

Magento supports installation of modules by a web-based interface accessible by the administration area of a Magento installation. Modules are hosted on the Magento eCommerce websi

Is it possible to create graph form spreadsheets For example IF G5 > 100 THEN "Y" ELSE "N" -  It's also possible to create graphs and charts from spreadsheets (such as using

Branch (control) hazards in computer architecture : Branching hazards (also called control hazards) take place when the processor is told to branch -for example, if a defin

Existential Elimination : Now we have a sentence, A, is with an  existentially quantified variable, v, so then just for every constant symbol k, that it does not appear anywhe

What is program controlled I/O? In program controlled I/O the processor repeatedly checks a status flag to achieve the needed synchronization among the processor and an input a

What is smoke testing? Smoke testing is a combined approach that is generally used when "shrinkwrapped" software products are being developed.

Double Negation - Artificial intelligence: Always parents are correcting their children for the use of double negatives, but we have to be very alert with them in natural langu

Q. Illustrate what is a ion pair energy? Answer:- Ion energy contains electric charges called protons (+) and neutrons (0) and electrons (-) charges. It's present in an at