| [14] | 1 | |
|---|
| 2 | truesim - Simulate the flattened network |
|---|
| 3 | _________________________________________________________________ |
|---|
| 4 | |
|---|
| 5 | truesim [ -D <filename> ] [ -d ] [ -f <filename> ] [ -g <filename> ] [ -h ] |
|---|
| 6 | [ -n <N> ] [ -p <filename> ] [ -r <N> ] [ -t <time> ] [ -v <N> ] |
|---|
| 7 | |
|---|
| 8 | Simulates a network with a set of input vectors. Before calling this |
|---|
| 9 | command, the user should create a partition (using the command |
|---|
| 10 | build_partition_mdds). The simulation vectors can be provided by the user |
|---|
| 11 | (using -f vectors_file), or generated randomly. |
|---|
| 12 | |
|---|
| 13 | Command options: |
|---|
| 14 | |
|---|
| 15 | -D <filename> |
|---|
| 16 | File to dump randomly generated vectors. Primary input probability |
|---|
| 17 | file SHOULD be specified with -p option. |
|---|
| 18 | |
|---|
| 19 | -d |
|---|
| 20 | Perform event-driven true delay simulation. The fanout count of the |
|---|
| 21 | nodes is used as an estimate for the node delay. Primary inputs are |
|---|
| 22 | assumed to have arrival times of zero. |
|---|
| 23 | |
|---|
| 24 | -f <filename> |
|---|
| 25 | File containing simulation vectors. The format is simple but strict |
|---|
| 26 | and hence, few checks are made. The file format is as below: |
|---|
| 27 | |
|---|
| 28 | .i c n d o e p f q g r h s i t j u k a l b m |
|---|
| 29 | .s |
|---|
| 30 | 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 ; |
|---|
| 31 | 0 1 1 0 0 0 0 1 0 1 1 0 1 1 1 1 0 0 0 0 1 ; |
|---|
| 32 | 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0 1 ; |
|---|
| 33 | 0 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 0 1 0 0 1 ; |
|---|
| 34 | The .i statement specifies the primary inputs of the network. The |
|---|
| 35 | patterns start after .s key word. Each vector is a space separated |
|---|
| 36 | list of bits and ends in a semi-colon. The length of any vector |
|---|
| 37 | should be equal to the number of signals specified in the .i |
|---|
| 38 | statement. A line starting with # is a comment. |
|---|
| 39 | |
|---|
| 40 | -g <filename> |
|---|
| 41 | File to output random probabilities for primary inputs. Use this |
|---|
| 42 | option ONLY to produce a vector of signal probabilities for primary |
|---|
| 43 | inputs. This option does not proceed with simulation. |
|---|
| 44 | |
|---|
| 45 | -h |
|---|
| 46 | Print a help message that details all options. |
|---|
| 47 | |
|---|
| 48 | -n <N> |
|---|
| 49 | Number of patterns to simulate. The default is 1000. Use this option |
|---|
| 50 | ONLY with -p option. |
|---|
| 51 | |
|---|
| 52 | -p <filename> |
|---|
| 53 | File containing primary input probabilities. The format is as shown |
|---|
| 54 | below: |
|---|
| 55 | |
|---|
| 56 | PI_Name1 0.67 |
|---|
| 57 | PI_Name2 0.45 |
|---|
| 58 | |
|---|
| 59 | -r <N> |
|---|
| 60 | Print PI/PO names after every N patterns simulated, for better |
|---|
| 61 | readability of simulation output. This option is effective only when |
|---|
| 62 | the verbosity flag is on. |
|---|
| 63 | |
|---|
| 64 | -T <filename> |
|---|
| 65 | File containing node delay and load values. The file format is as |
|---|
| 66 | shown below: |
|---|
| 67 | |
|---|
| 68 | node1 delay1 load1 |
|---|
| 69 | node2 delay2 load2 |
|---|
| 70 | The delay vaues are assumed as specified in a common unit. The same |
|---|
| 71 | is true for load values too. |
|---|
| 72 | |
|---|
| 73 | -t <time> |
|---|
| 74 | Time in seconds allowed to finish the simulation. The default is no |
|---|
| 75 | limit. |
|---|
| 76 | |
|---|
| 77 | -v <N> |
|---|
| 78 | Specify verbosity level, N. |
|---|
| 79 | _________________________________________________________________ |
|---|
| 80 | |
|---|
| 81 | Last updated on 20100410 00h02 |
|---|