Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 24-01-2010, 07:22 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Mar 2008
Location: At my Home :) .. Jodhpur
Posts: 35
Question AND gate implementation


hi friends...

i am writing code for PODEM algo...

here i m encountering problem with implementation of AND gate whose input can be 1,0,x.

x denotes "don't care" condition i.e. it can be either 1 or 0 we dont know..

also we do not know how many inputs the gate will have. it may be 2,3,4,5 and so on..but not max thn 15 inputs at present...

so can you please tell me how to write a general code for AND gate for any number of inputs which can have values 1,0,x...
__________________
!> I-I /-\ \/\/ /-\ l_
dhawalsant is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Magazines for CAT and GATE slugger Chit-Chat 2 09-05-2008 11:55 PM
Gate exams Official Techie QnA (read only) 1 30-05-2007 08:22 AM
Flash memory-Principle of working Digit_Dragon Technology News 2 13-03-2007 11:39 AM
All who have done or are doing GATE help me (also a C++ query) tukaibatman Programming 5 04-02-2007 05:58 PM
Universal Gate executioner QnA (read only) 5 06-09-2006 08:13 PM

 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 03:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2