OVP Peripheral Model: SifivePwm
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
SiFive coreip-s51-arty PWM Registers (pwm)
Licensing
Open Source Apache 2.0
Limitations
This model implements only the registers and contains no behaviour.
Reference
SiFive Freedom E SDK coreip-s51-arty Board Support Package details.
Location
The pwm peripheral model is located in an Imperas/OVP installation at the VLNV: sifive.ovpworld.org / peripheral / pwm / 1.0.
Net Ports
This model has the following net ports:
Table : Net Ports
Name | Type | Must Be Connected | Description |
---|
resetNet | input | F (False) | |
int0 | output | F (False) | |
int1 | output | F (False) | |
int2 | output | F (False) | |
int3 | output | F (False) | |
Bus Slave Ports
This model has the following bus slave ports:
Bus Slave Port: bport1
Table 1: Bus Slave Port: bport1
Name | Size (bytes) | Must Be Connected | Description |
---|
bport1 | 0x1000 | T (True) | |
Table 2: Bus Slave Port: bport1 Registers:
Name | Offset | Width (bits) | Description | R/W | is Volatile |
---|
REG_pwmcfg | 0x0 | 32 | Description PWM Configuration Register PWM Counter scale PWM Sticky - disallow clearing pwmcmpXip bits PWM Zero - counter resets to zero after match PWM Deglitch - latch pwmcmpXip within same cycle PWM enable always - run continuously PWM enable one shot - run one cycle PWM0 Compare Center PWM1 Compare Center PWM2 Compare Center PWM3 Compare Center PWM0/PWM1 Compare Gang PWM1/PWM2 Compare Gang PWM2/PWM3 Compare Gang PWM3/PWM0 Compare Gang PWM0 Interrupt Pending PWM1 Interrupt Pending PWM2 Interrupt Pending PWM3 Interrupt Pending | | |
REG_pwmcount | 0x8 | 32 | | | |
REG_pwms | 0x10 | 32 | | | |
REG_pwmcmp0 | 0x20 | 32 | Description PWM Compare Register PWM 0 Compare Value | | |
REG_pwmcmp1 | 0x24 | 32 | Description PWM Compare Register PWM 1 Compare Value | | |
REG_pwmcmp2 | 0x28 | 32 | Description PWM Compare Register PWM 2 Compare Value | | |
REG_pwmcmp3 | 0x2c | 32 | Description PWM Compare Register PWM 3 Compare Value | | |
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 3: Publicly available platforms using peripheral 'pwm'