|
<< Click to Display Table of Contents >> 9.7 Diagram Properties dialog |
![]() ![]()
|
The Diagram Properties dialog sets properties that that are saved in the timing diagram BTIM file and affect all projects that use the diagram. These include the cycle based settings and the include files lists. Changing these properties can break or dramatically change the way the diagram works during simulation. Other diagram settings that are saved in the project HPJ file and only effect the generation of the code (not the operation of the diagram) are edited through the Diagram Settings dialog as discussed next in Section 9.8: Diagram Settings Dialog (TestBencher only).
To edit the Diagram Properties:
|
|
Including HDL Code Library Files
If you have external code modules that you want to make available to the transaction then you can use the interface in the Diagram Properties dialog to make that code available. Files can either be included before the transaction, using the equivalent of the Verilog include statement, or files can be included inside the module. The method for including code within the transaction varies by language. If possible the code is included using something like the include statement and if that concept is not supported then the code is echoed within the transaction. If you have HDL functions or tasks that you would like to write and use within a transaction then use the Class Methods dialog as discussed Section 6.3: Class Methods. Class Methods is a newer interface that is more flexible and it makes it easier to modify the code and parameters of the functions. To Add an HDL Code Library File to the Diagram:
|
Although the code generation for Verilog and VHDL will treat the file lists from this dialog differently, the file selection process for the languages is the same in this dialog.
Cycle Based Properties
The Cycle Based Properties control how clocked signals and events are generated. These settings provide default clocking signals and edges to be specified for a diagram. This area also allows existing signals and parameters to be updated to a new clocking signal and edge.
|