# HACKT CHPSIM Manual

## Short Contents

- CHPSIM Manual Outline
- 1 Introduction
- 2 Usage
- 3 Commands
- 4 Extending the simulator
- 5 Event-driven Execution
- 6 Standard Library Functions
- Command Index
- Variable Index
- Concept Index

## Table of Contents

- CHPSIM Manual Outline
- 1 Introduction
  - 1.1 History
- 2 Usage
  - 2.1 Option Summary
  - 2.2 General Flags
  - 2.3 Graph Generation
- 3 Commands
  - 3.1 `builtin` commands
  - 3.2 `general` commands
  - 3.3 `info` commands
  - 3.4 `modes` commands
  - 3.5 `simulation` commands
  - 3.6 `tracing` commands
  - 3.7 `view` commands
- 4 Extending the simulator
  - 4.1 CHP Function Calls
  - 4.2 Shared Module Creation
    - 4.2.1 Compiling module sources
    - 4.2.2 Linking module libraries
  - 4.3 Run-time Module Loading
  - 4.4 Run-time Diagnostics
  - 4.5 An Example
  - 4.6 Global Initialization
  - 4.7 Module Rationale
- 5 Event-driven Execution
  - 5.1 Event ordering
  - 5.2 Timing
- 6 Standard Library Functions
  - 6.1 Function Descriptions
    - 6.1.1 Diagnostics
    - 6.1.2 Conditionals
    - 6.1.3 Strings
    - 6.1.4 Input/Output
    - 6.1.5 Operating System Library
    - 6.1.6 Bit-manipulation Library
  - 6.2 Library Use Example
  - 6.3 Function Renaming
  - 6.4 Library Organization
- Command Index
- Variable Index
- Concept Index

Next: Introduction, Up: (dir)

## CHPSIM Manual Outline

This manual describes the usage and operation of HACKT's `chpsim` simulator.

This document can also be found online at http://www.csl.cornell.edu/~fang/hackt/hacchpsim.

The main project home page is http://www.csl.cornell.edu/~fang/hackt/.

Copyright © 2007 Cornell University

> Published by ...

> Permission is hereby granted to ...