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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [xilinx_diligent_s3board/] [synthesis/] [xilinx/] [scripts/] [impact_generate_prom_file.batch] - Rev 191

Go to most recent revision | Compare with Previous | Blame | View Log


#-----------------------------------------------------------------------------#
# Sets the operating mode for PROM file generation.                           #
#-----------------------------------------------------------------------------#
setMode -pff

#-----------------------------------------------------------------------------#
# Switches to the Slave SPI sub-mode of PROM File Generation mode.            #
#-----------------------------------------------------------------------------#
setSubmode -pffserial

#-----------------------------------------------------------------------------#
# Adds a single 128MB PROM to position 1.                                     #
#-----------------------------------------------------------------------------#
addPromDevice -p 1 -size 0 -name xcf02s

#-----------------------------------------------------------------------------#
# Adds a single design set.                                                   #
# The version and name need to be set to zero for a PROM file generation      #
# sequence, and only needs to be set once.                                    #
#-----------------------------------------------------------------------------#
addDesign -version 0 -name 0

#-----------------------------------------------------------------------------#
# Adds a single chain to the design set.                                      #
# The index needs to be set to zero for PROM file generation sequence, and    #
# only needs to be set once.                                                  #
#-----------------------------------------------------------------------------#
addDeviceChain -index 0

#-----------------------------------------------------------------------------#
# Adds a device to the first position in the target chain and assigns         #
# the *.bit configuration file to the device.                                 #
#-----------------------------------------------------------------------------#
addDevice -p 1 -file "./BITSTREAM_NAME.bit"

#-----------------------------------------------------------------------------#
# Generate *.mcs                                                              #
# The PROM checksum is calculated based on the devices expected fill value.   #
# The default fill value for checksum calculations is FF, which corresponds   #
# to the erased state of the PROM.                                            #
#-----------------------------------------------------------------------------#
generate -format mcs -fillvalue FF -output BITSTREAM_NAME

#-----------------------------------------------------------------------------#
# Exits iMPACT                                                                #
#-----------------------------------------------------------------------------#
quit

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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