Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

8 Bit Adder, Subtractor-Verilog HDL-Assignment, Exercises of Verilog and VHDL

This assignment was given by Sir Hirak Sahil for Verilog HDL course at Allahabad University. It includes: ModelSim, 8-bit, Adder, Subtactor, Module, Stimulus, Compile, Display, Error, Message, FSM, Design, Simulation

Typology: Exercises

2011/2012
On special offer
50 Points
Discount

Limited-time offer


Uploaded on 07/13/2012

solution
solution 🇮🇳

4.3

(21)

84 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Lab Assignment 4
Task# 01
Create a new project in ModelSim, add the files containing 8-bit adder/subtactor
module and Self-testing Stimulus module to the project
Compile and run the simulation of 8-bit adder/subtractor in ModelSim
Self-testing Stimulus should Display Error message if there is any error in the design.
Also show timing waveforms to Lab Instructor
Task# 02
Write Verilog code in behavioral modeling for Mealy Finite State Machine (FSM)
Write Stimulus module to verify FSM design. Stimulus module should give inputs to
design module and display corresponding outputs using $monitor.
Compile and run the simulation in ModelSim and display output waveforms as well
Task# 03
Write Verilog code in behavioral modeling for Moore Finite State Machine (FSM)
Write Stimulus module to verify FSM design. Stimulus module should give inputs to
design module and display corresponding outputs using $monitor.
Compile and run the simulation in ModelSim and display output waveforms as well
docsity.com
Discount

On special offer

Partial preview of the text

Download 8 Bit Adder, Subtractor-Verilog HDL-Assignment and more Exercises Verilog and VHDL in PDF only on Docsity!

Lab Assignment 4

Task# 01

 Create a new project in ModelSim, add the files containing 8-bit adder/subtactor module and Self-testing Stimulus module to the project  Compile and run the simulation of 8-bit adder/subtractor in ModelSim  Self-testing Stimulus should Display Error message if there is any error in the design. Also show timing waveforms to Lab Instructor

Task# 02

 Write Verilog code in behavioral modeling for Mealy Finite State Machine (FSM)  Write Stimulus module to verify FSM design. Stimulus module should give inputs to design module and display corresponding outputs using $ monitor.  Compile and run the simulation in ModelSim and display output waveforms as well

Task# 03

 Write Verilog code in behavioral modeling for Moore Finite State Machine (FSM)  Write Stimulus module to verify FSM design. Stimulus module should give inputs to design module and display corresponding outputs using $ monitor.  Compile and run the simulation in ModelSim and display output waveforms as well

docsity.com