5 #ifndef SUPPLEMENTARY_INFO_H__
6 #define SUPPLEMENTARY_INFO_H__
8 #include "nlohmann/json.hpp"
42 #define memory_export_type_internal false
43 #define memory_export_type_external true
47 std::map<std::string, std::map<std::string, std::string>>
memory_ports;
60 #endif // SUPPLEMENTARY_INFO_H__
reset_config_t cosa_yosys_reset_config
The reset annotation for CoSA & Yosys (Jasper should be fine...)
Definition: supplementary_info.h:49
bool no_reset_after_starting_state
whether to enforce no reset constraint
Definition: supplementary_info.h:21
std::map< std::string, std::string > reset_state
Definition: supplementary_info.h:30
unsigned reset_cycles
how many cycles should reset signal holds
Definition: supplementary_info.h:23
void FromJson(nlohmann::json &vmap)
Parse annotations from Json.
the class to hold supplementary information
Definition: supplementary_info.h:16
Definition: supplementary_info.h:19
std::map< std::string, int > width_info
the width info
Definition: supplementary_info.h:37
std::map< std::string, std::map< std::string, std::string > > memory_ports
the port to keep : memory_name -> (port and its connector)
Definition: supplementary_info.h:47
VlgTgtSupplementaryInfo()
Constructor - default.
std::map< std::string, memory_export_type > memory_export
the map of memory
Definition: supplementary_info.h:45
std::vector< std::map< std::string, unsigned > > reset_sequence
Definition: supplementary_info.h:27
reset_config_t()
Constructor, set default parameters.
Definition: supplementary_info.h:32
bool memory_export_type
Definition: supplementary_info.h:41