Questions tagged [decoder]

A decoder is an electronic signal processing circuit, which takes as an input a binary number, and turns on a corresponding pin accordingly. It takes `n` inputs (which can all be either on or off) and outputs `2^n` outputs of which exactly one is on

241 questions
8
votes
3 answers

How do you implement the following function using nothing but 2:1 MUX?

I am having difficulties understanding how to implement boolean functions, particularly given that I may only use 2:1 muxes and the variable D as a residual variable. The function is as follows: $$ F(A, B, C, D, E) = \sum ( 6, 7, 12, 13, 14, 15,…
user1969903
  • 211
  • 1
  • 2
  • 9
5
votes
1 answer

7-Segment Decoder outputs/LED display

What would be the difference in using a 7-segment decoder with active-high outputs vs active-low outputs, to driver an LED display?
somers
  • 151
  • 2
  • 3
  • 12
5
votes
1 answer

How large is the address decoder to select an address in RAM? Is the address decoder just a bunch of multiplexers?

I have recently started building simple computing devices using logic gates inside of Minecraft. What I'm trying to build right now is some RAM, and an address decoder for this RAM. I want to build a machine that will enable you to select a bit in…
Name
  • 195
  • 9
5
votes
3 answers

CRC hardware implementation

What is the difference between these two implementations as the feedback is in first implementation the last reg only but the second implementation last reg xored with the input bit, so, what is the difference and how can i take the output from…
5
votes
2 answers

What kind of serial communication is this?

I am trying to reverse engineer a serial communication between to microcontrollers (1 device & 1 microcontroller on a board). One MCU validates the other MCU and I want to crack the validation and mimic the validated MCU. I want to find out what…
5
votes
1 answer

Understanding Address decoder

Given is 3-to-8 decoder. There is 3 selection lines C, B, A (C=MSB and A=LSB) and one enable input. In total here are 16 adresses. So first we're going to discuss only EN_A. How many address ranges are there in which the above address decoder…
Alen
  • 195
  • 6
4
votes
1 answer

Finding the no. of decoders required in cascading

I am trying to solve the following question. How many 3 to 8 decoders with an enable input are needed to construct a 6 to 64 line decoder without using any other logic gate. I have a Digital Electronics textbook in which the author gives a…
avi
  • 605
  • 2
  • 8
  • 13
4
votes
3 answers

How can I store audio files in the uC ROM so as to serially transmit it to a decoder chip?

I am using an NXP micro controller (P89V51RD2) with on board flash of 64kB. I want to interface it with an audio decoder IC, probably VS1011 (if I can get the IC). What should I do to use on board ROM to store the audio files, so that I can serially…
VedVals
  • 177
  • 1
  • 11
4
votes
1 answer

How to minimize microcode complexity in 8-bit home-brew CPU

tldr; I built and later extended Ben Eaters 8-bit breadboard computer. After the initial build I integrated 16-bit program counter and memory address registers, redesigned the instruction set and managed to access 64kB of RAM. Going forward I added…
4
votes
4 answers

What is the main difference between a decoder and a demultiplexer

What is the difference between a decoder and a demultiplexer and why would you choose one over the other in a design? Apart from the fact that they are constructed and operated differently, they both perform the same function. I was of the opinion…
aLoHa
  • 587
  • 1
  • 6
  • 16
4
votes
0 answers

Forward Error Correction code, Reed Solomon, Turbo Code, Low-density parity-check

I am new to FEC (Forward Error Correction). Pointers highly appreciated. I am experimenting software with configurable "error protections". Result improving as setting raise to 40%. Still not enough 'margin'. The software uses Reed Solomon inside.…
EEd
  • 989
  • 4
  • 12
4
votes
2 answers

Manchester Decoding

Is a Phase Locked Loop compulsory for decoding Manchester encoded data? Is the PLL used so that Manchester encoding supports different data rates? useful links: http://www.electronicspoint.com/manchester-decoder-t68939.html, …
Mike George
  • 65
  • 1
  • 1
  • 4
4
votes
3 answers

Why does this 7-Segment Display not function properly?

I've provided details in image. Although, I'll once again provide in text: IC : 74LS47N (Binary to 7-Seg Display) 7 Segment : Common Anode M.S.B : D L.S.B : A This is how absurd OUTPUT is displayed by 7-Seg Disp: INPUT (D,C,B,A to…
3
votes
3 answers

Increase GPIO outputs

I'm working on a project in which I need 32 outputs from an MCU that only has 8 free outputs. To accomplish my goal I have the following requirements: I must be able to toggle more than one output at the same time Data must come in as fast as…
Butzke
  • 1,012
  • 12
  • 27
3
votes
4 answers

How to decode morse code with digital logic

I have been curious as to how one might implement a morse code decoder with basic digital logic (no microcontroller), mostly as an exercise. I could decode individual letters with a state machine, if I had asynchronous inputs such as dot, dash, and…
captncraig
  • 2,054
  • 3
  • 24
  • 45
1
2 3
16 17