1 |
4 |
sonicwave |
#
|
2 |
|
|
# uTosNet_uart Example
|
3 |
|
|
#
|
4 |
|
|
# uTosNet_uart_xc3s50an.ucf
|
5 |
|
|
# File created by:
|
6 |
|
|
# Simon Falsig
|
7 |
|
|
# University of Southern Denmark
|
8 |
|
|
# Copyright 2010
|
9 |
|
|
#
|
10 |
|
|
# This file is part of the uTosNet_uart Example
|
11 |
|
|
#
|
12 |
|
|
# The uTosNet_uart Example is free software: you can redistribute it
|
13 |
|
|
# and/or modify it under the terms of the GNU Lesser General Public License as
|
14 |
|
|
# published by the Free Software Foundation, either version 3 of the License,
|
15 |
|
|
# or (at your option) any later version.
|
16 |
|
|
#
|
17 |
|
|
# The uTosNet_uart Example is distributed in the hope that it will be
|
18 |
|
|
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
|
20 |
|
|
# General Public License for more details.
|
21 |
|
|
#
|
22 |
|
|
# You should have received a copy of the GNU Lesser General Public License
|
23 |
|
|
# along with the uTosNet_uart Example. If not, see
|
24 |
|
|
# .
|
25 |
|
|
#
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
3 |
sonicwave |
NET "CLK_50M_I" LOC = P124;
|
30 |
|
|
NET "CLK_50M_I" IOSTANDARD = LVTTL;
|
31 |
|
|
NET "LEDS_O[0]" LOC = P10;
|
32 |
|
|
NET "LEDS_O[0]" IOSTANDARD = LVTTL;
|
33 |
|
|
NET "LEDS_O[1]" LOC = P12;
|
34 |
|
|
NET "LEDS_O[1]" IOSTANDARD = LVTTL;
|
35 |
|
|
NET "LEDS_O[2]" LOC = P13;
|
36 |
|
|
NET "LEDS_O[2]" IOSTANDARD = LVTTL;
|
37 |
|
|
NET "SERIAL_I" LOC = P125;
|
38 |
|
|
NET "SERIAL_I" IOSTANDARD = LVTTL;
|
39 |
|
|
NET "SERIAL_O" LOC = P127;
|
40 |
|
|
NET "SERIAL_O" IOSTANDARD = LVTTL;
|
41 |
|
|
#NET "GFX_BLU_O[0]" LOC = P3;
|
42 |
|
|
#NET "GFX_BLU_O[0]" IOSTANDARD = LVTTL;
|
43 |
|
|
#NET "GFX_BLU_O[1]" LOC = P6;
|
44 |
|
|
#NET "GFX_BLU_O[1]" IOSTANDARD = LVTTL;
|
45 |
|
|
#NET "GFX_BLU_O[2]" LOC = P5;
|
46 |
|
|
#NET "GFX_BLU_O[2]" IOSTANDARD = LVTTL;
|
47 |
|
|
#NET "GFX_GRN_O[0]" LOC = P4;
|
48 |
|
|
#NET "GFX_GRN_O[0]" IOSTANDARD = LVTTL;
|
49 |
|
|
#NET "GFX_GRN_O[1]" LOC = P131;
|
50 |
|
|
#NET "GFX_GRN_O[1]" IOSTANDARD = LVTTL;
|
51 |
|
|
#NET "GFX_GRN_O[2]" LOC = P8;
|
52 |
|
|
#NET "GFX_GRN_O[2]" IOSTANDARD = LVTTL;
|
53 |
|
|
#NET "GFX_HS_O" LOC = P126;
|
54 |
|
|
#NET "GFX_HS_O" IOSTANDARD = LVTTL;
|
55 |
|
|
#NET "GFX_RED_O[0]" LOC = P129;
|
56 |
|
|
#NET "GFX_RED_O[0]" IOSTANDARD = LVTTL;
|
57 |
|
|
#NET "GFX_RED_O[1]" LOC = P132;
|
58 |
|
|
#NET "GFX_RED_O[1]" IOSTANDARD = LVTTL;
|
59 |
|
|
#NET "GFX_RED_O[2]" LOC = P7;
|
60 |
|
|
#NET "GFX_RED_O[2]" IOSTANDARD = LVTTL;
|
61 |
|
|
#NET "GFX_VS_O" LOC = P130;
|
62 |
|
|
#NET "GFX_VS_O" IOSTANDARD = LVTTL;
|
63 |
|
|
#NET "CLK_50M_I" TNM_NET = CLK_50M_I;
|
64 |
|
|
#TIMESPEC TS_CLK_50M_I = PERIOD "CLK_50M_I" 20 ns HIGH 50%;
|
65 |
|
|
#NET "dataReg_clk" TNM_NET = dataReg_clk;
|
66 |
|
|
#TIMESPEC TS_dataReg_clk = PERIOD "dataReg_clk" TS_CLK_50M_I * 2 HIGH 50%;
|
67 |
|
|
#NET "gfxInst/clkdiv1" TNM_NET = gfxInst/clkdiv1;
|
68 |
|
|
#TIMESPEC TS_gfxInst_clkdiv1 = PERIOD "gfxInst/clkdiv1" TS_CLK_50M_I * 2 HIGH 50%;
|
69 |
|
|
#NET "pseudoTosNet_uartInst/int_dataReg_clk" TNM_NET = pseudoTosNet_uartInst/int_dataReg_clk;
|
70 |
|
|
#TIMESPEC TS_pseudoTosNet_uartInst_int_dataReg_clk = PERIOD "pseudoTosNet_uartInst/int_dataReg_clk" TS_CLK_50M_I * 2 HIGH 50%;
|