Top "Circuit" questions

In a programming context, a circuit usually refers to a combination of logical operators to achieve a desired response.

Steps to make a LED blink from a C/C++ program?

What are the easiest steps to make a small circuit with an LED flash from a C/C++ program? I …

c++ c circuit
Why does a 4 bit adder/subtractor implement its overflow detection by looking at BOTH of the last two carry-outs?

This is the diagram we were given for class: Why wouldn't you just use C4 in this image? If C4 …

vhdl boolean-logic circuit
How do I convert a number to two's complement in verilog?

I am trying to design a 4-bit adder subtracter in verilog. This is only the second thing I have ever …

verilog circuit hdl
Implementing jump register control to single-cycle MIPS

I am trying to implement jr (jump register) instruction support to a single-cycle MIPS processor. In the following image, I've …

mips processor organization circuit
Converting logic gates to a purely NAND implementation, how come this is valid?

So Im doing some exercises with answers provided on conversion to a purely NAND gate implementation. I understand how the 2 …

logic boolean-logic boolean-operations circuit
Frequency divisor in verilog

i need a frequency divider in verilog, and i made the code below. It works, but i want to know …

verilog clock frequency circuit digital-logic
How are shifts implemented on the hardware level?

How are bit shifts implemented at the hardware level when the number to shift by is unknown? I can't imagine …

cpu processor bit-shift circuit alu