-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cfg
More file actions
139 lines (117 loc) · 2.89 KB
/
build.cfg
File metadata and controls
139 lines (117 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#
# General settings
#
# TargetBoard - board to run you application on
# TargetOS - operating system to use
# SystemClock - clock of the ReconOS system
# CFlags - additional flags for compilation
# LdFlags - additional flags for linking
#
[General]
Name = RecoBop
TargetBoard = zedboard,d
TargetPart = xc7z020clg484-1
ReferenceDesign = timer_ic
TargetOS = linux
TargetXil = ise,14.7
SystemClock = System
CFlags = -I $(RECONOS)/linux/tools/timer
LdFlags = -L $(RECONOS)/linux/tools/timer -ltimer -lm
#
# Clock definition
#
# ClockSource - static or reconfigurable clock
# ClockFreq - initial clock frequency
#
[Clock@System]
ClockSource = static
ClockFreq = 100000000
#
# Specification of hardware thread slots
#
# Id - id of the slot
# IsReconfigurable - reconfigurable slot or not
# Clock - clock connected to the slot
#
[HwSlot@Servo(0:0)]
Id = 0
Clock = System
Ports = SRV0_Out(dir=o),SRV1_Out(dir=o),SRV2_Out(dir=o),SRV3_Out(dir=o),SRV4_Out(dir=o),SRV5_Out(dir=o)
[HwSlot@Touch(0:0)]
Id = 1
Clock = System
Ports = TC_SCLK(dir=o),TC_MOSI(dir=o),TC_MISO(dir=i),TC_SSn(dir=o),TC_IRQ(dir=i)
[HwSlot@Vga(0:0)]
Id = 2
Clock = System
Ports = VGA_Red(dir=o,vec=[3:0]),VGA_Green(dir=o,vec=[3:0]),VGA_Blue(dir=o,vec=[3:0]),VGA_HSync(dir=o),VGA_VSync(dir=o)
[HwSlot@Control(0:0)]
Id = 3
Clock = System
[HwSlot@Performance(0:0)]
Id = 4
Clock = System
[HwSlot@Inverse(0:4)]
Id = 5
Clock = System
#
# Resource definition
#
# <Name> - type,<optional arguments>
#
[ResourceGroup@Servo]
Cmd = hw,mbox,8
[ResourceGroup@Touch]
Pos = hw,mbox,8
[ResourceGroup@Inverse]
Cmd = hw,mbox,8
[ResourceGroup@Performance]
Perf = hw,mbox,8
#
# Specification of thread types
#
# Slot - slot to implement the hardware thread in
# Source - source if the hardware thread
# ResourceGroup - resources of the hardware thread
#
[ReconosThread@Servo]
Slot = Servo(0)
HwSource = vhdl
ResourceGroup = Servo,Performance
Ports = SRV0_Out(dir=o),SRV1_Out(dir=o),SRV2_Out(dir=o),SRV3_Out(dir=o),SRV4_Out(dir=o),SRV5_Out(dir=o)
UseMem = false
[ReconosThread@Touch]
Slot = Touch(0)
HwSource = vhdl
ResourceGroup = Touch,Performance
UseMem = true
Ports = TC_SCLK(dir=o),TC_MOSI(dir=o),TC_MISO(dir=i),TC_SSn(dir=o),TC_IRQ(dir=i)
[ReconosThread@Vga]
Slot = Vga(*)
HwSource = vhdl
ResourceGroup = Touch
Ports = VGA_Red(dir=o,vec=[3:0]),VGA_Green(dir=o,vec=[3:0]),VGA_Blue(dir=o,vec=[3:0]),VGA_HSync(dir=o),VGA_VSync(dir=o)
UseMem = false
[ReconosThread@Control]
Slot = Control(*)
HwSource = hls
SwSource = c
ResourceGroup = Touch,Inverse,Performance
UseMem = true
[ReconosThread@Inverse]
Slot = Inverse(*)
HwSource = hls
SwSource = c
ResourceGroup = Inverse,Servo,Performance
UseMem = false
[ReconosThread@Performance]
Slot = Performance(*)
HwSource = vhdl
ResourceGroup = Performance
UseMem = true
[ReconosThread@Power]
SwSource = c
[ReconosThread@Saw]
SwSource = c
[ReconosThread@Web]
SwSource = c