]> hackdaworld.org Git - my-code/fpga.git/commitdiff
begin jtag tool (for xilinx low cost parallel jtag cable only)
authorhackbard <hackbard>
Fri, 26 Jan 2007 15:37:40 +0000 (15:37 +0000)
committerhackbard <hackbard>
Fri, 26 Jan 2007 15:37:40 +0000 (15:37 +0000)
jtag/parallel.c [new file with mode: 0644]

diff --git a/jtag/parallel.c b/jtag/parallel.c
new file mode 100644 (file)
index 0000000..759daea
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * jtag via parallel
+ *
+ * author: hackbard@hackdaworld.org
+ *
+ */
+
+#define XILINX_LOW_COST_CABLE                  0x00
+
+#define ALTERA_BYTE_BLASTER
+
+
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+
+#include <sys/io.h>
+