Skip to content

gowthaminalla/BiDirectional-buffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bidirectional-buffer with non-inverting CMOS input

This project has files needed to design and implement GPIO

BRIEF DESCRIPTION OF GPIO (General Purpose Input/Output)

  1. The GPIO pin is controlled by the user to get a desired mode of the whole chip
  2. The input/output mode can be selected by giving the enable pin to logic high or low
  3. The output and input buffers are formed by combining two CMOS inverters
  4. Both the buffers are connected in a bidirectional fashion which allows the data to flow either of the direction

BLOCK DIAGRAM

image

NAND gate

image

NAND gate representation

image

NAND gate layout

image

Inverter

image

Inverter representation

image

inveter layout

image

Tristate buffer

image

Tristate buffer representation

image

tristate buffer layout

image

Ltspice circuit diagram

with enable E=1

image

with enable E=0

image

PRE-LAYOUT characterstics

specifications:

image

plot when enable E=1

image

with simulation time 100ns

image

plot when enable E=0

image

with simulation time 100ns

image

NGspice plots

when enable E=1

image

image

with simulation time 100ns

image

image

when enable E=0

image

with simulation time 100ns

image

threshold

image

image

LTspice

Setup

Following steps will help you download and install the application in your PC .

  1. Download the setup file from Analog Devices webpage.
  2. Click the Download for windows which will will automatically download the setup file into your PC.
  3. Now follow basic installation steps and install the software.

Viewing Waveforms

To view the waveforms just click the Simulate tab on the top and select Run option which opens a waveform window.

NGSPICE

NGSPICE can be used to view the input output waveforms. NGSPICE is an open source mixed-signal circuit simulator. It is the result of combining existing SPICE features with some extra analyses, modeling methods and device simulation features.

setup

  1. NGSPICE zip file should be downloaded. 2 )Once downloaded extract the files in a folder of your convenience.
  2. The netlist files should be saved inside the same folder, so choose your location accordingly.

Viewing Waveforms

  1. After done with the extraction of the zip file, open the folder where you can see a folder named Spice64.
  2. Open the Spice64 folder followed by another folder named bin.
  3. Create a new text document and paste the contents of netlist file from the repositary into the text file.
  4. Save the text document with the extension .cir in the same location.
  5. Open the ngspice applicaion in the bin folder and type the name of the .cir file saved in the previous step along with the extension.
  6. Press ENTER and respective waveforms appear.

Contact information:

  1. Nalla Gowthami, Electronics and instrumentation engineering, NIT Rourkela, gowthaminalla1821@gmail.com
  2. Kunal Gosh Director, Vsd Corp Pvt.Ltd, kunalpgosh@gmail.com
  3. Phillip Guhring, Software architect at Libresilicon Association pg@futureware.at
  4. Dr.Gaurav Trivedi Co-principal investigator, EICT academy, and associative proffessor, EEE depatement, IIT Guwahati, trivedi@iitg.ac.in

About

GPIO pin is designed and implemented

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages