Download presentation
Presentation is loading. Please wait.
Published byHugh Mitchell Modified over 9 years ago
1
Introductory project
2
Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design Synthesis –XST: Xilinx Synthesis Technology –Mentor: Leonardo Spectrum –Synplicity: Synplify Pro –Celoxica: DK Design Suite Simulation –Mentor: Modelsim –Aldec: Active-HDL –Celoxica: DK Design Suite
3
Design Flow Design Entry –Schematic –Hardware description language (VHDL, Verilog) –Intellectual Property IP blocks –Xilinx CoreGen Design Synthesis –High level description -> Circuit
4
Design Flow Design Verification –Behavioral Simulation Checking high level description of the circuit –Functional Simulation Checking synthesized circuit –Timing Simulation –Static Timing Analysis Searching critical paths –In-Circuit Verification
5
Design Flow Optimization (NGDBuild) –Merge multiple design files into a single netlist Mapping (MAP) –Group logical symbols from the netlist (gates) into physical components (slices and IOBs)
6
Design Flow Place & Route (PAR): –Place components onto the chip, connect the components, and extract timing data into reports Bitstream Generation (BitGen) –Create configuration file
7
Create new project Select: File -> New Project Choose project directory and name (myand2) Set top-level source type to HDL
8
Set Device Properties Select: Family: Spartan3E Device: XC3S500E Package: FG320 Speed -5 Synthesis tool: XST Simulator: Modelsim-SE Mixed Preferred Language: VHDL
9
Create new source Click New Source… Select VHDL Module from the list Choose File name (myand2)
10
Define Module Set two inputs (a,b) and one output (c)
11
Project Navigator Source files Built-in editor / Report summary Processes / Utilities Console
12
Simple VHDL source
13
Create Testbench Right click myand2 - behavioral in the sources window and select New Source Select VHDL Test Bench from the list Choose File name (myand2_tb)
14
Associate testbench
15
Find testbench files From the Sources for: list select Behavioral Simulation Open myand2_tb
16
Create stimulus
17
Simulation In the Processes for Source window open ModelSim Simulator Right click Simulate Behavioral Model and select Properties…
18
Set Simulation Properties Set Simulation Resolution to 1ns
19
The user interface of the ModelSim VHDL simulator
20
Compile, Compile All, Simulate, Break Restart, Run length, Run, Continue Run, Run –All, Step, Step Over, Profiling
21
Insert Cursor, Delete Cursor Previous Transition, Next Transition Zoom In/Out, Zoom Full Zoom to Active Cursor
22
Design Synthesis Set Sources for to Implementation Select myand2 - Behavioral In the Processes for window double click Synthesize - XST
23
View RTL Schematic
24
View Technology Schematic
25
Create Implementation Constraints Right click myand2 - behavioral in the sources window and select New Source Select VHDL Test Bench from the list Choose File name (myand2)
26
Assign Package Pins In the Processes window open User Constraints Select Floorplan I/O – Pre-Synthesis
27
Assign Package Pins Set Loc –a: H18 –b: G18 –c: J14
28
Implement Design In the Processes for window double click Implement Design Check Place and Route Report for LOCed IBUFs/IOBs
29
Set Programming File Properties Right click Generate Programming File in the Processes for window and select Properties… Set Startup Options / FPGA Start-Up Clock to JTAG Clock Double click Generate Programming File
30
Configuring the device Attach and Turn On Nexys2 board Start Digilent / Adept / ExPort Click Initialize Chain Bypass configuration ROM
31
Configuring the device Browse to the project directory Select myand2.bit Click Program Chain Test your first circuit implemented on FPGA
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.