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: 
Observer soccerchamp
Observer
383 Views
Registered: ‎03-08-2018

Edit netlist before PnR

Jump to solution

Hi all,

I have a design in Vivado 2018.2 targeting Ultra-scale.The design is an EDIF generated from Synplify.I want to take EDIF to PnR flow and implement it.I have a script to do this and everything works well.

Now I want to edit the top module sligtly. (Change the outputs of a module 'A'  to input of module 'C' which is now connected to input of module 'B').How can I do this in this flow? (Since I am getting EDIF from another team, I am not able to edit actualt RTL and do synthesis).

One option I tried was to write_verilog after linking design, then edit the verilog again, genertae EDIF from Synplify. But this will not work  because it will optimize the design which will create other issues in flow later.

So I want to edit the netlist and continue PnR without doing synthesis again.
Any leads?

 

Regards

SC

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
374 Views
Registered: ‎05-22-2018

Re: Edit netlist before PnR

Jump to solution
10 Replies
Xilinx Employee
Xilinx Employee
375 Views
Registered: ‎05-22-2018

Re: Edit netlist before PnR

Jump to solution
Highlighted
Xilinx Employee
Xilinx Employee
350 Views
Registered: ‎06-27-2018

Re: Edit netlist before PnR

Jump to solution

Hi @soccerchamp,

You can take any post-impl DCP and make use of ECO flow in order to rearrange the nets as desired. The only drawback here is you will have play with DCPs here and the changes will not be reflected in the original edif, but i guess it should work for you.

Here is some sources to know more about ECO flow:-

1) ECO quick take video

2) UG904-ECO flow 

~Chinmay

Moderator
Moderator
348 Views
Registered: ‎11-04-2010

Re: Edit netlist before PnR

Jump to solution

Hi, @soccerchamp ,

You can import edif, link design, and export the synthesized DCP.

Based on the synth.dcp, you can apply the ECO commands listed in UG835.

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Observer soccerchamp
Observer
334 Views
Registered: ‎03-08-2018

Re: Edit netlist before PnR

Jump to solution

Thanks @rshekhaw,

I have created a tcl file with all disconnection and connection(using connect_net, disconnect_net). I am using non project mode flow. In order to source this tcl, do I need to open any design? or where shall I source this tcl?

0 Kudos
Moderator
Moderator
322 Views
Registered: ‎11-04-2010

Re: Edit netlist before PnR

Jump to solution

Hi, @soccerchamp ,

read_edif XX.edit
link_design -part XX -top XX
##
Yout tcl commands with all disconnection and connection
##

You can source the tcl with below command:
vivado -mode tcl -source XX.tcl

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Observer soccerchamp
Observer
318 Views
Registered: ‎03-08-2018

Re: Edit netlist before PnR

Jump to solution

Hi @hongh ,

Thanks. I am already using this flow (vivado -mode tcl -source XX.tcl).
But after link_design -part XX -top XX,
If I give the connect_net and disconnect_net commands, vivado will exit with errors as I am using non project mode.
(connect_net and disconnect_net commands will work only on opened design).

If I write a dcp after link design and open it, I can use the tcl commands. But my question is will it become project mode if I open a dcp. How can I continue with non project mode script?

0 Kudos
Moderator
Moderator
311 Views
Registered: ‎11-04-2010

Re: Edit netlist before PnR

Jump to solution

Hi, @soccerchamp ,

I know you are using non-project flow. The command I provided was for non-project. 

Do you mean connect_net cannot be run after link_design command?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Observer soccerchamp
Observer
308 Views
Registered: ‎03-08-2018

Re: Edit netlist before PnR

Jump to solution

@hongh 

Yes.

After link design, I am sourcing another tcl YY.tcl. (This YY.tcl conaints only connect_net and disconnect_net commands).
During this time, Vivado flow exit.

0 Kudos
Moderator
Moderator
302 Views
Registered: ‎11-04-2010

Re: Edit netlist before PnR

Jump to solution

Hi, @soccerchamp ,

Have you tried to merge the read_edif and link_design command in the top of your tcl script and run them together?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Observer soccerchamp
Observer
276 Views
Registered: ‎03-08-2018

Re: Edit netlist before PnR

Jump to solution

@hongh ,

There was a mistake in my disconnect_net command which caused vivado to exit. Sorry.

Giving these commands after link_design worked.

Thanks for your advices.

You can close the thread now.

0 Kudos