LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Sat Mar 15 06:05:52 CET 2008
    Subject: [cvs-checkins] MODIFIED: lwrisc ...
    Top
    Date: 00/08/03 15:06:05

    Modified: lwrisc/CTOOL hexdasm.c hexdasm.exe
    Log:
    no message


    Revision Changes Path
    1.3 lwrisc/CTOOL/hexdasm.c

    http://www.opencores.org/cvsweb.shtml/lwrisc/CTOOL/hexdasm.c.diff?r1=1.2&r2=1.3

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: hexdasm.c
    ===================================================================
    RCS file: /cvsroot/mcupro/lwrisc/CTOOL/hexdasm.c,v
    retrieving revision 1.2
    retrieving revision 1.3
    diff -u -b -r1.2 -r1.3
    --- hexdasm.c 12 Mar 2008 19:39:42 -0000 1.2
    +++ hexdasm.c 15 Mar 2008 05:05:52 -0000 1.3
    @@ -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,9 +968,10 @@
    // 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();



    1.3 lwrisc/CTOOL/hexdasm.exe

    http://www.opencores.org/cvsweb.shtml/lwrisc/CTOOL/hexdasm.exe?rev=1.3&content-type=text/x-cvsweb-markup

    <<Binary file>>


     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.