OpenCores
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

[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [src_c/] [ihex2mif/] [main.c] - Diff between revs 19 and 25

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 19 Rev 25
Line 1... Line 1...
 
#define MAX_MEMORY_SIZE         0xFFFFF   //max memory size in bytes mustbe power of 2
 
 
#include "ihex.c"
#include "ihex.c"
#include <unistd.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdlib.h>
 
 
#define DEFAULT_OUT_FILE_NAME           "out.mif"
#define DEFAULT_OUT_FILE_NAME           "out.mif"
#define DEAFULT_END_SIZE                "1FFF"
#define DEAFULT_END_SIZE                "1FFF"
 
 
int     memory[65536];          /* the memory is global */
int     memory[MAX_MEMORY_SIZE+1];              /* the memory is global */
unsigned int    end_addr_int;
unsigned int    end_addr_int;
FILE * in, * out;
FILE * in, * out;
char *file_name, *end_addr, *out_file_name ;
char *file_name, *end_addr, *out_file_name ;
 
 
void usage (void)
void usage (void)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.