User`s manual

Notes
statements are used to store information about the Jam
file. The information stored in NOTE fields may include
any type of documentation or attributes related to the
particular Jam program.
Source file
contains a program in Jam language. Jam program
consists of a sequence of statements. Jam statement
consists of a label, which is optional, an instruction, and
arguments, and terminates with a semicolon (;).
Arguments may be literal constants, variables, or
expressions resulting in the desired data type (i.e.,
Boolean or integer). Each statement usually occupies
one line of the Jam program, but this is not required. Line
breaks are not significant to the Jam language syntax,
except for terminating comments. An apostrophe
character (') can be used to signify a comment, which is
ignored by the interpreter. The language does not specify
any limits for line length, statement length, or program
size. More informations can be found on the website:
http://www.altera.com/support/devices/programming/jam/
dev-isp_jam.html.
Jam file with extension .jbc is Jam STAPL Byte code
format which is not visible.
Converting JED file to Jam STAPL file for XILINX
devices:
1. install Xilinx Integrated Software Environment (ISE) 6.3i
software free download: WebPACK_63_fcfull_i.exe +
6_3_02i_pc.exe (315MB or so)
2. run Xilinx ISE 6/Accessories/iMPACT
in dialog “Operation Mod Selection: What do you
want to do first?” choose: “Prepare Configuration
Files”,
in dialog “Prepare Configuration Files: I want create
a:” choose: “Boundary-Scan File”,
in dialog “Prepare Boundary-Scan File: I want create
a:” choose: “STAPL File”,
in dialog “Create a New STAPL File” write name of
Jam file with extension .stapl,
in dialog “Add Device” select JED file with extension
.jed,
in the created jtag chain select device e.g.: XC2C32A
(left mouse button) and select sequence operation (e.
g.: Erase, Blank, Program, Verify; right mouse
button),
in menu select item “Output/Stapl file/Stop writing to
Stapl file”
135