3_2 (774788), страница 3
Текст из файла (страница 3)
.O(Y[1]));
OR2 XLXI_16 (.I0(XLXN_39),
.I1(XLXN_38),
.O(Y[2]));
endmodule
Выполним трансляцию проекта распределителя сигналов с последовательностью переключения сигналов: 2,2,1,1,2,3,2,1,…. В качестве исходного проекта используем проект, созданный в лабораторной работе № 1.
Результаты проведения трансляции проекта можно увидеть в отчете по проведению трансляции:
Release 6.3i - ngdbuild G.35
Copyright (c) 1995-2004 Xilinx, Inc. All rights reserved.
Command Line: ngdbuild -dd _ngo -uc var13.ucf -p xc9500 var13.ngc var13.ngd
Reading NGO file "c:/xilinx/bin/var13/var13.ngc" ...
Reading component libraries for design expansion...
Annotating constraints to design from file "var13.ucf" ...
Checking timing specifications ...
Checking expanded design ...
NGDBUILD Design Results Summary:
Number of errors: 0
Number of warnings: 0
Total memory usage is 38356 kilobytes
Writing NGD file "var13.ngd" ...
Writing NGDBUILD log file "var13.bld"...
Осуществим размещение и трассировку, в результате получим:
cpldfit: version G.35 Xilinx Inc.
Fitter Report
Design Name: var13 Date: 10-14-2008, 7:15PM
Device Used: XC9536-5-PC44
Fitting Status: Successful
**************** Resource Summary *****************
Macrocells Product Terms Registers Pins Function Block
Used Used Used Used Inputs Used
6 /36(17%) 15 /180( 8%) 3/36(8%) 13/34(38%) 12/72(17%)
PIN RESOURCES:
Signal Type Required Mapped | PinType Used Remaining
----------------------------------------|-----------------------------------
Input : 6 6 | I/O : 12 16
Output : 3 3 | GCK/IO : 0 3
Bidirectional : 3 3 | GTS/IO : 0 2
GCK : 0 0 | GSR/IO : 1 0
GTS : 0 0 |
GSR : 1 1 |
---- ----
Total 13 13
MACROCELL RESOURCES:
Total Macrocells Available 36
Registered Macrocells 3
Non-registered Macrocell driving I/O 3
GLOBAL RESOURCES:
Global clock net(s) unused.
Global output enable net(s) unused.
Signal 'CLR' mapped onto global set/reset net GSR.
POWER DATA:
There are 6 macrocells in high performance mode (MCHP).
There are 0 macrocells in low power mode (MCLP).
There are a total of 6 macrocells used (MC).
End of Resource Summary
************* Summary of Required Resources *****************
** LOGIC **
Signal Total Signals Loc Pwr Slew Pin Pin Pin Reg Init
Name Pt Used Mode Rate # Type Use State
Q 2 2 FB1_2 STD FAST 3 I/O I/O RESET
Q 4 4 FB2_1 STD FAST 1 I/O I/O RESET
Q 4 5 FB2_11 STD FAST 34 I/O I/O RESET
Y 2 3 FB1_8 STD FAST 9 I/O O
Y 2 3 FB1_12 STD FAST 14 I/O O
Y 1 3 FB1_16 STD FAST 22 I/O O
** INPUTS **
Signal Loc Pin Pin Pin
Name # Type Use
C FB2_4 43 I/O I
CLR FB2_6 39 GSR/I/O GSR
CLR FB2_9 36 I/O I
CLR FB1_6 8 I/O I
PRE FB1_10 12 I/O I
PRE FB1_9 11 I/O I
PRE FB2_10 35 I/O I
End of Resources
***********Function Block Resource Summary******************
Function # of FB Inputs Signals Total O/IO IO
Block Macrocells Used Used Pt Used Req Avail
FB1 4 5 5 7 3/1 17
FB2 2 7 7 8 0/2 17
---- ----- ----- -----
6 15 3/3 34
************************* FB1 ****************************
Number of function block inputs used/remaining: 5/31
Number of signals used by logic mapping into function block: 5
Signal Total Imp Exp Unused Loc Pwr Pin Pin Pin
Name Pt Pt Pt Pt Mode # Type Use
(unused) 0 0 0 5 FB1_1 2 I/O
Q 2 0 0 3 FB1_2 STD 3 I/O I/O
(unused) 0 0 0 5 FB1_3 5 GCK/I/O
(unused) 0 0 0 5 FB1_4 4 I/O
(unused) 0 0 0 5 FB1_5 6 GCK/I/O
(unused) 0 0 0 5 FB1_6 8 I/O I
(unused) 0 0 0 5 FB1_7 7 GCK/I/O
Y 2 0 0 3 FB1_8 STD 9 I/O O
(unused) 0 0 0 5 FB1_9 11 I/O I
(unused) 0 0 0 5 FB1_10 12 I/O I
(unused) 0 0 0 5 FB1_11 13 I/O
Y 2 0 0 3 FB1_12 STD 14 I/O O
(unused) 0 0 0 5 FB1_13 18 I/O
(unused) 0 0 0 5 FB1_14 19 I/O
(unused) 0 0 0 5 FB1_15 20 I/O
Y 1 0 0 4 FB1_16 STD 22 I/O O
(unused) 0 0 0 5 FB1_17 24 I/O
(unused) 0 0 0 5 FB1_18 (b)
Signals Used by Logic in Function Block
1: C 3: Q.PIN 5: Q.PIN
2: PRE 4: Q.PIN
Signal 1 2 3 4 Signals FB
Name 0----+----0----+----0----+----0----+----0 Used Inputs
Q XX....................................………….. 2 2
Y ..XXX.................................…….…… 3 3
Y ..XXX.................................…….…… 3 3
Y ..XXX.................................…….…… 3 3
0----+----1----+----2----+----3----+----4
0 0 0 0
Legend:
Total Pt - Total product terms used by the macrocell signal
Imp Pt - Product terms imported from other macrocells
Exp Pt - Product terms exported to other macrocells
in direction shown
Unused Pt - Unused local product terms remaining in macrocell
Loc - Location where logic was mapped in device
Pwr Mode - Macrocell power mode
Pin Type/Use - I - Input GCK - Global Clock
O - Output GTS - Global Output Enable
(b) - Buried macrocell GSR - Global Set/Reset
X(@) - Signal used as input (wire-AND input) to the macrocell logic.
The number of Signals Used may exceed the number of FB Inputs Used due to wire-ANDing in the switch matrix.
************************* FB2 ****************************
Number of function block inputs used/remaining: 7/29
Number of signals used by logic mapping into function block: 7
Signal Total Imp Exp Unused Loc Pwr Pin Pin Pin
Name Pt Pt Pt Pt Mode # Type Use
Q 4 0 0 1 FB2_1 STD 1 I/O I/O
(unused) 0 0 0 5 FB2_2 44 I/O
(unused) 0 0 0 5 FB2_3 42 GTS/I/O
(unused) 0 0 0 5 FB2_4 43 I/O I
(unused) 0 0 0 5 FB2_5 40 GTS/I/O
(unused) 0 0 0 5 FB2_6 39 GSR/I/O GSR
(unused) 0 0 0 5 FB2_7 38 I/O
(unused) 0 0 0 5 FB2_8 37 I/O
(unused) 0 0 0 5 FB2_9 36 I/O I
(unused) 0 0 0 5 FB2_10 35 I/O I
Q 4 0 0 1 FB2_11 STD 34 I/O I/O
(unused) 0 0 0 5 FB2_12 33 I/O
(unused) 0 0 0 5 FB2_13 29 I/O
(unused) 0 0 0 5 FB2_14 28 I/O
(unused) 0 0 0 5 FB2_15 27 I/O
(unused) 0 0 0 5 FB2_16 26 I/O
(unused) 0 0 0 5 FB2_17 25 I/O
(unused) 0 0 0 5 FB2_18 (b)
Signals Used by Logic in Function Block
1: CLR 4: PRE 6: Q.PIN
2: CLR 5: PRE 7: Q.PIN
3: C
Signal 1 2 3 4 Signals FB
Name 0----+----0----+----0----+----0----+----0 Used Inputs
Q X.XX.X................................………... 4 4
Q .XX.XXX...............................………. 5 5
0----+----1----+----2----+----3----+----4
0 0 0 0
Legend:
Total Pt - Total product terms used by the macrocell signal
Imp Pt - Product terms imported from other macrocells
Exp Pt - Product terms exported to other macrocells
in direction shown
Unused Pt - Unused local product terms remaining in macrocell
Loc - Location where logic was mapped in device
Pwr Mode - Macrocell power mode
Pin Type/Use - I - Input GCK - Global Clock
O - Output GTS - Global Output Enable
(b) - Buried macrocell GSR - Global Set/Reset
X(@) - Signal used as input (wire-AND input) to the macrocell logic.
The number of Signals Used may exceed the number of FB Inputs Used due to wire-ANDing in the switch matrix.
;;-----------------------------------------------------------------;;
; Implemented Equations.
FTCPE FTCPE_Q1 (Q[1],1'b1,C,CLR,PRE[1]);
FTCPE FTCPE_Q2 (Q[2],Q[1].PIN,C,CLR[2],PRE[2]);
FTCPE FTCPE_Q3 (Q[3],Q_T[3],C,CLR[3],PRE[3]);
assign Q_T[3] = (Q[1].PIN && Q[2].PIN);
assign Y[1] = ((Q[1].PIN && Q[2].PIN)
|| (Q[2].PIN && !Q[3].PIN));
assign Y[2] = ((!Q[1].PIN && Q[3].PIN)
|| (!Q[2].PIN && !Q[3].PIN));
assign Y[3] = (Q[1].PIN && !Q[2].PIN && Q[3].PIN);
Register Legend:
FDCPE (Q,D,C,CLR,PRE);
FTCPE (Q,D,C,CLR,PRE);
LDCP (Q,D,G,CLR,PRE);
******************* Device Pin Out *************************
Device : XC9536-5-PC44
---------------------------------------
/6 5 4 3 2 1 44 43 42 41 40 \
| 7 39 |
| 8 38 |
| 9 37 |
| 10 36 |
| 11 XC9536-5-PC44 35 |
| 12 34 |
| 13 33 |
| 14 32 |
| 15 31 |
| 16 30 |
| 17 29 |
\ 18 19 20 21 22 23 24 25 26 27 28 /
----------------------------------------
Pin Signal Pin Signal
No. Name No. Name
1 Q 23 GND
2 TIE 24 TIE
3 Q 25 TIE
4 TIE 26 TIE
5 TIE 27 TIE
6 TIE 28 TIE
7 TIE 29 TIE
8 CLR 30 TDO
9 Y 31 GND
10 GND 32 VCC
11 PRE 33 TIE
12 PRE 34 Q
13 TIE 35 PRE
14 Y 36 CLR
15 TDI 37 TIE
16 TMS 38 TIE
17 TCK 39 CLR
18 TIE 40 TIE
19 TIE 41 VCC
20 TIE 42 TIE
21 VCC 43 C
22 Y 44 TIE
Legend : NC = Not Connected, unbonded pin
PGND = Unused I/O configured as additional Ground pin
TIE = Unused I/O floating -- must tie to VCC, GND or other signal
VCC = Dedicated Power Pin
GND = Dedicated Ground Pin
TDI = Test Data In, JTAG pin
TDO = Test Data Out, JTAG pin
TCK = Test Clock, JTAG pin
TMS = Test Mode Select, JTAG pin
PE = Port Enable pin
PROHIBITED = User reserved pin
**************** Compiler Options *************************
Following is a list of all global compiler options used by the fitter run.
Device(s) Specified : xc9536-5-PC44
Optimization Method : SPEED
Multi-Level Logic Optimization : ON
Ignore Timing Specifications : OFF
Default Register Power Up Value : LOW
Keep User Location Constraints : ON
What-You-See-Is-What-You-Get : OFF
Exhaustive Fitting : OFF
Keep Unused Inputs : OFF
Slew Rate : FAST
Power Mode : STD
Ground on Unused IOs : OFF
Global Clock Optimization : ON
Global Set/Reset Optimization : ON
Global Ouput Enable Optimization : ON
FASTConnect/UIM optimzation : ON
Local Feedback : ON
Pin Feedback : ON
Input Limit : 36
Pterm Limit : 25
После проведения трассировки и размещения результаты моделирования (рис.2.39) можно просмотреть с помощью View Fitter Design (ChipViewer).
Рис.2.39
Содержание отчета о временных характеристиках:
Timing Report
Need help reading this report?
| Design Name | var13 |
| Device, Speed (SpeedFile Version) | XC9536, -5 (3.0) |
| Date Created | Wen Nov 22 14:58:51 2008 |
| Created By | Timing Report Generator: version G.35 |
| Copyright | Copyright (c) 1995-2004 Xilinx, Inc. All rights reserved. |
Summary
| Performance Summary | |
| Min. Clock Period | 8.000 ns. |
| Max. Clock Frequency (fSYSTEM) | 125.000 MHz. |
| Limited by Clock Pulse Width for C | |
| Clock to Setup (tCYC) | 7.500 ns. |
| Clock Pad to Output Pad Delay (tCO) | 12.000 ns. |
Timing Constraints
| Constraint Name | Requirement (ns) | Delay(ns) | Paths | Paths Failing |
| TS1000 | 30.0 | 0.0 | 0 | 0 |
Constraint: TS1000
| Description:PERIOD:PERIOD_C:30.000nS:HIGH:50.000000:% | |||
| Path | Requirement (ns) | Delay (ns) | Slack (ns) |
Number of constraints not met: 0















