User guide

CIF Peripheral Model - SimpleTimer
90 CoMET Version 5.9 – Tutorial
Adding Ports
Ports provide the input to and output from the Peripheral Mode. The required Bus, BusClock
and Reset ports are created by default. Add the following ports:
Name Type Direction Description
MatchInterrupt1
StdLogic Output Output interrupt line for match 1
MatchInterrupt2
StdLogic Output Output interrupt line for match 2
TimerClock
StdClock Input Connects to a dedicated clock input
for the timer
To add a port:
Right click the Ports node.
Choose Add Port from the context menu.
CoMET displays the Fabric Module dialog, Port tab. An example is shown below:
In the Fabric Module dialog, Port panel, Properties panel:
Name: specify the name of the port, e.g. MatchInterrupt1
Type: select the required Port Type, e.g.StdLogic
NumberOf: accept the default of 1.
Direction: Specify the required Port Direction: Input, Output, Input/Output. e.g. for
MatchInterrupt1, choose Output.
Description: Provide a brief description. This appears in the Fmx Prototype Report.