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 38 to Rev 43
- ↔ Reverse comparison
Rev 38 → Rev 43
/jtag
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
jtag
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: jtag.c
===================================================================
--- jtag.c (revision 38)
+++ jtag.c (revision 43)
@@ -116,7 +116,19 @@
}
+//char end_tcl [10] = { 0x1b, 0x5b,[2]=30,[3]=6d,[4]=a,
+char* remove_color_code_from_string ( char *buf, int z){
+ int i=0;
+ char * ptr=buf;
+ if( *ptr != 0x1b ) return ptr;
+ do{
+ ptr ++;
+ i++;
+ } while ((*ptr != 'm') && (*ptr != 0x0) && i
/jtag_quartus_stp.c
23,11 → 23,12
|
processArgs (argc, argv ); |
printf("index num=%u\n",index_num); |
printf("Initial Vjtag for %s & %s\n",hardware_name,dev_num); |
printf("Initial Vjtag for %s & %s.\n",hardware_name,dev_num); |
if (jtag_init(hardware_name,dev_num)){ |
fprintf (stderr, "Error openning jtag IP with %d index num\n",index_num); |
return -1; |
} |
printf("Vjtag is initilized\n"); |
if (enable_binary_send) { |
if( send_binary_file() == -1) return -1; |
} |
362,9 → 363,9
if(out!=buffer[i-2]) printf ("Error: missmatched at location %d. Expected %x but read %x\n",i-2,buffer[i-2], out); |
} |
jtag_vdr(BIT_NUM, 0, &out); |
if(out!=buffer[i-2]) printf ("Error: missmatched at location %d. Expected %x but read %x\n",i-2,buffer[i-2], out);i++; |
if(out!=buffer[i-2]) printf ("Error: missmatched at location %d. Expected %x but read %x\n",i-2,buffer[i-2], out); |
jtag_vdr(BIT_NUM, 1, &out); |
if(out!=buffer[i-2]) printf ("Error: missmatched at location %d. Expected %x but read %x\n",i-2,buffer[i-2], out); |
if(out!=buffer[i-1]) printf ("Error: missmatched at location %d. Expected %x but read %x\n",i-1,buffer[i-1], out); |
|
} |
else{ |