Ignore:
Timestamp:
Jun 23, 2014, 4:02:53 PM (10 years ago)
Author:
cfuguet
Message:

fault_tolerance/tsar_generic_iob:

  • introducing the vci_iopic component on the IOX interconnect.


  • the input hardware interrupts on cluster(0,0) from the external peripherals have been removed because they are connected to the vci_iopic component.


  • Replacing "ad-hoc" dspin_tsar router by standard dspin_router on the RAM interconnect. To do so, in IO clusters (clusters with IOB) two crossbars are implemented:

+ One for commands which interconnects MEMC and IOB to the

local interface of RAM CMD dspin_router.

+ One for responses which interconnects local interface of RAM

RSP dspin_router to MEMC and IOB.

  • Considering case of mono cluster platform: Only one IOB must be instantiated.
  • Modifying IOX memory segments used by IOX network for routing:


+ bugfix: all segments of IOX interconnect must have

global id = 0.

+ Adding XICU segments with special attribute. This

attribute is used by IOB to determine if a command coming
from external DMA peripheral should be routed
through INT or RAM networks.

+ Using bit 32 of physical address to determine if an

external DMA command should be routed through IOB0
or IOB1.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fault_tolerance/platform/tsar_generic_iob/Makefile

    r658 r717  
    1 SOCLIB_CC := soclib-cc
    2 RM        := rm -rf
    3 CP        := cp -f
    4 MAKE      := make
    5 TARGET    := simul.x
    6 ARGS      ?=
     1ARGS           ?=
     2SOCLIB_CC      := soclib-cc
     3RM             := rm -rf
     4CP             := cp -f
     5MAKE           := make
     6CONFIG_DIR     := $(PWD)/conf
    77
    8 all: $(TARGET) preloader tags
     8TARGET         := simul.x
     9
     10all: $(TARGET) tags
    911
    1012# create simulator
     
    1315SRCS += tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp
    1416INCS := tsar_iob_cluster/caba/source/include/tsar_iob_cluster.h
     17INCS += $(CONFIG_DIR)/hard_config.h
    1518INCS += top.desc
    1619INCS += soclib.conf
    1720
    18 $(TARGET): $(SRCS) $(INCS)
     21$(TARGET): $(SRCS) $(INCS) soclib.conf
    1922        $(SOCLIB_CC) -P -p top.desc -I. -o simul.x
    2023
    2124# create preloader
    2225
    23 MESHSIZE       := 4c1p
    24 PRELOADER_CONF := $(PWD)/conf/preloader_$(MESHSIZE)
    2526PRELOADER_PATH := $(TSARPATH)/trunk/softs/tsar_boot
    26 PRELOADER_ARGS := "PLATFORM_DIR=$(PRELOADER_CONF) USE_DT=0 SOCLIB=1"
     27PRELOADER_ARGS := "PLATFORM_DIR=$(CONFIG_DIR) USE_DT=0 SOCLIB=1"
    2728PRELOADER_NAME ?= soft/soft.elf
    2829
     
    3536# run simulator
    3637
    37 SIMULATOR_ARGS  = -SOFT $(PRELOADER_NAME)
    38 SIMULATOR_ARGS += -DISK soft/disk.dmg
    39 SIMULATOR_ARGS += -XSIZE 2 -YSIZE 2 -NPROCS 1
     38SOFT           ?= $(PRELOADER_NAME)
     39DISK           ?= /dev/null
     40
     41SIMULATOR_ARGS  = -SOFT $(SOFT)
     42SIMULATOR_ARGS += -DISK $(DISK)
    4043SIMULATOR_ARGS += $(ARGS)
    4144
    42 run: $(TARGET) $(PRELOADER_NAME)
     45run: $(TARGET) $(SOFT)
    4346        ./$< $(SIMULATOR_ARGS)
    4447
    45 # create tags file with ctags
     48# create tags file with cscope
     49tags: cscope.out
    4650
    47 tags:
    48         $(SOCLIB_CC) -p top.desc --tags --tags-type=ctags --tags-output=$@
     51cscope.out:
     52        $(SOCLIB_CC) -p top.desc --tags --tags-type=cscope --tags-output=$@
    4953
    5054# clean targets
    5155
    5256clean:
     57        $(SOCLIB_CC) -X
    5358        $(SOCLIB_CC) -x -p top.desc -I.
    54         $(RM) *.o *.x tty* term*
     59        $(RM) *.o *.x mtty_*
    5560
    5661clean-soft:
    57         $(RM) $(PRELOADER_NAME)
     62        $(RM) $(SOFT)
    5863
    5964clean-tags:
     
    6671
    6772
    68 .PHONY: tags preloader clean clean-soft clean-preloader
     73.PHONY: tags simul.x preloader clean clean-soft clean-preloader
    6974
Note: See TracChangeset for help on using the changeset viewer.