UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 31936

10.1 SmartXplorer - The example user defined strategy file in the SmartXplorer documentation contains syntax errors

Description

I have tried to define my own strategy file for SmartXplorer, but when I copy the example it fails with syntax errors. How can I get this feature to work?

Solution

There are three problems with the documentation example (Page 236 of the Development System Reference Guide):

http://toolbox.xilinx.com/docsan/xilinx10/books/docs/dev/dev.pdf

1. The entire example needs to be enclosed in curly brackets.

2. The 6th line (after above correction) has two consecutive double-quotes where there should be one.

3. The 9th line (after above correction) has two consecutive double-quotes where there should be one.

The following is the corrected example of a custom strategy file for SmartXplorer:

{

"virtex5":

({"name": "CustomMapGlobalOpt",

"map": " -timing -ol high -xe n -global_opt on -retiming on ",

"par": " -ol high -strategy keep_placement "},

{"name": "CustomMapTimingExtraEffort1",

"map": " -timing -ol high -xe n -t 3 -w ",

"par": " -ol high -t 3"},

{"name": "CustomMapPhysicalSynthesis",

"map": " -timing -ol high -xe n -register_duplication on -logic_opt on -t 9 -w ",

"par": " -ol high -xe n -t 9 "},

),

}

AR# 31936
Date Created 11/20/2008
Last Updated 12/15/2012
Status Active
Type General Article