Changeset 485 for trunk/platforms/tsar_generic_xbar
- Timestamp:
- Aug 7, 2013, 1:51:30 PM (11 years ago)
- Location:
- trunk/platforms/tsar_generic_xbar
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_xbar/Makefile
r469 r485 1 1 simul.x: top.cpp top.desc 2 soclib-cc - P -p top.desc -I. -o simul.x2 soclib-cc -j4 -t systemcass -P -p top.desc -I. -o simul.x 3 3 4 4 clean: -
trunk/platforms/tsar_generic_xbar/soclib.conf
r482 r485 1 #config.addDescPath("/dsk/l1/misc/joannou/tsar/trunk") 2 config.addDescPath("/users/cao/joannou/tsar") 3 config.addDescPath("/users/cao/joannou/soclib/soclib") 4 5 config.systemcass.cflags=config.systemc.cflags+["-fopenmp", "-fpermissive"] 6 config.systemcass.libs=config.systemc.libs+['-ldl', '-lm', '-lpthread', '-L%(libdir)s', '-lsystemc', '-rdynamic', '-fopenmp'] 7 #config.default = config.systemcass_ 8 # 9 config.systemc.cflags=config.systemc.cflags+["-fopenmp", "-fpermissive"] 10 config.systemc.libs=config.systemc.libs+['-ldl', '-lm', '-lpthread', '-L%(libdir)s', '-lsystemc', '-rdynamic', '-fopenmp'] 11 config.default = config.systemc_ 1 config.addDescPath("/home/lambert/Install/tsar") -
trunk/platforms/tsar_generic_xbar/top.cpp
r475 r485 251 251 252 252 #define CHBUF_BASE 0x00B6000000 253 #define CHBUF_SIZE 0x0000004000 // For 16 Channels253 #define CHBUF_SIZE 0x0000004000 * NB_CMA_CHANNELS 254 254 255 255 // replicated segments : address is incremented by a cluster offset … … 655 655 nic_tx_name, 656 656 NIC_TIMEOUT, 657 NB_CMA_CHANNELS, 657 658 loader, 658 659 frozen_cycles, -
trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/include/tsar_xbar_cluster.h
r475 r485 262 262 char* nic_tx_name, // filename tx 263 263 uint32_t nic_timeout, // cycles 264 size_t chbufdma_channels, // number channels 264 265 const Loader &loader, 265 266 uint32_t frozen_cycles, -
trunk/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/src/tsar_xbar_cluster.cpp
r475 r485 75 75 char* nic_tx_name, 76 76 uint32_t nic_timeout, 77 size_t chbufdma_channels, 77 78 const Loader &loader, 78 79 uint32_t frozen_cycles, … … 375 376 IntTab(cluster_id, tgtid_chbuf), 376 377 64, 377 2 * nic_channels ); // Two chbuf dma channel by nic channel378 chbufdma_channels); 378 379 379 380 wt_chbuf = new VciDspinTargetWrapper<vci_param_int, … … 718 719 chbuf->p_vci_target (signal_vci_tgt_chbuf); 719 720 chbuf->p_vci_initiator (signal_vci_ini_chbuf); 720 for ( size_t i=0 ; i < nic_channels * 2; i++ )721 for ( size_t i=0 ; i < chbufdma_channels ; i++ ) 721 722 { 722 723 chbuf->p_irq[i] (signal_irq_chbuf[i]);
Note: See TracChangeset
for help on using the changeset viewer.