RecoSim  1.0
 All Classes Files Functions Variables Enumerations
Classes | Macros | Functions
trace.h File Reference
#include <cstdlib>
#include "systemc"
#include "tlm.h"
#include "utils.h"
#include "config.h"
#include "manager_interface.h"
#include "reconfigurable_zone.h"
#include "fpga.h"

Go to the source code of this file.

Classes

struct  transaction_packet_t
 
struct  initiator_packet_t
 
struct  target_packet_t
 
struct  trace_packet_t< Ni, No >
 
class  trace_packet_testbench_t< Ni, No >
 
class  trace_packet_testbench_t< 0, No >
 
class  trace_packet_testbench_t< Ni, 0 >
 
class  trace_packet_testbench_t< 0, 0 >
 
struct  trace_packet_manager_t
 

Macros

#define MAPPED_ASCII   0x4D617070656420
 
#define RUNNING_ASCII   0x52756E6E696E6720
 
#define CONFIGURING_ASCII   0x436F6E66696720
 
#define QUEUED_ASCII   0x51756575656420
 
#define CONTEXT_SAVE_ASCII   0x4374787420535620
 
#define CONTEXT_LOAD_ASCII   0x43747874204C4420
 
#define IDLE_ASCII   0x49646C65
 
#define WAITING_ASCII   0x57616974696E67
 
#define ACTIVE_ASCII   0x41637469766520
 
#define BEGIN_REQ_ASCII   0x425F524551
 
#define END_REQ_ASCII   0x455F524551
 
#define BEGIN_RESP_ASCII   0x425F52455350
 
#define END_RESP_ASCII   0x455F52455350
 
#define INTERN_ASCII   0x494E5445524E
 
#define UNDEF_ASCII   0x554E444546
 
#define NULL_ASCII   0x4E554c4c
 
#define RESPONSE_OK_ASCII   0x4F4B
 
#define RESPONSE_ERROR_ASCII   0x455252
 
#define COMMAND_R_ASCII   0x52
 
#define COMMAND_W_ASCII   0x57
 
#define ALGORITHM_RUNNING_ASCII   RUNNING_ASCII
 
#define ALGORITHM_WAITING_ASCII   WAITING_ASCII
 
#define SCHEDULER_ACTIVE_ASCII   ACTIVE_ASCII
 
#define ICAP_RECONF_T_ASCII   CONFIGURING_ASCII
 
#define RZ_RUNNING_T_ASCII   RUNNING_ASCII
 
#define RZ_MAPPED_T_ASCII   MAPPED_ASCII
 
#define RZ_BLANK_ASCII   0x424C414E4B
 
#define OFFSET_ASCII   0x4F6666736574
 
#define COM_WAITING_T_ASCII   WAITING_ASCII
 
#define COM_TX_T_ASCII   0x5478
 

Functions

template<int Ni, int No>
void sc_trace (sc_trace_file *tf, const trace_packet_t< Ni, No > &packet, const string &NAME)
 
template<int Ni, int No>
void sc_trace (sc_trace_file *tf, const trace_packet_testbench_t< Ni, No > &packet, const string &NAME)
 
template<int Ni>
void sc_trace (sc_trace_file *tf, const trace_packet_testbench_t< Ni, 0 > &packet, const string &NAME)
 
template<int No>
void sc_trace (sc_trace_file *tf, const trace_packet_testbench_t< 0, No > &packet, const string &NAME)
 
void sc_trace (sc_trace_file *tf, const trace_packet_testbench_t< 0, 0 > &packet, const string &NAME)
 
void sc_trace (sc_trace_file *tf, const trace_packet_manager_t &packet, const string &NAME)
 
void sc_trace (sc_trace_file *tf, const initiator_packet_t &packet, const string &NAME)
 
void sc_trace (sc_trace_file *tf, const target_packet_t &packet, const string &NAME)
 
void sc_trace (sc_trace_file *tf, const transaction_packet_t &packet, const string &NAME)
 
sc_dt::uint64 tlm_phase_to_ascii (tlm_phase phase)
 

Detailed Description

UNS - CNRS Copyright 2012 All Rights Reserved.

These computer program listings and specifications, herein, are the property of Université de Nice Sophia-Antipolis (UNS) and Centre National de la Recherche Scientifique (CNRS), and shall not be reproduced or copied or used in whole or in part as the basis for manufacture or sale of items without written permission. For a license agreement, please contact: conta.nosp@m.ct@s.nosp@m.attse.nosp@m..com

Author
Francois Duhem (Franc.nosp@m.ois..nosp@m.Duhem.nosp@m.@uni.nosp@m.ce.fr), Fabrice Muller (Fabri.nosp@m.ce.M.nosp@m.uller.nosp@m.@uni.nosp@m.ce.fr) University of Nice-Sophia Antipolis - LEAT/CNRS
Version
1.0
Date
2010-09-29

DESCRIPTION

Some functions and structures used for VCD tracing