diff options
author | whitequark <whitequark@whitequark.org> | 2020-06-26 10:38:41 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-06-26 10:38:41 +0000 |
commit | 3205180fd93d6abd1e63f5d8b794881896f57493 (patch) | |
tree | 2a48051ded3b61304c4ea0fca99b687f30585253 | |
parent | f138ade065c4893e2dd0460ba4abbe13922aa47b (diff) | |
download | icestorm-3205180fd93d6abd1e63f5d8b794881896f57493.tar.gz icestorm-3205180fd93d6abd1e63f5d8b794881896f57493.tar.bz2 icestorm-3205180fd93d6abd1e63f5d8b794881896f57493.zip |
Revert "Make icebram deterministic"
This reverts commit 2679c91b8a158aa4aca49dd726955e8c63cf7bef.
-rw-r--r-- | icebram/icebram.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/icebram/icebram.cc b/icebram/icebram.cc index 97e6a2c..f585fcf 100644 --- a/icebram/icebram.cc +++ b/icebram/icebram.cc @@ -106,7 +106,7 @@ void help(const char *cmd) printf(" use the same file as <from_hexfile> later.\n"); printf("\n"); printf(" -s <seed>\n"); - printf(" seed random generator with the given value.\n"); + printf(" seed random generator with fixed value.\n"); printf("\n"); printf(" -v\n"); printf(" verbose output\n"); @@ -131,7 +131,7 @@ int main(int argc, char **argv) bool verbose = false; bool generate = false; bool seed = false; - uint32_t seed_nr = 0; + uint32_t seed_nr = getpid(); int opt; while ((opt = getopt(argc, argv, "vgs:")) != -1) |