Questions tagged [shift]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
90 views

Which circuit components are used in a pointer? [closed]

For a computer to do basic math, it can use logic gates like AND and OR. These logic gates can be made out of voltage sources and resistors, as seen on Wikipedia. For a computer to do multi-digit ...
0
votes
0answers
27 views

Checking Bitstring for = 0, then set a zero Bit = 1 in ALU

I am trying to model an ALU to implement a shift operation. When the shift operation is done, I should check the result for = 0. If a result = 0 was found, I want to set a single result bit = 1. I was ...
0
votes
1answer
47 views

What does hₖ[n] mean here?

Is the impulse response different from the output y[n]? Is the input x[n] all the delta function at different values of n? From Signals and Systems by Robert Oppenheim, Linear Time Invariant systems
1
vote
2answers
39 views

Controllable rising edge shifting circuit using CMOS

I am building a circuit using CMOS transistors (350n technology) in which I have to delay the rising edge of a pulse but not the falling edge. The circuit I made is the following : And here is the ...
0
votes
1answer
61 views

Is it possible to chain Hall sensors? [closed]

I'm working on a hobby project that is to add sensors to a wooden chess board in order to detect if a piece is on a given square. I'm quite beginner at electronics, only experienced in programming, ...
1
vote
2answers
269 views

Phase shift a square wave

I have an application where I would like to derive a secondary square wave from a primary one but with a continuously variable phase shift. I would like to know if this is possible to achieve in a ...
0
votes
2answers
434 views

Is (BC + AD)<<16 equivalent to (BC << 16) + (AD <<16)?

Is the expression (BC + AD)<<16 equivalent to (BC << 16) + (AD <<16)? From some examples which I tried it seems to be true but not sure at all
-1
votes
1answer
43 views

What are the limits to parallel shift registers in electronics (in comparison to optics)?

Brackenbury and Mason in 1988 (https://iopscience.iop.org/article/10.1088/0022-3727/21/10S/044) said, on comparing parallel shift registers in electronic and optical computing, 'When implementing such ...
1
vote
2answers
81 views

Arithmetic right shift: a paradox?

So I was asked to perform the simple task of doing a 3-bit arithmetic shift of the number 1101 (-3 in 2's complement notation). Now this is easy and it goes as 1101 -> 1110 -> 1111 -> 1111. ...
0
votes
0answers
46 views

Shifting a vector by a variable amount

Let's say I have a n level tree, where n starts from 0. Each level of the tree has 2^n elements. For the sake of an example, let's say n=4. Since we have 4 levels, we need 4 bits to hold the index of ...
2
votes
1answer
62 views

RISC-V Arithmetic Shift vs Operator "<<<"

I'm new at learning Verilog so some of my practices are based on already existing codes. I was reading the RISC-V implementation of arithmetic shift and didn't quite understand why it's that way when ...
2
votes
1answer
345 views

Why do four cascaded all-pass filters cause a 180° phase shift?

This op-amp all-pass filter is reported to introduce a 90° phase shift at the cutoff frequency of the RC network placed at the + input. (The FET is used as a controlled variable resistor to move the ...
1
vote
1answer
203 views

Question about 74LS164 8-bit serial in parallel out shift register

With the 74LS164 8 bit parallel out serial shift registers, I'm confused about a few things. In the datasheet (page3) on the logic diagram why do they suggest using an active low inverter before the ...
2
votes
2answers
219 views

SN74HC595N Shift register output bizare

simulate this circuit – Schematic created using CircuitLab I'm using an 8-bit shift register on a very basic application for learning purposes, I have three buttons connected to SER, RCLK & ...
0
votes
1answer
575 views

Can't understand what multiplexers do in CPU datapath

I'm currently learning about data path in a CPU and having a hard time understanding the functionality of G,L, H parts in the following image. Why have those parts been used there?Thanks in advance.
3
votes
1answer
202 views

Can I use a photodiode as a switch for a shift register?

Let's say I have a photodiode, a shift register (74HC595) and a 5V source, and I connect these as: 5V source -- photodiode -- shift register data input. (And other voltages to feed the register ...
1
vote
1answer
244 views

74hc595 sinking, not sourcing

I'm trying to get a sn74hc595n working with an arduino Due, eventually I will be hooking up each output to an NPN to drive Nixie tubes (I am switching my design from a due to using a esp8266 so I need ...
1
vote
1answer
120 views

PISO shift register with first input

I have on my board two PISO shift registers in series, giving an output train of 16 bits. The problem is that the order of the bits is reversed compared to what I need. That means, the last input of ...
0
votes
2answers
423 views

I2C pullups for level shifting

If I want a breakout with two sensors on it, one operating at my MCU's voltage (3.3V) and the other requires a drop to 1.8V, do I need two sets of pullup resistors for both voltage lines? Can I do ...
0
votes
1answer
130 views

How is Phase Shift of an Op-Amp calculated using Polar Coordinates

I have a textbook (Op-Amp: Characteristics & Applications by Robert G. Irvine, 1981) and its Frequency response chapter started by discussing the Internal LP filters between the Input Differential ...
1
vote
0answers
42 views

Is using a capacitor to transfer a 0.1 V differential between voltage levels reasonable?

The temperature of a terminal at -600 V and 500 deg C needs to be measured. I am using a thermocouple for this, and to achieve the most accurate reading the couple must be physically connected to the -...