Think of include as copy and paste from those files, so you will need to include inside your testbench module (only there, you shouldn't include your function file inside your task file). In this assignment you are asked to write each part as a separate file, this means you will need to use the include statement to get the task and function into your testbench. As they wor the inputs and outputs of a task. For a task, the position of when the input and outputs are defined will specify how to access them when calling the task. In both functions and tasks, you are working with sequential statements, as if they are in a procedural block, so most of the same rules apply, including needing register types for variables given values. It is also available via a free student license from Mentor Graphics: edition/download.asp In this assignment you will be working with functions and tasks, which are two different methods for you to be able to call some procedure you plan to use more than once (in this, or other code. Transcribed image text: ModelSim is installed on all of the Engineering East computer lab computers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |