URL
https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk
Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc
Compare Revisions
- This comparison shows the changes necessary to convert path
/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk/mpsoc/src_c/jtag/jtag_quartus_stp
- from Rev 45 to Rev 48
- ↔ Reverse comparison
Rev 45 → Rev 48
/jtag_quartus_stp
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
jtag_quartus_stp
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: jtag_quartus_stp.c
===================================================================
--- jtag_quartus_stp.c (revision 45)
+++ jtag_quartus_stp.c (revision 48)
@@ -74,11 +74,15 @@
/* don't want getopt to moan - I can do that just fine thanks! */
opterr = 0;
if (argc < 2) usage();
- while ((c = getopt (argc, argv, "s:e:d:n:i:w:a:b:cr")) != -1)
+ while ((c = getopt (argc, argv, "s:e:d:n:i:t:w:a:b:cr")) != -1)
{
switch (c)
{
- case 'a': /* hardware_name */
+ case 't': /* chain number */
+ //not used for Altera
+ break;
+
+ case 'a': /* hardware_name */
hardware_name = optarg;
break;
case 'b': /* device number in chain */
@@ -222,10 +226,11 @@
//printf ("(bit=%d, data=%s)\n",bit, string);
//jtag_vdr(bit, data, 0);
vdr_large(bit,string,0);
- }if(d==2){
+ }else if(d==2){
vdr_large(bit,string,out);
vdr_large(bit,string,out);
+ vdr_large(bit,string,out);
printf("###read data#%s###read data#\n",out);
}else{
@@ -416,7 +421,7 @@
if(BYTE_NUM <= sizeof(unsigned )){
//printf("vdr\n");
- for(i=2;i<=num; i++){
+ for(i=2;i