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