Fix verilator_coverage not sorting output

This commit is contained in:
Wilson Snyder 2018-11-01 21:39:37 -04:00
parent 6cd2bd2972
commit 64f11251b6
1 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ public:
class VlcPoints {
private:
// MEMBERS
typedef vl_unordered_map<string,vluint64_t> NameMap;
typedef std::map<string,vluint64_t> NameMap; // Sorted by name (ordered)
NameMap m_nameMap; //< Name to point-number
std::vector<VlcPoint> m_points; //< List of all points
vluint64_t m_numPoints; //< Total unique points