Where Are Binary Weightings Assigned in Shift Registers?

  • Thread starter Thread starter Jag1972
  • Start date Start date
  • Tags Tags
    Shift
Click For Summary

Discussion Overview

The discussion revolves around the assignment of binary weightings in shift registers constructed using flip flops, specifically in the context of how data is shifted left or right and how this affects the numerical values represented by the shift register. The scope includes conceptual understanding and technical explanation related to digital circuits.

Discussion Character

  • Conceptual clarification, Technical explanation

Main Points Raised

  • One participant questions where binary weightings are assigned in shift registers and whether this is managed by a microcontroller.
  • Another participant seeks clarification on the meaning of "binary weighting."
  • A participant explains that the weighting is determined by the interpretation of the circuit, suggesting that the connections of the flip flops can be arranged in various ways to achieve different weightings.
  • A participant provides an example involving an initial count set by four flip flops and discusses how shifting affects the count, indicating that designers assign the weightings.
  • Another participant expresses gratitude for the confirmation of their understanding regarding the assignment of weightings by designers.

Areas of Agreement / Disagreement

Participants generally agree that the assignment of binary weightings is determined by the design choices made by engineers, though the initial question about the specifics of this assignment remains somewhat open to interpretation.

Contextual Notes

The discussion does not resolve the specifics of how weightings are assigned in different contexts or configurations, leaving some assumptions about circuit design and interpretation unaddressed.

Jag1972
Messages
40
Reaction score
0
I have got what may be a silly question. I hope not.
Using flip flops e.g. JK flip flops, counters can be constructed (modulus up and down counters). However when constructing shift registers data can be shifted left and right. When shifted right each the shift register could divide the initial values by 2 with every active clock pulse. When shifted left each the shift register could multiply the initial values by 2 with every active clock pulse. My question is where the binary weightings are assigned for each flip flop. Is this something done by a microcontroller for example registers in a PIC? ADCON0 and ADCON1 on PIC18F4520. I don’t know where or how these weightings are assigned. Thank you in advance.
 
Engineering news on Phys.org
What do you mean binary weighting?
 
The weighting is assigned by how you interpret the circuit.

You could hook up the ABCD lines of the binary input fom right to left, left to right, or even randomly if you wanted to have weird weightings.
 
Feldoh: Sorry for not being clear, I meant if the initial count was 8 set by four flip flops with the FF at the right being set to 1 and the other 3 at 0. Then if it is a shift right after 1 clock pulse the count would be 4. I wasnt sure how the binary weightings were assigned. However Jiggy has confirmed what I thought we as designers make it so. Thanks very much for reply.

Jiggy-Ninja: Thanks for confirming that, I thought that was the case.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 12 ·
Replies
12
Views
11K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
3K
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
18K
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K