OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [xilinx_avnet_lx9microbard/] [synthesis/] [xilinx/] [scripts/] [impact_generate_prom_file.batch] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 157 olivier.gi
 
2
#-----------------------------------------------------------------------------#
3
# Sets the operating mode for PROM file generation.                           #
4
#-----------------------------------------------------------------------------#
5
setMode -pff
6
 
7
#-----------------------------------------------------------------------------#
8
# Switches to the Slave SPI sub-mode of PROM File Generation mode.            #
9
#-----------------------------------------------------------------------------#
10
setSubmode -pffspi
11
 
12
#-----------------------------------------------------------------------------#
13
# Adds a single 128MB PROM to position 1.                                     #
14
#-----------------------------------------------------------------------------#
15
addPromDevice -p 1 -size 131072
16
 
17
#-----------------------------------------------------------------------------#
18
# Adds a single design set.                                                   #
19
# The version and name need to be set to zero for a PROM file generation      #
20
# sequence, and only needs to be set once.                                    #
21
#-----------------------------------------------------------------------------#
22
addDesign -version 0 -name 0
23
 
24
#-----------------------------------------------------------------------------#
25
# Adds a single chain to the design set.                                      #
26
# The index needs to be set to zero for PROM file generation sequence, and    #
27
# only needs to be set once.                                                  #
28
#-----------------------------------------------------------------------------#
29
addDeviceChain -index 0
30
 
31
#-----------------------------------------------------------------------------#
32
# Adds a device to the first position in the target chain and assigns         #
33
# the *.bit configuration file to the device.                                 #
34
#-----------------------------------------------------------------------------#
35
addDevice -p 1 -file "./BITSTREAM_NAME.bit"
36
 
37
#-----------------------------------------------------------------------------#
38
# Generate *.mcs                                                              #
39
# The PROM checksum is calculated based on the devices expected fill value.   #
40
# The default fill value for checksum calculations is FF, which corresponds   #
41
# to the erased state of the PROM.                                            #
42
#-----------------------------------------------------------------------------#
43
generate -format mcs -fillvalue FF -output BITSTREAM_NAME
44
 
45
#-----------------------------------------------------------------------------#
46
# Exits iMPACT                                                                #
47
#-----------------------------------------------------------------------------#
48
quit

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.