Professional Documents
Culture Documents
Xilinx Design 2
Xilinx Design 2
FPGA Design
Getting Started with Xilinx FPGAs
Version 2.1i
Outline
Hierarchical Design
Synchronous Design for XilinxFPGAs
Summary
W hy Synchronous Design?
Xilinx FPGA Design Tips
W hy Synchronous Design?
Synchronous circuits are m ore reliable
— Events are triggered by clock edges which occur at well-
defined intervals
— Outputs from one logic stage have a full clock cycle to
propagate to the next stage
– Skew between data arrival timesistolerated within the same
clockperiod
Asynchronous circuits are less reliable
— A delay may need to be a specific amount (e.g.12ns)
— Multiple delays may need to hold a specific relationship (e.g.
DATA arrives 5ns before SELECT)
Design Tips
Xilinx FPGA Design
Reduce clock skew
Clock dividers
Avoid glitches on clocks and asynchronous
set/reset signals
The GlobalSet/Reset network
Select a state m achine encoding schem e
Access carry logic
Build efficient counters
CLOCK
3.0 12.5 3.0
A B C
D Q
D Q
CLK2
BUFG
CLK1
BUFG
© 1999 Xilinx, Inc.
All Rights Reserved
Intro to FPGA Design 6-16
No part of this document may be reproduced or transmitted without the
express written permission of the Director of XilinxCustomer Education.
D Q
CLK2_CE CE
D Q
CLK1
BUFG
FF
LSB
Gl
itch mayoccur here
Binary
Counter
© 1999 Xilinx, Inc.
All Rights Reserved
Intro to FPGA Design 6-18
No part of this document may be reproduced or transmitted without the
express written permission of the Director of XilinxCustomer Education.
D
INPUT D Q3
Q2
CE Q
Q1
Q0
FF
CLOCK
Counter
Binary CLR
Counter
Q[x]
RESET
Q[0]
CLOCK
Binary R
Counter
Q[x]
RESET
Q[0]
CLOCK