1 |
7 |
ocadmin |
# --------------------------------------------------------------
|
2 |
|
|
#
|
3 |
|
|
# Sample Constraints file for pci-mini project
|
4 |
|
|
#
|
5 |
|
|
# Istvan Nagy, PEC Products, Industrial Technologies, 2007
|
6 |
|
|
#
|
7 |
|
|
#
|
8 |
|
|
# The signal names are coming from a used project's top-level
|
9 |
|
|
# signals. These will be different in your project. So, rename
|
10 |
|
|
# them. and copy them into your ucf file, if you use xilinx-ISE.
|
11 |
|
|
# --------------------------------------------------------------
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
#--------------User_Timing ------------------------------------
|
15 |
|
|
NET "extPCICLK" PERIOD = 30 ns HIGH 50 %;
|
16 |
|
|
OFFSET = OUT 23 ns AFTER "extPCICLK" ;
|
17 |
|
|
TIMESPEC "TS_P2P" = FROM "PADS" TO "PADS" 23 ns;
|
18 |
|
|
#TIMESPEC TS_extPCICLK=PERIOD extPCICLK 30 HIGH 15
|
19 |
|
|
# from the pci-opencores.
|
20 |
|
|
NET "extPCI_devsel" OFFSET = IN 7 ns BEFORE "extPCICLK" ;
|
21 |
|
|
NET "extPCI_devsel" OFFSET = OUT 11 ns AFTER "extPCICLK" ;
|
22 |
|
|
NET "extPCI_frame" OFFSET = IN 7 ns BEFORE "extPCICLK" ;
|
23 |
|
|
NET "extPCI_frame" OFFSET = OUT 11 ns AFTER "extPCICLK" ;
|
24 |
|
|
#INST "FRAME.PAD" TNM = "PCI_CTRL"
|
25 |
|
|
#INST "GNT.PAD" TNM = "PCI_GNT"
|
26 |
|
|
NET "extPCI_irdy" OFFSET = IN 7 ns BEFORE "extPCICLK" ;
|
27 |
|
|
NET "extPCI_irdy" OFFSET = OUT 11 ns AFTER "extPCICLK" ;
|
28 |
|
|
#INST "IRDY.PAD" TNM="PCI_CTRL"
|
29 |
|
|
NET "extPCI_par" OFFSET = IN 7 ns BEFORE "extPCICLK" ;
|
30 |
|
|
NET "extPCI_par" OFFSET = OUT 11 ns AFTER "extPCICLK" ;
|
31 |
|
|
#INST "PAR.PAD" TNM = "PCI_CTRL"
|
32 |
|
|
##NET "extPCI_perr" OFFSET = IN 7 ns BEFORE "extPCICLK" ;
|
33 |
|
|
##NET "extPCI_perr" OFFSET = OUT 11 ns AFTER "extPCICLK" ;
|
34 |
|
|
#INST "PERR.PAD" TNM = "PCI_CTRL"
|
35 |
|
|
#INST "REQ.PAD" TNM = "PCI_REQ"
|
36 |
|
|
##NET "extPCI_serr" OFFSET = OUT 11 ns AFTER "extPCICLK" ;
|
37 |
|
|
#INST "SERR.PAD" TNM = "PCI_CTRL"
|
38 |
|
|
#INST "STOP.PAD" TNM = "PCI_CTRL"
|
39 |
|
|
NET "extPCI_stop" OFFSET = IN 7 ns BEFORE "extPCICLK" ;
|
40 |
|
|
NET "extPCI_stop" OFFSET = OUT 11 ns AFTER "extPCICLK" ;
|
41 |
|
|
#INST "TRDY.PAD" TNM = "PCI_CTRL"
|
42 |
|
|
#NET "extPCI_idsel" OFFSET = IN 7 ns BEFORE "extPCICLK" ;
|
43 |
|
|
NET "extPCICLK" TNM_NET = "extPCICLK";
|
44 |
|
|
|
45 |
|
|
INST "extPCI_AD<6>" TNM = "extPCI_AD";
|
46 |
|
|
INST "extPCI_AD<7>" TNM = "extPCI_AD";
|
47 |
|
|
INST "extPCI_AD<8>" TNM = "extPCI_AD";
|
48 |
|
|
INST "extPCI_AD<9>" TNM = "extPCI_AD";
|
49 |
|
|
INST "extPCI_AD<10>" TNM = "extPCI_AD";
|
50 |
|
|
INST "extPCI_AD<11>" TNM = "extPCI_AD";
|
51 |
|
|
INST "extPCI_AD<12>" TNM = "extPCI_AD";
|
52 |
|
|
INST "extPCI_AD<13>" TNM = "extPCI_AD";
|
53 |
|
|
INST "extPCI_AD<14>" TNM = "extPCI_AD";
|
54 |
|
|
INST "extPCI_AD<15>" TNM = "extPCI_AD";
|
55 |
|
|
INST "extPCI_AD<20>" TNM = "extPCI_AD";
|
56 |
|
|
INST "extPCI_AD<16>" TNM = "extPCI_AD";
|
57 |
|
|
INST "extPCI_AD<21>" TNM = "extPCI_AD";
|
58 |
|
|
INST "extPCI_AD<17>" TNM = "extPCI_AD";
|
59 |
|
|
INST "extPCI_AD<22>" TNM = "extPCI_AD";
|
60 |
|
|
INST "extPCI_AD<18>" TNM = "extPCI_AD";
|
61 |
|
|
INST "extPCI_AD<23>" TNM = "extPCI_AD";
|
62 |
|
|
INST "extPCI_AD<19>" TNM = "extPCI_AD";
|
63 |
|
|
INST "extPCI_AD<24>" TNM = "extPCI_AD";
|
64 |
|
|
INST "extPCI_AD<25>" TNM = "extPCI_AD";
|
65 |
|
|
INST "extPCI_AD<30>" TNM = "extPCI_AD";
|
66 |
|
|
INST "extPCI_AD<26>" TNM = "extPCI_AD";
|
67 |
|
|
INST "extPCI_AD<31>" TNM = "extPCI_AD";
|
68 |
|
|
INST "extPCI_AD<27>" TNM = "extPCI_AD";
|
69 |
|
|
INST "extPCI_AD<28>" TNM = "extPCI_AD";
|
70 |
|
|
INST "extPCI_AD<29>" TNM = "extPCI_AD";
|
71 |
|
|
INST "extPCI_AD<0>" TNM = "extPCI_AD";
|
72 |
|
|
INST "extPCI_AD<1>" TNM = "extPCI_AD";
|
73 |
|
|
INST "extPCI_AD<2>" TNM = "extPCI_AD";
|
74 |
|
|
INST "extPCI_AD<3>" TNM = "extPCI_AD";
|
75 |
|
|
INST "extPCI_AD<4>" TNM = "extPCI_AD";
|
76 |
|
|
INST "extPCI_AD<5>" TNM = "extPCI_AD";
|
77 |
|
|
|
78 |
|
|
TIMEGRP "extPCI_AD" OFFSET = IN 7 ns BEFORE "extPCICLK";
|
79 |
|
|
TIMEGRP "extPCI_AD" OFFSET = OUT 11 ns AFTER "extPCICLK";
|
80 |
|
|
|