Preceding the "-r" must be placed in curly braces. Similar to the previous example, but also This cycle repeats starting at 100 time units after the current simulation time, so the next transition is to 1 at 100 time units after the current simulation time. Here is the extract from that file: force input1 0įorces input1 to 0 at the current simulator time.įorces bus1 to 01XZ at 100 nanoseconds after the current simulator time.įorce bus1 16#f bus1 to 16#F at the absolute time 200 measured in the resolution units selected at simulation start-up.įorces input1 to 1 at 10 time units after the current simulation time and to 0 at 20 time units after the current simulation time. You can find out more if you read the manual: ModelSim SE Command Reference Or if you want a more advanced way of doing this, assuming your time is set to 1ns: force clk 0 20, 1 20 -repeat 100 In ModelSim the command to force a signal is: force signal_name value time
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |