Sunteți pe pagina 1din 3

###############################################################################

# CHANGELOG.OP.txt #
# Copyright (c) 2005-2015 Imperas Software Ltd., www.imperas.com #
# Covered under your Software License Agreement #
# #
# IMPERAS CONFIDENTIAL #
# #
###############################################################################
Date : 20151203 Version : 20151203.0
###############################################################################

- Change op.h so that when compiling a C++ module the transparent_union


attribute is not used.

- Rename "class" argument to "paramClass" in template for function


opModuleFormalsShow() so op.h can be used in a C++ environment.

- Changes to API

The OP interface is now defined in one file - op.h.

OP functions have been renamed: they now have a two letter prefix (op)
instead of three letters - op[c,r,p,m].
OP macros and constants have been renamed from OPT_ to OP_.

Connections from instances to Bus, net, FIFO and packetnets are made with
an array of net-port pairs, rather than a linked list. The arrays are passed
to the instance rather than being applied after construction.

These macros make the arrays easier to use:


OP_CONNECTIONS
OP_BUS_CONNECTIONS
OP_BUS_CONNECT
OP_NET_CONNECTIONS
OP_NET_CONNECT
OP_PACKETNET_CONNECTIONS
OP_PACKETNET_CONNECT
OP_FIFO_CONNECTIONS
OP_FIFO_CONNECT

This change affects:


opProcessorNew
opPeripheralNew
opMMCNew
opMemoryNew
opModuleNew

Example:
opProcessorNew(
mi,
"u1",
path,
OP_CONNECTIONS(
OP_BUS_CONNECTIONS(
OP_BUS_CONNECT(bus1, "INSTRUCTION"),
OP_BUS_CONNECT(bus1, "DATA")
)
OP_NET_CONNECTIONS(
OP_NET_CONNECT(intr1, "int1"),
OP_NET_CONNECT(intr2, "int2")
)
params
);

As a result, these functions are deprecated:


opBridgeBusConnect
opBusConnect
opMemoryBusConnect
opMMCBusConnect
opFIFOConnect
opNetConnect
opPacketnetConnect
opPeripheralPacketnetConnect
opPeripheralNetConnect
opPeripheralBusConnectMaster
opPeripheralBusConnectSlave
opPeripheralBusConnectSlaveDynamic
opProcessorFIFOConnect
opProcessorBusConnect
opProcessorNetConnect

New names for functions:


opSessionInit
opSessionTerminate
opSessionAtExit
opSessionExit
opApplicationLoaderInstall
opSessionControlFileRead
opSessionDebuggerNotifiersAdd
opBusAccessWatchpointSet
opBusReadWatchpointSet
opBusWriteWatchpointSet
opProcessorAccessWatchpointSet
opProcessorReadWatchpointSet
opProcessorWriteWatchpointSet

- Added a new boolean parameter to a root module, parallelperipherals:


Enables parallel peripheral simulation using any number of concurrent host.

- Added a new control file or command line flag, -parallelperipherals:


Enables parallel peripheral simulation using any number of concurrent host.

- Added functions to set parameters on objects in a lower part of the hierarchy


opParamBoolOverride
opParamDoubleOverride
opParamEndianOverride
opParamEnumOverride
opParamInt32Override
opParamInt64Override
opParamPtrOverride
opParamStringOverride
opParamUns32Override
opParamUns64Override

###############################################################################
## ##
## Date 2015-August-24 ##
## ##
## Release 20150901.0 ##
## ##
###############################################################################

- Addition to API
opNetPortMustBeConnected

- Changes to API
ALL port connections must be created before creating a sub module instance.

New functions
opBusConnect (replaces opBusPortConnNew)
opBusConnectRange (replaces opBusPortConnAddrNew)
opNetConnect
opPacketnetConnect
opFIFOConnect

Changed Arguments
opModuleNew() now takes a structure pointer optConnectionsP instead of
the arguments optBusPortConnP and optNetPortConnP

###############################################################################
## ##
## Date 2015-February-11 ##
## ##
## Release 20150205.0 ##
## ##
###############################################################################

- Changes to API

Bus port connections must be created before creating a sub module instance.

New functions
opBusPortConnNew
opBusPortConnAddrNew

Changed Arguments
opModuleNew() two new arguments - optBusPortConnP and optNetPortConnP
optBusPortConnP is a list created by opBusPortConnNew & opBusPortConnAddrNew
optNetPortConnP not used yet.

Deleted functions
opModuleBusConnect

###############################################################################