OpenCores
URL https://opencores.org/ocsvn/lwrisc/lwrisc/trunk

Subversion Repositories lwrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 12 to Rev 13
    Reverse comparison

Rev 12 → Rev 13

/trunk/CTOOL/hexdasm.exe Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
/trunk/CTOOL/hexdasm.c
702,7 → 702,7
/* Well.. Let's read stuff in completely before outputting.. Programs */
/* should be pretty small.. */
/* */
#define MAX_MEMORY_SIZE 1024
#define MAX_MEMORY_SIZE 4096
struct
{
int nAddress ;
939,10 → 939,8
fpi=fopen(mif_fn,"w");
/*output deasm filr*/
strcpy(mif_fn,"Dasm.txt");
fpi=fopen(mif_fn,"w");
for(i=0;i<nMemoryCount;i++)
{
955,7 → 953,7
// getchar();
strcpy(mif_fn,"alt_mem_set.h");
strcpy(mif_fn,"rom_set.h");
fpi=fopen(mif_fn,"w");
for(i=0;i<nMemoryCount;i++)
970,10 → 968,11
// fprintf(fpi,"mem[%d] = %d;\n",
}
addr_wdt = func1(max);
fprintf(fpi,"`define ALT_MEM_WIDTHAD %d\n",addr_wdt);
fprintf(fpi,"`define ALT_MEM_NUMWORDS %d\n",1<<addr_wdt);
fprintf(fpi,"`define MIF_NAME %s\n\n","init_file.mif");
// fprintf(fpi,"`define ALT_MEM_WIDTHAD %d\n",addr_wdt);
// fprintf(fpi,"`define ALT_MEM_NUMWORDS %d\n",1<<addr_wdt);
// `define MIF_NAME %s\n\n","init_file.mif");
fprintf(fpi,"`define ROM_TYPE rom%dx12\n\n",1<<func1(max));
close(fpi);
// getchar();
}

powered by: WebSVN 2.1.0

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