Digital logic is the representation of signals and sequencing of a digital circuit. It is the basis for digital computing. (Note: There is the Electrical Engineering Stack Exchange website which is more suited to asking questions on hardware.)
Questions tagged [digital-logic]
229 questions
-1
votes
1 answer
How to build a xnor gate using 4 xor gates
I'm trying to do an exercise, and it says to build a xnor gate using only 4 xor gate, and i'm having quite alot of trouble. Can someome give me a hand!

Breno Lopes
- 1
- 3
-1
votes
4 answers
Truth Table Generation
Anybody have thoughts on generating a row of a truth table with out creating the entire table. For example, a user would enter in a row number and that truth table row is generated. Also, this should be done without creating the table until you get…

user2899525
- 105
- 10
-1
votes
1 answer
What are asynchronous circuits?
there are combination and sequential circuits.In sequential circuits there is memory element used. is asynchronous circuit also used flip flop like memory element in circuit. and how they are unstable which make it poor choice for circuit. how can…

user36036
- 137
- 8
-1
votes
3 answers
Does modeling digital circuits in C have any practical benefits as opposed using the language's standard operations?
So I've start looking into digital circuit designs and enlightened to find that almost every operation (that I'm aware of), all derive from 3 logical operations: AND, OR, and NOT. As an analogy, these are sort of like subatomic particles to atoms…

Chad Harrison
- 2,836
- 4
- 33
- 50
-1
votes
1 answer
how to reduce truth table with large number of input variables
Algos to reduce the expression generated by truth table having number of input variable greater then 6.
More generic question would be::
Algos to reduce the expression generated by truth table having number of input variable n :where n > 6

Bhuvan
- 4,028
- 6
- 42
- 84
-1
votes
1 answer
VHDL Error (Simple Expression Expected)
I'm new to VHDL and I'm having a problem with my code that I can't seem to fix. We're supposed to do this using either selected signal assignment or table lookup. Mine is kind of a combination of the two since we are supposed to use don't cares for…

audiFanatic
- 2,296
- 8
- 40
- 56
-1
votes
1 answer
how to solve this boolean algrbra expression
I would like help simplifying this boolean algebra expression:
B*C + ~A*~B + ~A*~C => A*B*C + ~A
I need to know the steps of how to simplify it to the ABC + ~A
'*' indicates "AND"
'+' indicates "OR"
"~A" indicates "A NOT"
Any help would be…

Paigentry
- 78
- 1
- 6
-1
votes
3 answers
How to Improve my experience in VHDL?
I'm a student in the faculty of Electronic Engineering and we've studied VHDL basics last year and I want to improve my experience in this field and the field of digital design, I want to be an expert in this field. How can I do this? I searched the…

Salahuddin
- 1,617
- 3
- 23
- 37
-2
votes
1 answer
How to implement the Boolean function = + ′′ + ′ with NAND and NOT gates
I have done the problem with AND , OR and NOT gates but cant figure out how to do with NAND and NOT gates.
I dont know how to implement the NAND gate for this boolean expression.

NITIN KUMAR
- 1
- 1
-2
votes
4 answers
Understanding the functioning of 'and' and 'or'
Here's a doubt I am facing here.
The code with its purpose in docstring is below :
This is the correct code but I am confused about the final 'if statement' in the blackjack_hand_greater_than(a,b) function.
Here, the 'if statement' is not True for…

novice
- 3
- 2
-2
votes
1 answer
Encoder number of outpus for opcode within a MIPS machine instruction
If I have an encoder with 8 data inputs, what is its maximum number of outputs?
I know that an encoder is a combinational circuit that performs the reverse operation of a decoder. It has a maximum of 2^n input lines and ‘n’ output lines, hence it…

user1286550
- 101
- 1
- 6
-2
votes
1 answer
Latches are transparent to half of the clock cycle. Means?
I was reading a book for Digital Logic design using verilog coding and RTL synthesis. There was this sentence which is not clear to me - Latches are transparent to half of the clock cycle. Means?

kat_16
- 39
- 6
-2
votes
1 answer
Number of flip flop generated the Verilog code
How to count the number of flip-flops generated or used in the Verilog code without using any tool?

Vineet dubey
- 27
- 1
- 4
-2
votes
1 answer
Drawing half adder circuits
I am working with adder units, and specifically half adders.
At the moment I have the standard half-adder unit drawn up in Digital works, (just like the below image).
However, I have been asked to draw a half adder unit circuit using a selection…

Chris
- 55
- 1
- 1
- 4
-3
votes
0 answers
How to create a 4-bit circular shift register which shifts by 2 bits?
Question: Create a 4-bit circular right shift register. If the number is odd then it will shift 1 bit and if the number is even then it will shift 2 bits.
Input: 1110 (even number)
1st clock pulse: 1011
2nd clock pulse: 1110
I have created the 4-bit…

Ashik
- 5