Monday 15 July 2013

4 : 2 Encoder using Logical Gates (Verilog CODE).

4 : 2 Decoder Design using Logical Gates (Data Flow Modeling Style)-



Output Waveform :   4 : 2 Decoder


Verilog CODE -



//-----------------------------------------------------------------------------
//
// Title       : encoder4_2
// Design      : verilog upload
// Author      : Naresh Singh Dobal
// Company     : nsd
//
//-----------------------------------------------------------------------------
//
// File        : 4 to 2 Encoder Design using Logical Gates.v



module encoder4_2 ( a ,b ,c ,d ,x ,y );

output x ;
output y ;

input a ;
input b ;
input c ;
input d ;

assign x = b | d;
assign y = c | d;

endmodule

10 comments :

Unknown said...

why is the input 'a' never used?

Unknown said...

why is the input 'a' never used?

Unknown said...

why is the input 'a' never used?

Unknown said...

thank you sir for your wonderful work

sainu said...

thank you

sainu said...

thank you

Unknown said...

Send Bob and vagene

Unknown said...

Sir thanks

Unknown said...

Sir nanum Naresh dha sir

Lucky said...

Q. why is the input 'a' never used?
A. Use K-map for 4 to 2 encoder, you will get x=b+d , y=c+d.

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes