Changeset 546 for trunk/softs


Ignore:
Timestamp:
Oct 7, 2013, 5:23:44 PM (10 years ago)
Author:
meunier
Message:

Rajout du composant Sim Helper dans le répertoire soft/test_llsc pour l'outil de test automatisé du LL/SC

Location:
trunk/softs/test_llsc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/test_llsc/scripts/LLSCTestGenerator/Program.hpp

    r536 r546  
    107107      res << "   }" << endl;
    108108      res << endl;
    109       res << "   *(unsigned int *) 0x0 = 0xDEADDEAD;" << endl;
     109      res << "   giet_raise_sigint();" << endl;
    110110      res << endl;
    111111      res << "   srl_exit();" << endl;
  • trunk/softs/test_llsc/scripts/test_llsc.py

    r536 r546  
    9999
    100100mpr.map(tcg, code = 'PSEG_RAM_0', data = 'PSEG_RAM_0', ptab = "PSEG_RAM_0")
    101 mpr.map('system', boot = 'PSEG_ROM', kernel = 'PSEG_RAM_0', scheduler = True)
     101mpr.map('system', boot = 'PSEG_RAM_0', kernel = 'PSEG_RAM_0', scheduler = True)
    102102
    103 mpr.generate(dsx.Giet(outdir = '.', vaddr_replicated_peri_inc = 0x100000))
     103mpr.generate(dsx.Giet(outdir = '.', vaddr_replicated_peri_inc = 0x2000, debug = True))
    104104
  • trunk/softs/test_llsc/scripts/tsarch.py

    r536 r546  
    1515    hd.add(Fbf('PSEG_FBF', pbase = 0xB2000000, channel_size = 352 * 288 * 2, nb_channel = 1))
    1616    hd.add(Ioc('PSEG_IOC', pbase = 0xB3000000, channel_size = 32, nb_channel = 1))
     17    hd.add(SimH('PSEG_SIMH', pbase = 0xB7000000, channel_size = 32, nb_channel = 1)) # 6 mapped registers
    1718
    1819    hd.add(Xicu('PSEG_XICU', pbase = 0xB0000000, channel_size = 32, nb_channel = nb_proc, replicated = True)) # name suffixed with "_<num_cluster>"
  • trunk/softs/test_llsc/top.cpp

    r536 r546  
    166166#ifdef USE_GIET
    167167#include "scripts/soft/hard_config.h"
    168 #define PREFIX_OS "/users/cao/meunier/src/giet_vm/"
     168#define PREFIX_OS "giet_vm/"
    169169#endif
    170170
     
    272272   #define MDMA_BASE    0x00B1000000
    273273   #define MDMA_SIZE    0x0000001000 * NB_DMA_CHANNELS  // 4 Kbytes per channel
     274
     275   #define SIMH_BASE    0x00B7000000
     276   #define SIMH_SIZE    0x0000001000
    274277#endif
    275278
     
    322325#define BROM_TGTID      7
    323326#define CDMA_TGTID      8
     327#define SIMH_TGTID      9
    324328
    325329bool stop_called = false;
     
    567571            maptabd.add(Segment("seg_cdma", CDMA_BASE, CDMA_SIZE,
    568572                        IntTab(cluster(x,y),CDMA_TGTID), false));
     573            maptabd.add(Segment("seg_simh", SIMH_BASE, SIMH_SIZE,
     574                        IntTab(cluster(x,y),SIMH_TGTID), false));
    569575         }
    570576      }
     
    699705                CDMA_TGTID,
    700706                BDEV_TGTID,
     707                SIMH_TGTID,
    701708                MEMC_WAYS,
    702709                MEMC_SETS,
Note: See TracChangeset for help on using the changeset viewer.