VLSI & EMBEDDED SYSTEM LAB IV/IV B. TECH., I SEMESTER STUDENT OBSERVATION MANUAL DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING VEMU INSTITUTE OF TECHNOLOGY Tirupati - Chittoor Highway Road, P. Kothakota, Chittoor- 517 112. JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY ANANTAPUR
105
Embed
STUDENT OBSERVATION MANUALvemu.org/uploads/lecture_notes/23_01_2020_1549251665.pdf · PART B: Embedded Systems (List of Experiments) (For Laboratory Examination-Minimum of Six Experiments)
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
VLSI & EMBEDDED SYSTEM LAB
IV/IV B. TECH., I SEMESTER
STUDENT OBSERVATION MANUAL
DEPARTMENT
OF
ELECTRONICS & COMMUNICATION ENGINEERING
VEMU INSTITUTE OF TECHNOLOGY Tirupati - Chittoor Highway Road, P. Kothakota, Chittoor- 517 112.
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY ANANTAPUR
VEMU INSTITUTE OF TECHNOLOGY
DEPT. OF ELECTRONICS AND COMMUNICATION ENGINEERING
Vision of the institute
To be a premier institute for professional education producing dynamic and vibrant force of
technocrat with competent skills, innovative ideas and leadership qualities to serve the society
with ethical and benevolent approach.
Mission of the institute
Mission_1: To create a learning environment with state-of-the art infrastructure, well equipped
laboratories, research facilities and qualified senior faculty to impart high quality technical
education.
Mission_2: To facilitate the learners to foster innovative ideas, inculcate competent research and
consultancy skills through Industry-Institute Interaction.
Mission_3: To develop hard work, honesty, leadership qualities and sense of direction in rural
youth by providing value based education.
Vision of the Department
To become a centre of excellence in the field of Electronics and Communication Engineering
and produce graduates with Technical Skills, Research & Consultancy Competencies, Life-long
Learning and Professional Ethics to meet the challenges of the Industry and Society.
Mission of the Department
Mission_1: To enrich Technical Skills of students through Effective Teaching and Learning
practices for exchange of ideas and dissemination of knowledge.
Mission_2: To enable the students with research and consultancy skill sets through state-of-the
art laboratories, industry interaction and training on core & multidisciplinary technologies.
Mission_3: To develop and instill creative thinking, Life-long learning, leadership qualities,
Professional Ethics and social responsibilities among students by providing value based
education.
Programme Educational Objectives ( PEOs)
PEO_1: To prepare the graduates to be able to plan, analyze and provide innovative ideas to
investigate complex engineering problems of industry in the field of Electronics and
Communication Engineering using contemporary design and simulation tools.
PEO_2: To provide students with solid fundamentals in core and multidisciplinary domain for
successful implementation of engineering products and also to pursue higher studies.
PEO_3: To inculcate learners with professional and ethical attitude, effective communication
skills, teamwork skills, and an ability to relate engineering issues to broader social context at
work place.
Programme Outcome (POs)
PO_1: Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex engineering
problems.
PO_2: Problem analysis: Identify, formulate, review research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of mathematics,
natural sciences, and engineering sciences.
PO_3: Design/development of solutions: Design solutions for complex engineering problems
and design system components or processes that meet the specified needs with appropriate
consideration for the public health and safety, and the cultural, societal, and environmental
considerations.
PO_4: Conduct investigations of complex problems: Use research-based knowledge and
research methods including design of experiments, analysis and interpretation of data, and
synthesis of the information to provide valid conclusions.
PO_5: Modern tool usage: Create, select, and apply appropriate techniques, resources, and
modern engineering and IT tools including prediction and modeling to complex engineering
activities with an understanding of the limitations.
PO_6: The engineer and society: Apply reasoning informed by the contextual knowledge to
assess societal, health, safety, legal and cultural issues and the consequent responsibilities
relevant to the professional engineering practice.
PO_7: Environment and sustainability: Understand the impact of the professional engineering
solutions in societal and environmental contexts, and demonstrate the knowledge of, and need
for sustainable development.
PO_8: Ethics: Apply ethical principles and commit to professional ethics and responsibilities
and norms of the engineering practice.
PO_9: Individual and team work: Function effectively as an individual, and as a member or
leader in diverse teams, and in multidisciplinary settings.
PO_10: Communication: Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend and write
effective reports and design documentation, make effective presentations, and give and receive
clear instructions.
PO_11: Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
PO_12: Life-long learning: Recognize the need for, and have the preparation and ability to
engage in independent and life-long learning in the broadest context of technological change.
Programme Specific Outcome (PSOs)
PSO_1: Higher Education: Qualify in competitive examinations for pursuing higher education
by applying the fundamental concepts of Electronics and Communication Engineering domains
such as Analog & Digital Electronics, Signal Processing, Communication & Networking,
Embedded Systems, VLSI Design and Control Systems etc..
PSO_2: Employment: Get employed in allied industries through their proficiency in program
specific domain knowledge, specialized software packages and Computer programming or
become an entrepreneur.
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY ANANTAPUR
IV B.Tech. I-Sem (ECE)
(13A04709) VLSI & EMBEDDED SYSTEMS LABORATORY
Course Outcomes (COs):
C417.1 Design and simulate combinational and sequential logic circuits using VHDL.
C417.2 Design and Implement combinational and sequential logic circuits in FPGA.
C417.3 Analysis of simulation results and schematic diagram of combinational and sequential logic circuits
C417.4 Develop programs for configuration of GPIO ports using TM4C 123GH6PM microcontroller
C417.5 Design and develop programs for interface modules with TM4C 123GH6PM microcontroller
PART A: VLSI (List of Experiments)
(For Laboratory Examination-Minimum of Six Experiments)
1. Realization of Logic Gates.
2. 3- to - 8Decoder- 74138.
3. 8 x 1 Multiplexer-74151 and 2 x 4 De-multiplexer-74155.
4. 4-Bit Comparator-7485.
5. D Flip-Flop-7474.
6. Decade counter-7490.
7. Shift registers-7495.
8. ALU Design.
PART B: Embedded Systems (List of Experiments)
(For Laboratory Examination-Minimum of Six Experiments)
9. Learn and understand how to configure EK-TM4C123GXL Launch pad digital I/O pins.
Write a C program for configuration of GPIO ports for Input and output operation
(blinking LEDs, push buttons interface).
10. Learn and understand Timer based interrupt programming. Write a C program for EK-
TM4C123GXL Launch pad and associated Timer ISR to toggle onboard LED using
interrupt programming technique.
11. Configure hibernation module of the TM4C123GH6PM microcontroller to place the
device in low power state and then to wake up the device on RTC (Real- Time Clock)
interrupt.
12. Configure in-build ADC of TM4C123GH6PM microcontroller and interface
potentiometer with EK-TM4C123GXL Launch pad to observe corresponding 12- bit
digital value.
13. Learn and understand the generation of Pulse Width Module (PWM) signal by
configuring and programming the in-build PWM module of TM4C123GH6PM
microcontroller.
14. Configure the PWM and ADC modules of TM4C123GH6PM microcontroller to control
the speed of a DC motor with a PWM signal based on the potentiometer output.
15. Learn and understand to connect EK-TM4C123GXL Launch pad to PC terminal and
send an echo of the data input back to the PC using UART.
16. Learn and understand interfacing of accelerometer in Sensor Hub Booster pack with EK-
TM4C123GXL Launch pad using I2C.
17. USB bulk transfer mode: Learn and understand to transfer data using bulk transfer mode
with the USB2.0 peripheral of the TM4C123GH6PM device.
18. Learn and understand to find the angle and hypotenuse of a right angle triangle using IQ
math library of Tiva Ware.
19. Learn and understand interfacing of CC3100 WiFi module with EKTM4C123GXL
Launch pad and configuration of static IP address for CC3100 booster pack.
20. Configure CC3100 Booster Pack connected to EK-TM4C123GXL Launch pad as a
Wireless Local Area Network (WLAN) Station to send Email over SMTP.
21. Configure CC3100 Booster Pack connected to EK-TM4C123GXL Launch pad as a
HTTP server.
VEMU INSTITUTE OF TECHNOLOGY
P.KOTHAKOTA, NEAR PAKALA, CHITTOOR, AP
Department of Electronics &Communication Engineering
PART A: VLSI (List of Experiments)
1. Realization of Logic Gates.
2. 3- to - 8Decoder- 74138.
3. 8 x 1 Multiplexer-74151 and 2 x 4 De-multiplexer-74155.
4. 4-Bit Comparator-7485.
5. D Flip-Flop-7474.
6. ALU Design.
PART B: Embedded Systems (List of Experiments)
7. Blinking led’s and push button interface using TM4CGH6PM.
8. Timer based interrupt programming using TM4C123GXL
9. Hibernation module for TM4C123GH6PM microcontroller
10. In-Build ADC of TM4C123GH6PM & Potentiometer with TM4C123GXL
11. PWM and ADC Modules of TM4C123GH6PM Microcontroller
12. Sensor Hub booster pack with TM4C123GXL
PART C: Advanced Experiments
13. Implementation of JK- Flipflop using VHDL
14. Echo of the data input back to the PC using UART
CONTENTS
S. NO. NAME OF THE EXPERIMENT PAGE NO
PART A: VLSI
1. Realization of Logic Gates.
2. 3- to - 8Decoder- 74138
3. 8 x 1 Multiplexer-74151 and 2 x 4 De-multiplexer-74155.
4. 4-Bit Comparator-7485
5. D Flip-Flop-7474
6. ALU Design
PART B: Embedded Systems
7. Blinking led’s and push button interface using TM4CGH6PM
8. Timer based interrupt programming using TM4C123GXL
9. Hibernation module for TM4C123GH6PM microcontroller
10. In-Build ADC of TM4C123GH6PM & potentiometer with
TM4C123GXL
11. PWM and ADC Modules of TM4C123GH6PM Microcontroller
12. Sensor Hub booster pack with TM4C123GXL
PART-C : Advanced Experiments
13. Implementation of JK- Flipflop using VHDL
14. Echo of the data input back to the PC using UART
DOS & DONTS IN LABORATORY
1. While entering the Laboratory, the students should follow the dress code
Wear shoes, White Apron & Female students should tie their hair back).
2. The students should bring their observation note book, practical manual,
record note book, calculator, necessary stationary items and graph sheets if
any for the lab classes without which the students will not be allowed for
doing the practical.
3. All the equipments and components should be handled with utmost care.
Any breakage/damage will be charged.
4. If any damage/breakage is noticed, it should be reported to the instructor
immediately.
5. If a student notices any short circuits, improper wiring and unusual smells
immediately the same thing is to be brought to the notice of technician/lab in
charge.
6. At the end of practical class the apparatus should be returned to the lab
technician and take back the indent slip.
7. Each experiment after completion should be written in the observation note
book and should be corrected by the lab in charge on the same day of the
practical class.
8. Each experiment should be written in the record note book only after getting
signature from the lab in charge in the observation note book.
9. Record should be submitted in the successive lab session after completion of
the experiment.
10. 100% attendance should be maintained for the practical classes.
SCHEME OF EVALUVATION
S No Date Name Of The Experiment
Marks Awarded
Sign. Observa
tion
(10M)
Viva
voce
(10M)
Total
(20M)
PART-A: VLSI
1. Realization of Logic Gates.
2. 3- to - 8Decoder- 74138
3. 8 x 1 Multiplexer-74151 and 2 x 4 De-
multiplexer-74155.
4. 4-Bit Comparator-7485
5. D Flip-Flop-7474
6. ALU Design
PART B: Embedded Systems
7. Blinking led’s and push button interface using
TM4CGH6PM
8. Timer based interrupt programming using
TM4C123GXL
9. Hibernation module for TM4C123GH6PM
microcontroller
10. In-Build ADC of TM4C123GH6PM &
potentiometer with TM4C123GXL
11. PWM and ADC Modules of
TM4C123GH6PM Microcontroller
12. Sensor Hub booster pack with TM4C123GXL
PART C: Advanced Experiments
13. Implementation of JK- Flipflop using VHDL
14. Echo of the data input back to the PC using
UART
Signature of Lab In-charge
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 1
PART A (VLSI LAB)
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 2
CIRCUIT DIAGRAM & TRUTH TABLES
AND GATE TRUTH TABLE
OR GATE
NOT GATE
NAND GATE
NOR GATE
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
A Y
0 1
1 0
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 3
AIM:
To write a VHDL/Verilog code for All Logic Gates and to generate
synthesis report, RTL schematic and to implement designs using FPGA (Spartan-2).
APPARATUS:
1. Synthesis Tool: Xilinx Project Navigator - ISE 9.1i.
2. Simulation Tool: Modelsim Simulator.
PROCEDURE:
1. Open Xilinx ISE 9.1i.
2. Create a new source file in a new project with suitable name.
3. Create the file in VHDL/Verilog module.
4. Select the appropriate input and output ports according to the requirements.
5. Type the program and save it and synthesize the process.
6. Select Synthesize XST, check for syntax errors and generate report and RTL
schematic.
7. Create another new source.
8. Select source type as Test bench wave form.
9. Associate the test bench to the source.
10. Assign clock and timing details.
11. Give the input waveforms for the source.
12. Save the input waveforms and perform behavioral simulation.
13. The simulated output waveforms window will be shown.
DUMPING PROCESS:
1. In the process window, go to ‘user constraints’ and select ‘assign package pins’
and after that double click on ‘implement design’.
2. Select properties by right clicking on ‘generate programming file’. Select
‘JTAG’ clock in startup options.
3. Select boundary scan in ‘impact window’ after double clicking on ‘configure
Device’.
4. In ‘generate programming file’ double clicking on ‘programming file
generation report. Bit file will be generated.
5. Xilinx boundary scan window will appear when the bit file is selected. Right
click on Xilinx component and select program.
6. Programming properties will appear and finally program will be succeeded.
7. Thus the program can be dumped into FPGA kit and finally output can be seen
on the kit.
EXP NO.
REALIZATION OF ALL LOGIC GATES
DATE
1
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 4
SIMULATED MODEL OUTPUT WAVEFORMS
AND gate
OR gate
NOT GATE
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 5
VHDL CODE:
AND GATE :
Library IEEE;
Use IEEE.STD_LOGIC_1164.ALL;
Use IEEE.STD_LOGIC_ARITH.ALL;
Use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity Andgate is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
y : out STD_LOGIC);
end Andgate ;
architecture Behavioral of Andgate is
begin
y <= a and b;
end Behavioral;
OR GATE :
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity orgate is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
y : out STD_LOGIC);
end orgate ;
architecture Behavioral of orgate is
begin
y <= a or b;
end Behavioral;
NAND gate
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 6
NOR gate
BLOCK DIAGRAM:
NOT GATE :
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 7
entity notgate is
Port ( a : in STD_LOGIC;
y : out STD_LOGIC);
end notgate ;
architecture Behavioral of notgate is
begin
y <= not a;
end Behavioral;
NAND GATE :
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity nandgate is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
y : out STD_LOGIC);
end nandgate ;
architecture Behavioral of nandgate is
begin
y <= a nand b;
end Behavioral;
NOR GATE : library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity norgate is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
y : out STD_LOGIC);
end norgate ;
TECHNOLOGY SCHEMATIC:
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 8
RTL SCHEMATIC:
architecture Behavioral of norgate is
begin
y <= a nor b;
end Behavioral;
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 9
DESIGN SUMMARY:
Number of Slices : 3 out of 960 0%
Number of 4 input LUTs : 5 out of 1920 0%
Number of IOs : 7
Number of bonded IOBs : 7 out of 66 10%
SYNTHESIS REPORT:
RTL Top Level Output File Name : allgates.ngr
Top Level Output File Name : allgates
Output Format : NGC
Optimization Goal : Speed
Keep Hierarchy : NO
Design Statistics
# IOs : 7
Cell Usage :
# BELS : 5
# INV : 1
# LUT2 : 4
# IO Buffers : 7
# IBUF : 2
# OBUF : 5
RESULT:
Thus, the VHDL/Verilog code for all logic gates was simulated and
its synthesis report, RTL schematic and Technology schematic was generated and
implemented successfully using FPGA (Spartan-3).
CONCLUSION:
It is concluded that we observed how the basic logic operator works and then write
down the truth table of each of the logic gates. Then compared the result of truth table and the
original function of the gate. After the experiment, it is concluded that NOR Gate which also
works as inventor give output opposite to its input. It is also concluded that the total path
delay is obtained as 5.934ns.
VIVA QUESTIONS:
1. Design all basic gates using 2:1 multiplexer?
2. Write the dataflow code for the logic gates
3. What are logic gates why the called so?
4. Which gates are called as universal gates? What are its advantages?
5. What are the applications of logic gates?
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 10
PIN DIAGRAM:
CIRCUIT DIAGRAM:
IC74X138
G1
G2A
G2B
A
B
C
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
G1
G2A_L
G2B_L
A
B
C
Y0_L
Y1_L
Y2_L
Y3_L
Y4_L
Y5_L
Y6_L
Y7_L
G1
G2A_L
G2B_L
A
B
C
Y0_L
Y1_L
Y2_L
Y3_L
Y4_L
Y5_L
Y6_L
Y7_L
VLSI & ES LAB IV B.Tech I SEMESTER
VEMU INSTITUTE OF TECHNOLOGY::DEPT OF ECE Page 11
AIM:
To write a VHDL/Verilog code for 3x8 Decoder and to generate synthesis
report, RTL schematic and to implement designs using FPGA (Spartan-2).
APPARATUS:
1. Synthesis Tool: Xilinx Project Navigator - ISE 9.1i.
2. Simulation Tool: Modelsim Simulator.
PROCEDURE:
1. Open Xilinx ISE 9.1i.
2. Create a new source file in a new project with suitable name.
3. Create the file in VHDL/Verilog module.
4. Select the appropriate input and output ports according to the requirements.
5. Type the program and save it and synthesize the process.
6. Select Synthesize XST, check for syntax errors and generate report and RTL
schematic.
7. Create another new source.
8. Select source type as Test bench wave form.
9. Associate the test bench to the source.
10. Assign clock and timing details.
11. Give the input waveforms for the source.
12. Save the input waveforms and perform behavioral simulation.
13. The simulated output waveforms window will be shown.
DUMPING PROCESS:
1. In the process window, go to ‘user constraints’ and select ‘assign package
pins’ and after that double click on ‘implement design’.
2. Select properties by right clicking on ‘generate programming file’. Select
‘JTAG’ clock in startup options.
3. Select boundary scan in ‘impact window’ after double clicking on ‘configure
device’.
4. In ‘generate programming file’ double clicking on ‘programming file
generation report. Bit file will be generated.
5. Xilinx boundary scan window will appear when the bit file is selected. Right
click on Xilinx component and select program.
6. Programming properties will appear and finally program will be succeeded.
7. Thus the program can be dumped into FPGA kit and finally output can be