3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-22 01:49:45 +00:00

Add comments to make sure it is clear scale is an exponent of 10

This commit is contained in:
Scott Ashcroft 2026-04-23 17:18:24 +01:00 committed by stashcroft
parent e69341cd5f
commit 23a05fcf35
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ static const std::map<std::string, int> g_units =
struct scaled_time {
uint64_t time;
int scale;
int scale; // exponent of 10, e.g. -6 = us, -9 = ns
bool end;
};