37 #ifndef VCD_UTILITY_HPP 38 #define VCD_UTILITY_HPP 90 std::string _c_val,
const unsigned int el_idx,
const std::string::size_type _first_c_bit,
91 const std::string::size_type _c_size,
const unsigned int _b);
103 const DesignFlowManagerConstRef design_flow_manager);
114 bool HasToBeExecuted()
const override;
121 unsigned long long possibly_lost_address{0};
123 unsigned long long mismatched_integers{0};
143 bool detect_mismatch(
const vcd_trace_head& t,
const uint64_t c_context,
const std::string&
c_val);
147 bool detect_binary_float_mismatch(
const std::string&
c_val,
const std::string& resized_vcd_val)
const;
149 bool detect_binary_double_mismatch(
const std::string&
c_val,
const std::string& resized_vcd_val)
const;
151 bool detect_address_mismatch(
const DiscrepancyOpInfo& op_info,
const uint64_t c_context,
const std::string&
c_val,
154 bool detect_fixed_address_mismatch(
const DiscrepancyOpInfo& op_info,
const uint64_t c_context,
158 bool detect_mismatch_element(
const vcd_trace_head& t,
const uint64_t c_context,
const std::string&
c_val,
159 const unsigned int el_idx);
161 bool detect_mismatch_simple(
const vcd_trace_head& t,
const uint64_t c_context,
const std::string&
c_val,
163 const std::string::size_type
c_size);
165 void update_discr_list(
const vcd_trace_head& t,
const uint64_t c_context,
const std::string&
c_val,
169 void print_failed_vcd_head(
const vcd_trace_head& t,
bool one_hot_encoding,
const int verbosity)
const;
171 void print_discrepancy(
const DiscrepancyLog& l,
bool one_hot_encoding,
const int verbosity)
const;
173 std::string compute_fsm_state_from_vcd_string(
const std::string& vcd_state_string,
bool one_hot_encoding)
const;
DiscrepancyLog(const HLS_managerConstRef HLSMgr, const vcd_trace_head &t, const uint64_t c_context, std::string _c_val, const unsigned int el_idx, const std::string::size_type _first_c_bit, const std::string::size_type _c_size, const unsigned int _b)
std::list< DiscrepancyLog > discr_list
std::list< DiscrepancyLog > soft_discr_list
REF_FORWARD_DECL(Discrepancy)
const DiscrepancyRef Discr
RelationshipType
The relationship type.
This class manages the tree structures extracted from the raw file.
redefinition of map to manage ordered/unordered structures
unsigned long long op_end_time
redefinition of set to manage ordered/unordered structures
UnorderedMapStd< std::string, CustomUnorderedMapStable< std::string, std::list< sig_variation > >> vcd_trace_t
this type is the result of a parse.
DesignFlowStep_Status
The status of a step.
Template definition of refcount.
enum discrepancy_type_mask type
std::string present_state_name
The name of the present state signal.
CONSTREF_FORWARD_DECL(FunctionBehavior)
std::string op_start_state
unsigned long long op_start_time
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
std::string::size_type first_c_bit
std::string::size_type c_size
unsigned int base_index
valid only if type is DISCR_ADDR.