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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor net.worker
Visitor
7,511 Views
Registered: ‎07-13-2012

Modification of SmartXplorer default strategies

Jump to solution

Hello all,

 

I am trying to add the "-detail" MAP switch to SmartXplorer (SX) runs.

Since -mo will replace all options, my idea was to modify the default strategies (.xds) found in the directory:

/ISE_DS/ISE/spartan6/data/smartxplorer/

 

by inserting

 

<property name = "Map:Generate Detailed MAP Report"
value = "true" />

 

This works when I apply that strategy manually to my project in ISE.

 

However, SX runs don't seem to use the changed file.

In the /runXY dirs, the .xds file used for the run is found. This file does not contain the new key-value pair. Also, I noted that the "Version" in the header says 13.2 (my used ISE version), but the strategy files in /ISE_DS/ISE/spartan6/data/smartxplorer/ have 12.1, and others.

 

Now my question,

does SX use the files located in the ISE install at all, or are the strategies hard compiled into the SX binary? What are the files for then?

If so, how can I add the switch? Would I have to make copies of the strategies elsewhere and feed them one by one to SX?

 

Regards,

Florian

0 Kudos
1 Solution

Accepted Solutions
Community Manager
Community Manager
9,986 Views
Registered: ‎06-14-2012

Re: Modification of SmartXplorer default strategies

Jump to solution

Yes. You are right. These strategies are provided in the install area for users to know on what options have been used.

Sx binary doesnt pick them. 

 

The feature to append an option is requested and is in a roadmap. For now, I would recommend creating a custom stategy defined including all the strategies in one single file. Please see the last section of the following user guide.

Hope this helps.

 

http://www.xilinx.com/support/documentation/user_guides/ug688.pdf

0 Kudos
9 Replies
Community Manager
Community Manager
9,987 Views
Registered: ‎06-14-2012

Re: Modification of SmartXplorer default strategies

Jump to solution

Yes. You are right. These strategies are provided in the install area for users to know on what options have been used.

Sx binary doesnt pick them. 

 

The feature to append an option is requested and is in a roadmap. For now, I would recommend creating a custom stategy defined including all the strategies in one single file. Please see the last section of the following user guide.

Hope this helps.

 

http://www.xilinx.com/support/documentation/user_guides/ug688.pdf

0 Kudos
Visitor net.worker
Visitor
7,485 Views
Registered: ‎07-13-2012

Re: Modification of SmartXplorer default strategies

Jump to solution

Okay, I see.

 

Is there a way I can dump all the default strategies' switch values in the same style as seen in the UG?

As I understand from the UG, this is what I would pass to the SX command line, and not an .xds file.

 

Background:

The .xds files use the XML-style format which does not print out CLI switches. I could look up all the settings and translate them, but this would be a very manual and error-prone task.

 

Regards,

Florian

0 Kudos
Community Manager
Community Manager
7,477 Views
Registered: ‎06-14-2012

Re: Modification of SmartXplorer default strategies

Jump to solution

You can use a custom strategy file and use all the options in there. You have to use -sf switch.

the strategy file can be a text file.

Highlighted
Visitor net.worker
Visitor
7,475 Views
Registered: ‎07-13-2012

Re: Modification of SmartXplorer default strategies

Jump to solution

Yes, this is what I want to do. Create a file like this, as in the UG:

 

{
"spartan3e":
(
{"name": "My_Strat_1",
"map": " -timing -ol high -xe n -register_duplication on -logic_opt on ",
"par": " -ol high"},
{"name": "My_Strat_2",
"map": " -timing -ol high -t 9",
"par": " -ol high -t 9"},
),
}

 

But now I wonder, where do I find the exact switches for each of the original strategies like MapRegDup... to copy them into one file?

 

Regards,

Florian

0 Kudos
Xilinx Employee
Xilinx Employee
7,465 Views
Registered: ‎07-16-2008

Re: Modification of SmartXplorer default strategies

Jump to solution

One way that might be a little better than manual translation from .xds.

Select menu Project > Design Goals & Strategies... Browse to the default smartxplorer .xds file and enter it to the Strategy File field. Apply it to the current project.

Then open implementation properties dialog box. You'll see the associated switches are locked.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Newbie sumanka
Newbie
7,456 Views
Registered: ‎07-29-2013

Re: Modification of SmartXplorer default strategies

Jump to solution

User  "list all strategies" option to get a list of all strategy files

 

Example :  To get a list of spartan6 strategies use

 

smartxplorer -p xc6slx75t-fgg484-2 -la

Community Manager
Community Manager
7,450 Views
Registered: ‎06-14-2012

Re: Modification of SmartXplorer default strategies

Jump to solution

-la will help.You could try this

Visitor net.worker
Visitor
7,444 Views
Registered: ‎07-13-2012

Re: Modification of SmartXplorer default strategies

Jump to solution

Thanks, -la was absolutely what I was looking for.

 

For reference, this is the strategy file I created, I'll give it a try later:

{
"spartan6":
(
{"name": "MapRunTime",
"map": " -timing -ol high -xe n -register_duplication on -logic_opt on -detail",
"par": " -ol high"},
{"name": "MapLogicOpt",
"map": " -ol high -xe n -logic_opt on -t 2 -w -detail",
"par": " -ol high -xe n -logic_opt on -t 2 -w"},
{"name": "MapGlobOptIOReg",
"map": " -ol high -global_opt speed -pr b -w -detail",
"par": " -ol high -xe n"},
{"name": "MapRegDup",
"map": " -ol high -xe n -register_duplication on -w -detail",
"par": " -ol high -xe n"},
{"name": "MapExtraEffortIOReg",
"map": " -ol high -xe n -pr b -t 7 -w -detail",
"par": " -ol high -xe n"},
{"name": "MapLogOptRegDup",
"map": " -ol high -xe n -logic_opt on -register_duplication on -t 2 -w -detail",
"par": " -ol high -xe n"},
{"name": "MapExtraEffort2",
"map": " -ol high -xe n -t 3 -w -detail",
"par": " -ol high"},
),
}

 

0 Kudos
Visitor net.worker
Visitor
7,439 Views
Registered: ‎07-13-2012

Re: Modification of SmartXplorer default strategies

Jump to solution

As I can't edit the last post, here the full file again with some corrections:

{
"spartan6":
(
{"name": "MapRunTimeD",
"map": " -ol high -w -detail",
"par": " -ol high"},
{"name": "MapLogicOptD",
"map": " -ol high -xe n -logic_opt on -t 2 -w -detail",
"par": " -ol high -xe n"},
{"name": "MapGlobOptIORegD",
"map": " -ol high -global_opt speed -pr b -w -detail",
"par": " -ol high -xe n"},
{"name": "MapRegDupD",
"map": " -ol high -xe n -register_duplication on -w -detail",
"par": " -ol high -xe n"},
{"name": "MapExtraEffortIORegD",
"map": " -ol high -xe n -pr b -t 7 -w -detail",
"par": " -ol high -xe n"},
{"name": "MapLogOptRegDupD",
"map": " -ol high -xe n -logic_opt on -register_duplication on -t 2 -w -detail",
"par": " -ol high -xe n"},
{"name": "MapExtraEffort2D",
"map": " -ol high -xe n -t 3 -w -detail",
"par": " -ol high"},
),
}

 

I've tried this file using the -sf switch, and it works! The detailed map report is generated every time.

Excellent tips here, thank you all again.

 

I guess the approach to keep this file static is fine, or are there frequent updates to the builtin SX strategies? I woudn't think so...

Now I might start playing around with those strategies a little!

0 Kudos