Category: Electronics

VHDL Program for 2 to 4 Decoder

Share This Topic:     Title: VHDL Program for 2 to 4 Decoder Aim: To write VHDL program and simulate the output of 2 to 4 decoder using test bench waveform Materials Required: Computer with Xilinx software Version 8.2i VHDL Code: library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity Decoder2_4 is port ( Enable: in STD_LOGIC; A:

How to develop VHDL code for half adder

Share This Topic:     Course Details Field of Study: Electronics Engineering Course Name: Digital Electronics Description: How to develop VHDL code for half adder with the help of logic diagram, truth table and simulation output using Xilinx software Half adder is a combinational digital circuit with two inputs and two outputs namely sum and carry. Since there

MATLAB code for continuous time convolution

Share This Topic:     Course Details Field of Study: Electronics Engineering Course Name: Signals and Systems Description: MATLAB code for continuous time convolution when x(t)=u(t-3)-u(t-5) and h(t)=u(t)exp(-3t) What is Continuous time convolution? Continuous time convolution is an operation on two continuous time signals defined by the integral: (xh)(t)= int(x(tau)h(t-tau),tau,-inf,inf) for all x,h defined on R. It is

MATLAB code to prepare database of n students for 5 subjects

Share This Topic:     Course Details Field of Study: Electronics Engineering Course Name: Simulation and Computational Laboratory Description: MATLAB code to prepare database of n students for 5 subjects and if their mark is above 250 their status is “passed” else “Failed”. MATLAB Code % A matlab Program that prepares a database of n students for 5