<<

HCT::HCT

NAME

HCT::HCT - HCT core.

DESCRIPTION

VARIABLES

SUBROUTINES

print_usage ()

Prints help information and exit.

Detail information about options can be found here: http://hct.sourceforge.net/doc/usage.html

print_version ()

Prints project version and exit.

handle_signals ()

Set up the signal handlers for either parent or child. Each signal correspond to special subroutine that should handle it:

        signalname ==> subroutine signalname_signal

All previous handlers of the captured signals will be saved into %OLD_SIG.

die_signal (...)

Replaces __DIE__ signal.

warn_signal (...)

Replaces __WARN__ signal.

restore_signals ()

Puts captured signals back. Previous signals will be loaded from %OLD_SIG.

handle_stdout ()

Redirects STDOUT. For instance when user wants to save output data in a file it will be redirected to HCT::OUTPUT_FILE.

The previous STDOUT handler will be saved into $OLD_STDOUT.

restore_stdout ()

Closes current STDOUT handler and loads previous.

get_options ()

Gets common and special options.

get_targetlist (TARGETLIST)

Builds and returns TARGETLIST.

The TARGETLIST is an hash-array reference that consist of TARGETLIST_ITEM's. TARGET_ITEM structure:

        $TARGETLIST_ITEM = { $BATCH_NAME => $BATCH_CONTENT };

        $BATCH_CONTENT = {
                $LANGUAGE => {
                        $DIRECTORY => [$FILE]
                }
        };
init ()

Initializes the tool: captures signals for handling, initializes HDL's, gets common and special options, captures STDOUT if needed.

<<

This document is part of HCT, the Hardware Complexity Tool.

Generated: Fri Jul 17 10:38:47 2009