2dix-The Student Choice
Log in Register now

Write a program in verilog to implement sequence detector 0110/10101

AIM: Write a program in verilog to implement sequence detector(0110/10101)
LEARNING OBJECTIVE:-To make the students familiar with concept of FSM and
how to implement different sequences using FSM
PROCEDURE:
1. Open a new project from the drop down menu by clicking in FILE given on the
top left of the screen.
2. Create a new project and name it.
3. Click on next to enter the device properties.
4. Select the appropriate properties according to the hardware to be used.
5. Click on the next button to enter the new source.
6. Here select the Verilog MODULE and give the file name.
7. Click on next button and enter the entity name.
8. Select the define module.

Write a program in verilog to implement counters

AIM: Write a program in verilog to implement counters
LEARNING OBJECTIVE:-To make the students familiar with concept of counters i.e. UP DOWN Counter using verilog HDL
PROCEDURE:
1. Open a new project from the drop down menu by clicking in FILE given on the
top left of the screen.
2. Create a new project and name it.
3. Click on next to enter the device properties.
4. Select the appropriate properties according to the hardware to be used.
5. Click on the next button to enter the new source.
6. Here select the Verilog MODULE and give the file name.
7. Click on next button and enter the entity name.
8. Select the define module.

Write a program in verilog to implement flip flops

AIM: Write a program in verilog to implement flip flops
LEARNING OBJECTIVE:-To make the students familiar with concept of flip flops i.e D flip flop, T flipflop, SR flipflop and JK flip flop using verilog HDL
PROCEDURE:
1. Open a new project from the drop down menu by clicking in FILE given on the
top left of the screen.
2. Create a new project and name it.
3. Click on next to enter the device properties.
4. Select the appropriate properties according to the hardware to be used.
5. Click on the next button to enter the new source.
6. Here select the Verilog MODULE and give the file name.
7. Click on next button and enter the entity name.
8. Select the define module.
9. Select the ports as input and output and name them.
10. Click on next and then to on finish.

program in verilog to implement code converters BCD to Grey and Grey to BCD

AIM: Write a program in verilog to implement code converters
LEARNING OBJECTIVE:-To make the students familiar with concept of code
converters i.e BCD to Grey and Grey to BCD etc. using verilog HDL
PROCEDURE:
1. Open a new project from the drop down menu by clicking in FILE given on the
top left of the screen.
2. Create a new project and name it.
3. Click on next to enter the device properties.
4. Select the appropriate properties according to the hardware to be used.

Program in verilog to implement 4 bit ALU

AIM: Write a program in verilog to implement 4 bit ALU
LEARNING OBJECTIVE:-To make the students familiar with concept of 4 bit
ALU using verilog HDL
PROCEDURE:
1. Open a new project from the drop down menu by clicking in FILE given on the
top left of the screen.
2. Create a new project and name it.
3. Click on next to enter the device properties.
4. Select the appropriate properties according to the hardware to be used.

8051 Assembly language programming using Keil compiler.

Aim: 8051 Assembly language programming using Keil compiler.
a. Find the sum of the values 79H, F5H, E2H. Put the sum in register R0 (low byte) and R5 (high byte).
b. Write a program to copy the values 55H into RAM memory locations 40H to 45H using
i) Direct addressing mode
ii) Register indirect addressing mode without using loop
iii) With a loop
c. Write a program to toggle all the bits of P1 after some delay
d. Write a program to generate square wave of 50% duty cycle on bit 0 of port 1
e. Write a program to
i) Make P1 as input port.
ii) To get hex data from P1 and convert it into decimal and save the digits in R7, R6, R5.
f. Write a program to add two 16 – bit numbers 3CE7H and 3B8DH. Place the sum in R7 and R6 (Lower Byte).
g. A switch is connected to P1.7. Write a program to check the status of SW and perform the following:
i) If SW=0, send letter „N. to P2.
ii) If SW=1, send letter „Y. to P2.
h. Write a program for Hex to ASCII conversion
i. Write a program to generate square wave using timer

Write a program to multiply two 8 bit numbers by rotation method using 8085 Microprocessor kit in assembly language

Write a program to multiply two 8 bit numbers by rotation method using 8085 Microprocessor kit in assembly language
Learning Objectives: Use of 8085 Kit to perform basic assembly programs.
Outline of the Procedure:
1. Turn of the kit
2. Enter the code in assembly language.
3. Execute the code and verify the results.

Write a program to subtract two 16-bit numbers using 8085 Microprocessor kit in assembly language

using 8085 Microprocessor kit in assembly language
Learning Objectives: Use of 8085 Kit to perform basic assembly programs.
Outline of the Procedure:
1. Turn of the kit
2. Enter the code in assembly language.
3. Execute the code and verify the results.

Write a program to add two 16-bit numbers using 8085 Microprocessor kit in assembly language

using 8085 Microprocessor kit in assembly language
Learning Objectives: Use of 8085 Kit to perform basic assembly programs.
Outline of the Procedure:
1. Turn of the kit
2. Enter the code in assembly language.
3. Execute the code and verify the results.

Write a program to generate Fibonacci series in 8085 simulator

8085 Basic Program on simulator.
Write a program to generate Fibonacci series
1. Open simulator on your laptop.
2. Write the given code.
3. Save the file.
4. Assemble the code and check error, if error remove it and again assemble it.
5. Execute the code and verify the results.

Write a program to multiply two 8 bit numbers by repetitive addition method in 8085 simulator

8085 Basic Program on simulator.
Write a program to multiply two 8 bit numbers by repetitive addition method
1. Open simulator on your laptop.
2. Write the given code.
3. Save the file.
4. Assemble the code and check error, if error remove it and again assemble it.
5. Execute the code and verify the results.

Write a program to subtract two 8-bit numbers in 8085 simulator

8085 Basic Program on simulator.
Write a program to subtract two 8-bit numbers
1. Open simulator on your laptop.
2. Write the given code.
3. Save the file.
4. Assemble the code and check error, if error remove it and again assemble it.
5. Execute the code and verify the results.

Program to add two 8-bit numbers in 8085 simulator

8085 Basic Program on simulator.
i. Write a program to add two 8-bit numbers.
1. Open simulator on your laptop.
2. Write the given code.
3. Save the file.
4. Assemble the code and check error, if error remove it and again assemble it.
5. Execute the code and verify the results.

To develop a program for Computing DFT and IDFT in MATLAB

The discrete Fourier transform (DFT) X[k] of a finite-length sequence x[n] can be
easily computed in MATLAB using the function fft. There are two versions of this function.
fft(x) computes the DFT X[k] of the sequence x[n] where the length of X[k] is the same as that of
x[n]. fft(x,L) computes the L-point DFT of a sequence x[n] of length N where L ≥ N. If L > N,
x[n] is zero-padded with L−N trailing zero-valued samples before the DFT is computed. The
inverse discrete Fourier transform (IDFT) x[n] of a DFT sequence X[k] can likewise be computed
using the function ifft, which also has two versions.