Questions tagged [digital-logic]

Digital electronics treats discrete signals, unlike analog electronics that treat continuous signals. Digital logic is used to perform arithmetic operations with electric signals, and constitutes the base for building CPUs.

465 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
84 views

What is the proper way to implement hardware division when operand size is so much bigger than 16 or 32 bits?

Here is the equation that I need to implement in hardware. The parameters, r is 8 bit, s is 8 bit, d is 32 bit. The operation here is a division. Division in hardware is always a very difficult thing ...
user avatar
  • 9,669
3 votes
0 answers
83 views

Fan out of TTL Circuit

In this image When calculating the fan out of the TTL circuit the current in the TTL drive output is 16mA and is divided into the emitters of the load each emitter has 1.6mA because the fan out is 10. ...
user avatar
3 votes
0 answers
139 views

Digital circuit that squares a 4-bit input

Many years ago, I found a digital circuit that squares a 4-bit input in an old textbook (perhaps 1970s or 1980s, possibly older). (The figure below is not the original figure. I think the figure ...
user avatar
  • 343
3 votes
1 answer
75 views

Chaser circuit with a chain of 4017's

I have a problem with this chaser circuit. It should work like this: When I switch on the power, no outputs should be activated. When I press the reset button, the clock signal will be started and ...
user avatar
  • 31
3 votes
0 answers
401 views

How to properly constrain ethernet phy

I am trying to use the ethernet PHY on my Nexys4-DDR. The manual for the phy gives the following timing constraints for the RMII ports. I am getting confused as to what exactly the constraints for ...
user avatar
  • 503
2 votes
0 answers
46 views

Circuit to Disable 24VDC to Load via +24VDC Logic Output

I have a load that is powered by a +24VDC source. The load can draw a max of 400mA. I would like a simple and effective circuit to disable power when a 0-24VDC logic signal is high; in addition, I ...
user avatar
  • 21
2 votes
0 answers
48 views

How to understand this combinational cyclic circuit made of interconnected SR latches?

I'm trying to understand the following circuit, or better said, what must be the approach to analyze other similar ones: What I'm doing for now is forget about the clock signal and the ...
user avatar
  • 965
2 votes
0 answers
154 views

Help to understand the operating logic of the Bosch charger

I ask for your help to: determine, if possible, the type of transistor T5, T7 (SMD code: MK3C). help me understand the operating role of the set T5, T7 and R23, R33 in the circuit (it's like a ...
user avatar
2 votes
0 answers
204 views

The concept of DDR rank

I have an understanding of DDR rank which I think is incorrect. If someone could join the dots then there would be more clarity. Here is what I know A DDR rank is a 64bit interface consisting of x8 ...
user avatar
  • 369
2 votes
0 answers
49 views

200 Input Smart Multimeter Project

First off, thanks for taking the time to read this and help out. Here's a quick overview of what I am trying to design. I have a break out box that has 200 female probe inputs. Each input is numbered, ...
user avatar
2 votes
1 answer
61 views

karnaugh table issues

Hello,I have this truth table.I did this table and I am creating a demultiplexer 1 in 2.Not multiplexer. Second,I did and that I gave and those Am I right?I want to confirm that I have done it all ...
user avatar
  • 95
2 votes
1 answer
597 views

Johnson counter using structural modelling in verilog

I'm trying to build a 4 bit johnson counter using JK flip flops and structural modelling. For the FF's themselves I'm using behavioral code and then instantiating them inside the counter module which ...
user avatar
  • 21
2 votes
1 answer
107 views

Multi-level NAND circuit simple conversion

I am working on understanding the NAND conversion. I have just got the basics of two-level NAND conversion, and when I went to the book example for a multi-level NAND conversion it used solved an ...
user avatar
  • 29
2 votes
0 answers
156 views

How does the loopback on a non-retriggerable monostable work?

I understand how to connect a monstable multivibrator to be in the non-retriggerable mode. Just loopback the /Q to the falling edge input or the Q to the rising edge output) as in the following ...
user avatar
2 votes
0 answers
51 views

How to read out a capacitive sensor, (CDC, CVC, TDC)?

What are the main principles for reading out a capacitive sensor? I read a lot, but I cant figure out what re the different options. I think that an option is to convert the capacitance into a ...
user avatar
2 votes
0 answers
77 views

How to make a PLL output the phase modulo 360°?

I have made a PLL to obtain the mechanical angle encoded in quadrature sine signals (the envelope of a resolver output) ; it implements: error=in-out is approximatively equal to sin(in-out)=sin(in)cos(...
user avatar
2 votes
0 answers
42 views

Making aysnchronous sequential circuits hazard free

The problem I am stuck at requires me design a hazard free asynchronous sequential circuit for a given problem description. I have followed the routine steps as follows: I have obtained the primitive ...
user avatar
2 votes
0 answers
124 views

LVTTL signal splitter - delay - combine circuit

Pulsed laser driver provides NIM logic level output for synchronization at the laser repetition rate (20 MHz) https://www.nktphotonics.com/lasers-fibers/product/superk-evo-industrial-white-light-...
user avatar
  • 21
2 votes
0 answers
612 views

What's causing a master-slave JK flip flop to get 'stuck'?

I've built a JK master-slave flip flop according to the following schematic: Putting it into Logicly I have the following diagram: However, regardless of which switches I change, the final two NOR ...
user avatar
  • 649
2 votes
1 answer
212 views

Is it possible to use cascaded 1 bit magnitude comparators to create an n bit magnitude comparator?

I know it is possible to use 4 bit comparators to create N bit comparators as shown in this Data Sheet http://www.ti.com/lit/ds/symlink/sn54s85.pdf but is it possible to do it with 1 bit comparators?...
user avatar
2 votes
1 answer
35 views

How to count the units moved with 2 motor encoders

I have a 2 wheel device that both has motor encoders, counting the units moved on both motors is simple if the both motors speed is the same. My problem arises when the device is turning to the left ...
user avatar
  • 1,734
2 votes
0 answers
71 views

Determine maximum length of repetitive sequence in synchronous FSM

I have the following realisation: The figure shows a synchronous circuit with the clock on Rising Edge. The circuit will generate a sequence of values on the output (abcde) of the five D-flip-flops. ...
user avatar
  • 2,996
2 votes
0 answers
643 views

MOSFET input and output capacitances

I need some explanations about the MOSFET parasitic capacitances. Precisely, what I studied is that there are those parasitic capacitances: But generally in digital electronics texts I see that they ...
user avatar
  • 3,276
2 votes
0 answers
89 views

Bipolar transistors that only connect via base to emitter

I am trying to understand how to use this configuration of the LTC2992 power measure IC and the only part I am confused with so far is the two transistors which I have circled. What I know so far ...
user avatar
  • 23
2 votes
1 answer
76 views

What is the least expensive way to build a three-bit shift register?

I'd like to build a queue of three internal bits as inexpensively as possible. Externally, the queue has two input bits and one output bit. The inputs are (dataIn) and (shift), and the output is (...
user avatar
  • 323
2 votes
0 answers
97 views

I’m having trouble solving this digital circuit. Help!

I need to design sequential logic circuit from this state diagram using only 2 D-latches. And this is my attempt: If I put it in the simulator it just gives me error and wont count. I assumed that ...
user avatar
  • 138
2 votes
0 answers
311 views

Digital Comparator from LSB to MSB using Lookahead

This is homework to be upfront, but I'm really stuck on it and just need some kind of direction. I've been assigned to create a 16-bit lookahead comparator going from LSB to MSB using no more than 4-...
user avatar
2 votes
1 answer
7k views

Transition time (rise time) and propagation delay

Recently in class I have encountered the following calculation of the propagation delay of the following digital circuit: Could anyone please explain to me the addition of the rising time of X2 and C?...
user avatar
2 votes
0 answers
244 views

Two different ways of writing the same thing but generating different behaviours in Verilog

I have a part of Verilog code that is basically trying to synthesize a flip-flop. I have been experimenting and it seems that I can come up with two ways of writing it. The first way being : ...
user avatar
  • 299
2 votes
0 answers
79 views

Semiconductor Level Genetic Programming

I was reading a most likely old article about, Adrian Thompsons work on using genetic programming to generate circuit solutions for simple tasks such as frequency differentiation. This got me ...
user avatar
2 votes
0 answers
425 views

Digital dice counting from 1 to 6

check it out guys ]3]3 the circuits above are both for an electronic dice that is supposed to count from 1 to 6 but none of the LEDS are turning on for the one that is far below, can anyone tell me ...
user avatar
2 votes
0 answers
617 views

Which serial protocol or encoding scheme does this scoreboard use?

I am trying to decode a signal stream coming from a Nevco scoreboard controller: Packets like this are sent every ~2.7 ms. I suspect it is some sort of UART signal because it is on the RX line of a ...
user avatar
  • 77
2 votes
0 answers
4k views

Constructing Excess 3 BCD to 7 segment decoder - circuit hints needed

I am currently trying to construct a circut for an Excess 3 BCD to 7 Segment decoder. Therefore the input range ranges from 0011 to 1100 in binary inclusive with the rest of the inputs being don't ...
user avatar
2 votes
0 answers
2k views

How to compare carry-lookahead and ripple-carry adders?

I am a bit stuck with the concept of carry-lookahead adder so I'd like to compare it with another concept I'm more familiar with: the ripple-carry adder. I'm trying to make some basic math comparison ...
user avatar
2 votes
1 answer
75 views

Implementation of Distributed Arithmetic Architecture

im looking at implementing a distributed arithmetic architecture, but running into some trouble. From the textbook im looking at we can rewrite the unsigned convolution of two of two vectors ...
user avatar
1 vote
0 answers
41 views

CORDIC module for (0, 90)

I found this CORDIC Verilog code online. It calculates sine and cosine from (0, 360). I was thinking if there is a way to modify it to (0, 90) and then use 4 such CORDIC modules in a pipelined ...
user avatar
1 vote
1 answer
65 views

Is this a correct FSM graph?

This is question from H.ROOTH book Fundamentals of Logic Design. A sequential circuit has one input (X) and one output (Z). The circuit examines groups of four consecutive inputs and produces an ...
user avatar
  • 181
1 vote
0 answers
79 views

FPGA blocking assignments in always block not working properly

In the following setup I have created a custom clock through switch on Spartan 3E FPGA to toggle the LED states one by one. I have connected 8 registers with 8 LEDs. By triggering the clock through ...
user avatar
1 vote
0 answers
75 views

Confusion In Fanout of Logic Circuit and Transistor

Fanout:-Maximum Gate we connect to output of any Logic gate. so there is limited number of gate we connect the output of Logic Gate.hence there is some minimum condition required for operation of ...
user avatar
  • 181
1 vote
1 answer
71 views

Digital input conditioning?

I'm designing a schematic with opto-coupled digital inputs (BNC). For better noise/ground loops immunity/reflections should I add 50 ohm resistors on both input lines, signal(+) and GND, along a ...
user avatar
  • 51
1 vote
0 answers
36 views

Clear D Flip Flop when FF input is not equal to 1

I am trying to implement magnitude comparators with storage as a D FF. In this picture, if X is equal to 0, second AND gate on magnitude comparator (that comparator in rectangle) will give 1, as Q' &...
user avatar
1 vote
0 answers
93 views

Amplitude modulation on FPGA

I'm trying to implement amplitude modulation on a Xilinx Vivado using Verilog HDL, but can't seem to get the proper output. Can anyone point out what I am doing wrong? This is in reference to my last ...
user avatar
1 vote
0 answers
46 views

How to determine if a gate/inverter can drive a fanout of 4 gates?

I have a circuit in which a driving inverter output (Fanout of 4) with equal Wn Wp sizing (m=4) is driving 4 other gates having same equal Wn Wp sizing (m=1). How to calculate if the inverter fanout ...
user avatar
1 vote
1 answer
71 views

How to convert data signal line coding from RZ to NRZ?

I have a user data stream at 10 kbps and line coded as uni-polar, 0-5 Volts, RZ (return to zero). What methods are there to convert this signal to an NRZ (non return to zero) format? The only way I ...
user avatar
1 vote
0 answers
59 views

Discrete digital input

I have a homework question that mentions discrete inputs and I wanted to clear up some of my confusion on the topic. When looking at truth tables, as an example, would A and A' be two discrete inputs?
user avatar
1 vote
1 answer
49 views

Why is the hold time given by the delay through the 3-input NAND gate in this D FF?

Consider the (somewhat optimized) implementation of a (positive edge-triggered) D flip-flop given in the attached image (which comes from the book by Brown and Vranesic). It is stated that the setup ...
user avatar
  • 419
1 vote
0 answers
89 views

Understanding Forwarding unit

I am new to this subject and am having trouble understanding this topic. Suppose I have the following circuit to control the forwarding of a MIPS pipeline processor: So the forwarding control will be ...
user avatar
1 vote
0 answers
26 views

DDR interfacing with rockers3399 processor

I am using rockers 3399 processor in one of my applications. if you see page no 9 'External Memory or Storage device' section you can see the below things *Support 2 channels, each channel is 16 or ...
user avatar
  • 572
1 vote
0 answers
47 views

Blynk Device (ESP32) disconnects when I turn off my N-Channel MOSFET for my RGBW LED strip

I have a lamp that that consists of a strip of RGBW LED's. I'm using an ESP32 to control the LED's (since they are programmable), and I am controlling the actual LED's through an app called Blynk. I ...
user avatar
  • 1,008
1 vote
0 answers
50 views

If two Boolean functions \$f_1\$ and \$f_2\$ have same truth table, does that means they have exactly same characteristic? can one f1 numerate to f2?

if \$f_1(x,y,z)=\neg xz+x\neg y+\neg xy\neg z+xy\neg z\$ determine if \$f_1\$ is symmetric and whether it is unate. What I thought is: \$f_1\$=¬xz+x¬y+y¬z, the truth table of \$f_1\$ has the same ...
user avatar

1
2 3 4 5
10