Saltar al contenido ForoHackers

Digital design: start here

Diseño digital
#3001 · · Citar · Denunciar

Digital design builds circuits out of logic: gates, flip-flops and the state machines made from them. Every processor, controller and interface chip is such a circuit. The central skill is thinking in parallel hardware and in clock cycles, not in sequential statements.

Key concepts

  • Combinational logic: outputs depend only on current inputs; Boolean algebra and truth tables describe it.
  • Sequential logic: flip-flops and a clock give circuits memory and a notion of step.
  • Finite state machines: the usual way to control behaviour, with states, transitions and outputs.
  • Timing: setup and hold times, propagation delay and the critical path set the maximum clock.
  • Clock domains: signals crossing between clocks need synchronisers or they become unstable.

Vocabulary

  • HDL: hardware description language, such as Verilog, SystemVerilog or VHDL.
  • RTL: register-transfer level, a design described as registers and the logic between them.
  • Metastability: a flip-flop caught between 0 and 1 when its input changes at the wrong moment.
  • Testbench: code that drives a design in simulation and checks its outputs.

What to study, in order

  1. Boolean algebra, gates, adders and multiplexers, by hand.
  2. Latches, flip-flops, counters and shift registers.
  3. A traffic-light or vending-machine state machine, drawn and then written in an HDL.
  4. Simulate it with a testbench and read the waveforms.
  5. Build a small CPU or UART, and find its critical path.

Related tags

#fpga #asic #hardware-verification #computer-architecture

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder