Palladium Setup

  1. To activate Palladium, you need to create the file hero.swd/hero/config_palladium.tcl. Complete the following:
    % cd `vovserverdir -p hero`
    % vi config_palladium.tcl 
    
    # Part of config_palladium.tcl
    HeroPalladium::DeclareEmulator -host SOMEHOST1 -port 29500 -name pal01 -environment PALLADIUM_PXP2
    HeroPalladium::DeclareEmulator -host SOMEHOST2 -port 29501 -name pal02 -environment PALLADIUM_Z1
    
    Each emulator a different host. The port is used by the Hero wrapper for that emulator. The default port is 29500. The name of the emulator (e.g. "pal01", "pal02" in the example above) is the name that will be used by Hero. It can be the same as the name of the emulator as reported by test_server but most of the times it is a shorter name.
  2. Modify the taskers.tcl file with these lines:
    # Add these lines to your taskers.tcl fie
    source $env(VOV_HERO_DIR)/palladium/hero_palladium_lib.tcl
    HeroPalladium::DeclareEmulatorTaskers
    #
    # PXP2 specific:
    #     By default Hero will start vovtaskers on all SA hosts
    #     reported by test_server.
    #
    # Z1 specific:
    #     It is necessary to explicitly start vovtaskers on all hosts
    #     that can run emulation jobs for a particular emulator.
    #     This must be done for each Z1 emulator.
    #
    #        set emulName "name specified on DeclareEmulator line"
    #        foreach host {host1 host2 host3} {
    #            vtk_tasker_define $host -resources "PAL:RUN_HOST_$emulName"
    #        }
  3. Start the wrappers and the taskers with:
    % ves PALLADIUM
    % hero autostart
  4. Verify that the taskers and wrappers are running with
    % ves HERO
    % hero health -v -v