\end{description*}
Pin 1 is next to the 2x6 pin-header. Note that TDO and TDI are switched compared to the layout on all other boards. If you experience strange behavior of the programming procedure and think you might have destroyed the cable: It's most likely a software issue - reboot your PC!
+Note that the programming cable can only be used as root by default in most Linux flavours. You can either change permissions on the device in /dev/ by hand or put this (as one line!)
+\\\verb!SUBSYSTEMS=="usb", ATTRS{idVendor}=="1134", SYMLINK+="lattice_cable",!
+\\\verb!GROUP="users", MODE="0666"'!
+\\into
+\\\files{/etc/udev/rules.d/91-usb-hardware.rules}
+\\and run
+\\\verb!udevadm control --reload-rules; udevadm trigger!
+\\\verb!/etc/init.d/boot.udev restart!
+\\Commands and files might be different on your machine.
+
\subsection{Data Unpacker}
\label{Data_Unpacking}
\item Copy necessary files from another project. Choose one using the same FPGA you want to create your project and if possible one that uses the same pinout.
\begin{description*}
\item[\files{compile*.pl}] The main script that runs synthesis, map, par...
-\item[\files{}]
+\item[\files{*.prj}] The project settings and list of source files
+\item[\files{*constraints.lpf}] The file with constraints specific for a design
+\item[\files{*.p2t}] Settings for the place and route tool
+\item[\files{*.vhd}] The top-level vhd file as basis for the new design
\end{description*}
\item Edit \files{compile*.pl}
\begin{itemize*}
\item Set the \cmdname{\$projectname}
\item Check that all configuration options (the marked block in the beginning of the file) match your local environment.
-\item Check the 2 to 4 lines generating the constraint file if it accesses the correct files.
+\item Check the 2 to 4 lines generating the constraint file if it accesses the correct files. One file from the base directory gives the pin-out, a local file gives the project-dependent constraints. For TDCs, another file is included.
\end{itemize*}
\item Edit \files{\$projectname.prj}
\begin{itemize*}
\cleardoublepage
\input{trb3qs_part}
- \section{New Hardware Project}
- \input{HardwareProject}
+
\cleardoublepage
\part{Synchronous TrbNet}