soc.sdk.Clock Class
Namespace: soc.sdk
Clock object representing the input clock on hardware board
Description
An object that defines the specifications for a clock on the hardware board.
Creation
Description
creates a new clockObj
= soc.sdk.Clock(Name
)soc.sdk.Clock
object, with the Name
property set to name
.
Properties
Name
— Name of the clock
character vector
Name of the clock, specified as a character vector.
Note
The name must start with a letter and may contain letters, numbers, underscores, minus signs, slashes and spaces.
Example: 'MyClock'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
Frequency
— Frequency of the clock
100
(default) | positive scalar
The frequency of a clock on the hardware board, specified as a positive scalar in MHz.
Example: 150
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: double
Pins
— Pin numbers
{} (default) | cell array of nonnegative scalars
The pins that the clock uses, specified as a nonnegative scalar or a cell array of two nonnegative scalars. One pin shall be specified for single-ended clock, and two pins for differential clock.
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: cell
IOStandard
— IO standard used by clock
''
(default) | character vector
The IO standard used by the clock, specified as a character vector.
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
Version History
Introduced in R2019b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)