Xilinx TCL script without Gui

Source: Internet
Author: User

How to creat a Xilinx TCL script without Gui? Try the following example:

Project New my_proj1.ise
Project set family spartan3e
Project set device xc3s500e
Project set package fg320
Project set speed-4

######################################## #######################################
# Modify the XFile add argument for the source files in the Design
######################################## #######################################

Puts "adding source files ..."
XFile Add ../src/dice. vhd
XFile add temp. UCF

######################################## #######################################
# Set optional implemenation options here. There is a problem with setting
# Project properties that at least one source must be added to the project
# First. Therefore, the "Project set" commands are after the "XFile Add"
# Commands.
######################################## #######################################

Puts "setting project properties ..."

project set "Custom compile file list" "fpga_ B .prj"
project set "optimization effort" high
project set "cores search directories ".. /src
project set "read cores" true; # default is true, don't need to set
project set "macro search path ".. /src
project set "map effort level" high
project set "perform timing-driven packing and placement" 1
project set "Place & Route effort level (overall) "High
# do not generate the default post place static timing Report
project set" generate post-Place & Route static timing Report "false

######################################## #######################################
# Run the design.
######################################## #######################################

Process Run "Implement Design"
Puts "implement design done"
Process Run "generate programming file"
Puts "bit file ready! "

Project Close

Puts "project closed! "

(From: http://forums.xilinx.com/xlnx/board/crawl_message? Board. ID = ise & message. ID = 1186)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.