Changeset 993


Ignore:
Timestamp:
May 18, 2015, 12:01:39 PM (9 years ago)
Author:
cfuguet
Message:

Reintroduce the -SOFT and -DISK simulator arguments to pass the ROM code
and the DISK image respectively without the need of recompilation.

Remove the nic_tx_file when doing the "make clean" of the platform.

Location:
trunk/platforms/tsar_generic_leti
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_leti/Makefile

    r819 r993  
    44clean:
    55        soclib-cc -x -p top.desc -I.
    6         rm -rf *.o *.x term* tty* ext* temp
     6        rm -rf *.o *.x term* tty* ext* temp nic_tx_file.txt
    77
    88.PHONY: simul.x
  • trunk/platforms/tsar_generic_leti/top.cpp

    r967 r993  
    265265            ncycles = (uint64_t) strtol(argv[n + 1], NULL, 0);
    266266         }
     267         else if ((strcmp(argv[n],"-SOFT") == 0) && (n + 1 < argc))
     268         {
     269            strcpy(soft_name, argv[n + 1]);
     270         }
     271         else if ((strcmp(argv[n],"-DISK") == 0) && (n + 1 < argc))
     272         {
     273            strcpy(disk_name, argv[n + 1]);
     274         }
    267275         else if ((strcmp(argv[n],"-DEBUG") == 0) && (n + 1 < argc))
    268276         {
Note: See TracChangeset for help on using the changeset viewer.