Simulators

Currently there are three simulators for TORCH. One is Tsim a very fast instruction level simulator. It is based on Mable which was developed by Peter Davies at MIPS. We also have a complete Verilog model of TORCH, including the integer execution units, instruction and data caches, co-processor0, external interface, external memory system, etc. If you would like to get a copy of one of these simulators please click on one of the entried below.

Tsim
Tsim is an instruction-level simulator based on the Mabel framework. The TORCH compiler Tcc can automatically generate Tsim executable to emulate TORCH object code on a DECstation. Tsim includes a front-end for dbx that allows the user to debug TORCH executables.[27kB]
Ttrace
Ttrace is a pixie-based simulator that uses basic-block counts to estimate the total execution time on the simulated machine [27kB]. For more information see Mike Smith's thesis, Section 4.3.1. Also, Mike Smith provides a sample simulator framework xsim that can be used as a starting point to develop similar simulators.
Verilog
This is a complete Verilog model of TORCH including TLB, exceptions, co-processor 0, etc. The works. To run it you will also need to get the PLI code, and either the TORCH software tools or the pre-compiled test programs. [176kB]
PLI
We have written several C routines that are used by the Verilog model. These need to be linked into the Verilog simulator using the PLI (Programming Language Interface) defined by OVI. It is possible to run the model without these functions but it will lack many nice features (main memory model, instruction disassembly, magical I/O, random interrupt generator, etc). We have not tested this routines with Chronologics VCS. If you do please let us know of any problems you encounter. [76kB]


Back to TORCH Home Page