Question about integrated circuits

  • Thread starter Gulli
  • Start date
  • Tags
    Circuits
In summary, designing and programming logic devices like PALs, CPLDs, and FPGAs involves coding in a specific design software, compiling the design for a specific target IC, and then optimizing the pinout and internal signal routing based on the PCB layout. This allows for multiple inputs and outputs to be controlled and processed by the logic device.
  • #1
Gulli
96
0
This is an easy one for those familiar with integrated circuits, but it's been bugging me.

Say you build a circuit out of NAND gates, which have two inputs and one output. Doesn't this mean that the circuit as a whole has multiple inputs (or do some of the outputs loop back to the inputs so the circuit as a whole has only one input)? If so, how does feeding a single current (from the wall) into the circuit do anything for the multiple inputs: they'd all get the same input current and this restricts what the gates can do (for example you can't have input A getting zero current and input B getting nonzero current)? So how do you get the inputs to be different?
 
Engineering news on Phys.org
  • #2
Gulli said:
This is an easy one for those familiar with integrated circuits, but it's been bugging me.

Say you build a circuit out of NAND gates, which have two inputs and one output. Doesn't this mean that the circuit as a whole has multiple inputs (or do some of the outputs loop back to the inputs so the circuit as a whole has only one input)? If so, how does feeding a single current (from the wall) into the circuit do anything for the multiple inputs: they'd all get the same input current and this restricts what the gates can do (for example you can't have input A getting zero current and input B getting nonzero current)? So how do you get the inputs to be different?

The power from the wall is used to power the circuit, not to provide inputs to the logic gates.

One type of logic integrated circuit (IC) is a microcontroller (uC) or micrprocessor (uP):

http://www.howstuffworks.com/microcontroller.htm
http://en.wikipedia.org/wiki/Microcontroller
http://en.wikipedia.org/wiki/Microprocessor

They typically get their inputs from memory (either on the same IC or from off-chip memory), and also from external inputs (like pushbuttons, sensors, etc.). Those inputs are processed and generate outputs back to memory and also to external actuators and displays.

A building block IC would be something like a PAL (programmable array logic), which has general purpose circuitry inside (including gates, flip-flops, and interconnect arrays). PALs are programmed to perform logic functions based on their internal capabilities, and the configuration information that is generated by compiling your logic design. You could configure a PAL to be an up/down binary counter, for example, based on the state of one of its inputs.

http://en.wikipedia.org/wiki/Programmable_Array_Logic

.
 
  • #3
Thanks, that's the answer I was looking for. Memory can provide lots of different inputs simultaneously and that answers my question.
 
  • #4
berkeman said:
PALs are programmed to perform logic functions based on their internal capabilities, and the configuration information that is generated by compiling your logic design.

Can you please tell me how exactly the configuration information is generated by compiling the logic design? How is the logic design compiled?
 
  • #5
pairofstrings said:
Can you please tell me how exactly the configuration information is generated by compiling the logic design? How is the logic design compiled?

Sure. You would use some design tool for PALs, CPLDs, FPGAs, etc, like Xilinx's ISE:

http://www.xilinx.com/support/download/index.htm

or Quartus from Altera:

https://www.altera.com/download/software/quartus-ii-we

or other design packages. You would typically code your design in HDL, VHDL, or Verilog, and use the software above to compile your design for a specific target PAL/CPLD/FPGA IC.

Here's a sample tutorial showing how to design, compile and load a Xilinx CPLD:

http://www.electro-tech-online.com/...t/39308-cpld-xilinx-programming-tutorial.html

.
 
Last edited by a moderator:
  • #6
I want to know, while programming FPGA, PAL or other logic device is it based on our requirements that pins are allotted the input signal?
How do we know which pin gets what signal?
 
  • #7
pairofstrings said:
I want to know, while programming FPGA, PAL or other logic device is it based on our requirements that pins are allotted the input signal?
How do we know which pin gets what signal?

That's part of your design. In the coding of the PAL/CPLD/FPGA circuitry, you usually assume some initial pinout, and modify the pinout if needed (based on how you want the PCB layout to flow, and if you can make the PAL/CPLD/FPGA internal circuity fit given the PCB layout based pinout.

In one extreme, the PCB layout is already done, and you have to constraing the logic device's pinout based on that in your coding. In the other extreme, you code up the device, and give the pinout to the PCB layout person. More generally, you iterate once or twice to optimize the logic device's internal signal routing and to optimize the PCB's layout.
 

1. What is an integrated circuit (IC)?

An integrated circuit, also known as a microchip, is a miniature electronic device made up of multiple interconnected electronic components, such as transistors, resistors, and capacitors, on a small piece of semiconductor material. It is used to perform a specific function and is a fundamental building block in modern electronic devices.

2. What are the advantages of using integrated circuits?

Integrated circuits offer several advantages over traditional electronic circuits. They are smaller in size, consume less power, have higher reliability, and can be produced in large quantities at a lower cost. Additionally, they can perform complex functions and are easily customizable for different applications.

3. How are integrated circuits made?

Integrated circuits are made using a process called "photolithography," which involves layering and etching thin films of conducting and insulating materials on a silicon wafer. This process is repeated multiple times to build the necessary components and connections for the circuit. The final product is then tested and packaged for use in electronic devices.

4. What are the different types of integrated circuits?

There are three main types of integrated circuits: digital, analog, and mixed-signal. Digital integrated circuits are used to process and transmit digital signals, while analog integrated circuits are used to process and transmit analog signals. Mixed-signal integrated circuits combine both digital and analog components to process and transmit both types of signals.

5. What are the applications of integrated circuits?

Integrated circuits have a wide range of applications, from consumer electronics such as smartphones and computers to industrial and military equipment. They are used in various devices, including microprocessors, memory chips, sensors, and power amplifiers, to name a few. They are also crucial in the development of emerging technologies such as artificial intelligence, virtual reality, and the Internet of Things.

Similar threads

Replies
2
Views
407
Replies
2
Views
815
  • Electrical Engineering
Replies
14
Views
804
  • Electrical Engineering
Replies
10
Views
1K
Replies
1
Views
690
Replies
9
Views
4K
Replies
47
Views
3K
  • Electrical Engineering
Replies
10
Views
1K
Replies
14
Views
2K
  • Electrical Engineering
Replies
12
Views
2K
Back
Top