-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmcs-gen.cmd
More file actions
20 lines (19 loc) · 788 Bytes
/
mcs-gen.cmd
File metadata and controls
20 lines (19 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
setMode -pff
setSubmode -pffspi
addConfigDevice -name "${MCS_NAME}" -path "./"
setAttribute -configdevice -attr multibootBpiType -value ""
setAttribute -configdevice -attr compressed -value "FALSE"
setAttribute -configdevice -attr autoSize -value "FALSE"
setAttribute -configdevice -attr fileFormat -value "mcs"
setAttribute -configdevice -attr fillValue -value "FF"
setAttribute -configdevice -attr swapBit -value "FALSE"
setAttribute -configdevice -attr dir -value "UP"
setAttribute -configdevice -attr multiboot -value "FALSE"
setAttribute -configdevice -attr spiSelected -value "TRUE"
addDesign -version 0 -name "0"
addDeviceChain -index 0
addPromDevice -p 1 -size 16384 -name 16M
setAttribute -design -attr name -value "0000"
addDevice -p 1 -file "${BITSTREAM_FILE}"
generate
exit