cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
victorgallo
Visitor
Visitor
11,006 Views
Registered: ‎03-06-2008

xvf extension files

Hi ,

I've been getting started with FPGAs and I'd know how can I open xvf extension files (xvf files) ?

Thanks for advance !

Victor Gallo

vgallorj@yahoo.com.br

0 Kudos
Reply
5 Replies
barriet
Xilinx Employee
Xilinx Employee
11,004 Views
Registered: ‎08-13-2007

Victor,
 
xvf (or xsvf) are binary programming files used to program a device.
They are typically generated by iMPACT or svf2xsvf.
You generally don't open them directly.
 
More details on their usage are available here:
http://www.xilinx.com/support/documentation/application_notes/xapp058.pdf (Xilinx In-System Programming Using an Embedded Microcontroller)
Cheers,
bt
 
0 Kudos
Reply
victorgallo
Visitor
Visitor
10,999 Views
Registered: ‎03-06-2008

Thanks for you help .

I have just saved this pdf file and reading it now.

Is it possible to read the program from xvf extension files ?

0 Kudos
Reply
barriet
Xilinx Employee
Xilinx Employee
10,987 Views
Registered: ‎08-13-2007

The general FPGA flow is
 
source (VHDL, Verilog, schematic) -> synthesized netlist (EDIF or ngc) -> place and routed design (ncd) -> bitstream programming file (bit)
 
A typical xvf approach also adds:
bit -> prom programming file (mcs) -> svf -> xsvf
 
None of these processes were intended to be reversible.
 
1) Given a programming file, could a determined attacker discover things about the design? Yes, given enough time and effot
2) Is there an easy way to recover your design if all you have is the programming file. No
 
It is not unlike compiling C files into a .exe. There are certain things you could discover (a disassembler and the debugging symbols certainly help here and do not have counterparts with the FPGA flow) but there is no clean way to recover the original source.
 
Does that help?
 
bt
0 Kudos
Reply
victorgallo
Visitor
Visitor
10,983 Views
Registered: ‎03-06-2008

Sure ,You help me . Now it's clear to me

Thank you.
0 Kudos
Reply
thoonky
Newbie
Newbie
5,116 Views
Registered: ‎01-04-2010

I would like to check if there's an updated svf2xsvf.exe.  it seems that the -fpga option is not interpret the following type of SVF file with a TDOmask correctly in implementation. Is there any reason for such implementation?

 

SDR 597 TDI (000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) TDO (00000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 fff7fbffffffffbfff7fffffffffffa496ffffffffffffdffffffffffffbffbf) MASK (000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000);

I have to use the -fpga option as the previous SVF line make use of

SDR 3892352 TDI ......

 

which above is way beyond what I can have for my MAX_LEN.

 

Thanks

Thoon KY

 

0 Kudos
Reply