Usercode in bit/mcs file

  • Thread starter Jerker Hammarberg (DST)
  • Start date
J

Jerker Hammarberg (DST)

Guest
Hi all,

When using Xilinx iMPACT to program an PROM, one has the option to enter a
Usercode. Is there any way to predefine this Usercode in a .bit file or .mcs
file, so that one doesn't have to enter the Usercode manually?

I tried adding the option "-g UserID:48161000" to the bitgen command, but
that didn't do the trick. Is there anything else one needs to do?

The PROM is an xc18v02 and the FPGA is a Spartan IIE.

Thanks in advance,
/Jerker
 
The MCS and EXO PROM file formats define only the programming of the
data memory space of the PROM. Since the USERCODE value exists outside
this space, it cannot be represented in a standard MCS or EXO file.

The bitstream option will set the USERCODE value in the target FPGA and
not the PROM. IF this is sufficient for you then you can leave the PROM
USERCODE value unspecified. Another option is to allow iMPACT to
automatically select and program the PROM USERCODE value as PROM data
checksum (Automatically Checksum Insertion option under Edit->Preferences)

Jerker Hammarberg (DST) wrote:

Hi all,

When using Xilinx iMPACT to program an PROM, one has the option to enter a
Usercode. Is there any way to predefine this Usercode in a .bit file or .mcs
file, so that one doesn't have to enter the Usercode manually?

I tried adding the option "-g UserID:48161000" to the bitgen command, but
that didn't do the trick. Is there anything else one needs to do?

The PROM is an xc18v02 and the FPGA is a Spartan IIE.

Thanks in advance,
/Jerker
 
Thank you, that's what I needed to know!

/Jerker

"Neil Glenn Jacobson" <n.e.i.l.j.a.c.o.b.s.o.n@x.i.l.i.n.x.c.o.m> skrev i
meddelandet news:412151E2.9050306@x.i.l.i.n.x.c.o.m...
The MCS and EXO PROM file formats define only the programming of the
data memory space of the PROM. Since the USERCODE value exists outside
this space, it cannot be represented in a standard MCS or EXO file.

The bitstream option will set the USERCODE value in the target FPGA and
not the PROM. IF this is sufficient for you then you can leave the PROM
USERCODE value unspecified. Another option is to allow iMPACT to
automatically select and program the PROM USERCODE value as PROM data
checksum (Automatically Checksum Insertion option under Edit->Preferences)
 

Welcome to EDABoard.com

Sponsor

Back
Top