LIBRARY  |  COMPANIES |   PLATFORMS |   PROCESSORS |   PERIPHERALS
FreescaleKinetisCMP



OVP Peripheral Model: FreescaleKinetisCMP



Model Specific Information

This page provides introductory usage information for an Imperas OVP peripheral behavioral model. The page is split into sections providing specific information for this peripheral, including any ports for connecting into a platform, registers, other component parts, and configuration options and general information for peripheral modeling with Imperas OVP.

Description

Model of the CMP peripheral used on the Freescale Kinetis platform

Limitations

Provides the base behaviour for the OVP Freescale Kinetis platforms

Reference

www.freescale.com/Kinetis

Licensing

Open Source Apache 2.0

Location

The KinetisCMP peripheral model is located in an Imperas/OVP installation at the VLNV: freescale.ovpworld.org / peripheral / KinetisCMP / 1.0.



Peripheral Instance Parameters

This model accepts the following parameters:

Table : Peripheral Parameters

NameTypeDescription
cmpNumberuns32Comparator channel number: 0,1,2 or3 (default 0)
stimFilestringStimulus file for the comparator
configure_cr0uns32
configure_cr1uns32
configure_fpruns32
configure_scruns32
configure_daccruns32
configure_muxcruns32



Net Ports

This model has the following net ports:

Table 1: Net Ports

NameTypeMust Be ConnectedDescription
ResetinputF (False)
ExtSampleinputF (False)
Vin1inputF (False)
Vin2inputF (False)
Input0inputF (False)
Input1inputF (False)
Input2inputF (False)
Input3inputF (False)
Input4inputF (False)
Input5inputF (False)
Input6inputF (False)
Input7inputF (False)
DacOutputoutputF (False)
CoutSocoutputF (False)
InterruptoutputF (False)
DmaReqoutputF (False)
CmpOPadoutputF (False)



Bus Slave Ports

This model has the following bus slave ports:

Bus Slave Port: bport1

Table 2: Bus Slave Port: bport1

NameSize (bytes)Must Be ConnectedDescription
bport10x8F (False)

Table 3: Bus Slave Port: bport1 Registers:

NameOffsetWidth (bits)DescriptionR/Wis Volatile
ab_CR00x08CMP Control Register 0, offset: 0x0
ab_CR10x18CMP Control Register 1, offset: 0x1
ab_FPR0x28CMP Filter Period Register, offset: 0x2
ab_SCR0x38CMP Status and Control Register, offset: 0x3
ab_DACCR0x48DAC Control Register, offset: 0x4
ab_MUXCR0x58MUX Control Register, offset: 0x5



Platforms that use this peripheral component

Peripheral components can be used in many different platforms, including those developed by Imperas or by other users of OVP. You can use this peripheral in your own platforms.

Table 4: Publicly available platforms using peripheral 'KinetisCMP'

Platform NameVendor
FreescaleKinetis60freescale.ovpworld.org
FreescaleKinetis64freescale.ovpworld.org



FreescalePeripherals
Page was generated in 0.0136 seconds