From: Miodrag Milanovic Date: Wed, 26 Jan 2022 15:39:51 +0000 (+0100) Subject: Fix tabs/spaces X-Git-Tag: yosys-0.14~2^2~28 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=226dc659f08ae4b58b22ff13b484f338160b539a;p=yosys.git Fix tabs/spaces --- diff --git a/kernel/fstdata.h b/kernel/fstdata.h index c9a933836..e7595cbf6 100644 --- a/kernel/fstdata.h +++ b/kernel/fstdata.h @@ -27,51 +27,51 @@ YOSYS_NAMESPACE_BEGIN struct FstVar { - fstHandle id; - std::string name; - bool is_alias; - std::string scope; - int width; + fstHandle id; + std::string name; + bool is_alias; + std::string scope; + int width; }; class FstData { - public: - FstData(std::string filename); - ~FstData(); + public: + FstData(std::string filename); + ~FstData(); - uint64_t getStartTime(); - uint64_t getEndTime(); + uint64_t getStartTime(); + uint64_t getEndTime(); - std::vector& getVars() { return vars; }; + std::vector& getVars() { return vars; }; - void reconstruct_callback(uint64_t pnt_time, fstHandle pnt_facidx, const unsigned char *pnt_value, uint32_t plen); - void reconstruct(std::vector &signal); - void reconstuctAll(); + void reconstruct_callback(uint64_t pnt_time, fstHandle pnt_facidx, const unsigned char *pnt_value, uint32_t plen); + void reconstruct(std::vector &signal); + void reconstuctAll(); - void reconstruct_callback_attimes(uint64_t pnt_time, fstHandle pnt_facidx, const unsigned char *pnt_value, uint32_t plen); - void reconstructAtTimes(std::vector &signal,std::vector time); + void reconstruct_callback_attimes(uint64_t pnt_time, fstHandle pnt_facidx, const unsigned char *pnt_value, uint32_t plen); + void reconstructAtTimes(std::vector &signal,std::vector time); void reconstructAllAtTimes(std::vector time); - std::string valueAt(fstHandle signal, uint64_t time); - std::vector edges(fstHandle signal, bool positive, bool negative); - void recalc_time_offsets(fstHandle signal, std::vector time); + std::string valueAt(fstHandle signal, uint64_t time); + std::vector edges(fstHandle signal, bool positive, bool negative); + void recalc_time_offsets(fstHandle signal, std::vector time); fstHandle getHandle(std::string name); - private: - void extractVarNames(); +private: + void extractVarNames(); - struct fstReaderContext *ctx; - std::vector scopes; - std::vector vars; - std::map handle_to_var; + struct fstReaderContext *ctx; + std::vector scopes; + std::vector vars; + std::map handle_to_var; std::map name_to_handle; - std::map>> handle_to_data; - std::map> time_to_index; - std::map> index_to_time; - std::vector sample_times; - size_t sample_times_ndx; - std::map current; + std::map>> handle_to_data; + std::map> time_to_index; + std::map> index_to_time; + std::vector sample_times; + size_t sample_times_ndx; + std::map current; }; YOSYS_NAMESPACE_END