Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ECE4375-001/D01 Microprocessor Architecture HW2 NOTE: Submit the project directory in a ZIP file named using the following scheme: firstLast-HW2. Comment your code thoroughly and include

image text in transcribed
ECE4375-001/D01 Microprocessor Architecture HW2 NOTE: Submit the project directory in a ZIP file named using the following scheme: firstLast-HW2. Comment your code thoroughly and include your name and R number on top of each source file. Write Verilog code and testbench to create a left aligned 8-bit pulse width modulation (PWM) module. The PWM module will have clock input and a PWM output line (1-bit) along with a counter register (8-bit), a period register (8-bit), and a compare register (8-bit). Given that this module performs math, it will need a reset input to initialize all registers to zero. Additionally, the PMW module will need a way to write to the period and compare registers from the testbench. For this, equip your PWM module with two 8-bit busses that will be used to write values to these two registers from the testbench. The testbench must drive the clock line at a frequency of 1MHz. Test the period register functionality with the following values: 0x7F, OxFF. Use the following values to test the compare register with both of the period register values previously specified: 0x1F, 03F, and 07F

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

What are some global employee and labor relations problems?

Answered: 1 week ago