M1AFS-EMBEDDED-KIT Actel, M1AFS-EMBEDDED-KIT Datasheet - Page 35
![MCU, MPU & DSP Development Tools CortexM1-enabled Fusion Embedded Kit](/photos/15/91/159187/m1afs-embedded-kit_sml.jpg)
M1AFS-EMBEDDED-KIT
Manufacturer Part Number
M1AFS-EMBEDDED-KIT
Description
MCU, MPU & DSP Development Tools CortexM1-enabled Fusion Embedded Kit
Manufacturer
Actel
Datasheet
1.M1AFS-EMBEDDED-KIT.pdf
(56 pages)
Specifications of M1AFS-EMBEDDED-KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Cortex-M1 v3.1 Handbook
Readcheck
The readcheck command causes the BFM to perform a read of a specified offset, within the memory map
range of a specified system resource and to compare the read value with the expected value provided.
Syntax
readcheck width resource_name byte_offset data;
Width
This takes on the enumerated values of W, H or B, for word, halfword, or byte respectively.
resource_name
This is a string containing the user-friendly instance name of the resource being accessed.
byte_offset
This is the offset from the base of the resource, in bytes. It is specified as a hexadecimal value.
Data
This is the expected read data. It is specified as a hexadecimal value.
Example
readcheck W videoCodec 20 11223344;
poll
This command continuously reads a specified location until a requested value is obtained. This
command allows one or more bits of the read data to be masked out. This allows, for example, poll
waiting for a ready bit to be set, while ignoring the values of the other bits in the location being read.
Syntax
poll width resource_name byte_offset data_bitmask;
width
This takes on the enumerated values of W, H, or B, for word, halfword, or byte.
resource_name
This is a string containing the user-friendly instance name of the resource being accessed.
byte_offset
This is the offset from the base of the resource, in bytes. It is specified as a hexadecimal value.
bitmask
The bitmask is ANDed with the read data and the result is then compared to the bitmask itself. If equal,
then all the bits of interest are at their required value and the poll command is complete. If not equal, then
the polling continues.
wait
This command causes the BFM script to stall for a specified number of clock periods.
Syntax
wait num_clock_ticks;
num_clock_ticks
This is the number of Cortex-M1 clock periods, during which the BFM stalls (doesn't initiate any bus
transactions).
Timing Shell
A timing shell is provided for each Cortex-M1 variant wrapped around the BFM itself. The BFM is bus
cycle accurate and performs setup/hold checks to model output propagation delays.
R ev i si o n 1 2
35