mirror of
https://github.com/YosysHQ/icestorm.git
synced 2026-08-22 13:57:28 +02:00
Merge pull request #260 from whitequark/patch-1
Make icebram deterministic
This commit is contained in:
+2
-2
@@ -106,7 +106,7 @@ void help(const char *cmd)
|
|||||||
printf(" use the same file as <from_hexfile> later.\n");
|
printf(" use the same file as <from_hexfile> later.\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" -s <seed>\n");
|
printf(" -s <seed>\n");
|
||||||
printf(" seed random generator with fixed value.\n");
|
printf(" seed random generator with the given value.\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" -v\n");
|
printf(" -v\n");
|
||||||
printf(" verbose output\n");
|
printf(" verbose output\n");
|
||||||
@@ -131,7 +131,7 @@ int main(int argc, char **argv)
|
|||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
bool generate = false;
|
bool generate = false;
|
||||||
bool seed = false;
|
bool seed = false;
|
||||||
uint32_t seed_nr = getpid();
|
uint32_t seed_nr = 0;
|
||||||
|
|
||||||
int opt;
|
int opt;
|
||||||
while ((opt = getopt(argc, argv, "vgs:")) != -1)
|
while ((opt = getopt(argc, argv, "vgs:")) != -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user