+ All Categories
Home > Documents > DCM Nexys3 VHDL - Worcester Polytechnic Instituteusers.wpi.edu/~rjduck/DCM_Nexys3_VHDL.pdfMicrosoft...

DCM Nexys3 VHDL - Worcester Polytechnic Instituteusers.wpi.edu/~rjduck/DCM_Nexys3_VHDL.pdfMicrosoft...

Date post: 07-Apr-2018
Category:
Upload: phamdang
View: 220 times
Download: 3 times
Share this document with a friend
8
ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs Jim Duckworth, August 2012 1 This tutorial shows how to create a simple project using a DCM (Digital Clock Manager). The DCM generates 25MHz signals from the 100MHz xtal clock connected to the FPGA. Create a simple module with the following ports:
Transcript

ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs

Jim Duckworth, August 2012 1

This tutorial shows how to create a simple project using a DCM (Digital Clock Manager).

The DCM generates 25MHz signals from the 100MHz xtal clock connected to the FPGA.

Create a simple module with the following ports:

ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs

Jim Duckworth, August 2012 2

Add a new IP source:

Call it dcm_25 (for 25MHz DCM)

Next and Select the Clocking Wizard core:

ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs

Jim Duckworth, August 2012 3

Click Next and then Finish.

Click next to go to the second page.

Change the output frequency of CLK_OUT1 to 25MHz.

ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs

Jim Duckworth, August 2012 4

Click Next to go through next few pages and click Generate.

You can now see the dcm_25 in the Design pane,

Select it and you will see some options in the Processes pane.

ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs

Jim Duckworth, August 2012 5

Select the View HDL Instantiation Template

Double –click the View HDL Instantiation Template process:

ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs

Jim Duckworth, August 2012 6

Copy and Paste the DCM instantiation templates to your original VHDL:

ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs

Jim Duckworth, August 2012 7

Create a UCF File

Synthesize, Implement, and Generate a Programming File.

Here is a schematic of what we have created:

ECE 574 Modeling and synthesis of digital systems using Verilog and VHDL Using DCMs

Jim Duckworth, August 2012 8


Recommended