Mix-in Deterministic RNG at Context instead of BaseCtx
This commit is contained in:
parent
55d5f8f248
commit
b84a446eef
@ -342,7 +342,7 @@ class DeterministicRNG
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class BaseCtx : public IdStringDB, public DeterministicRNG
|
class BaseCtx : public IdStringDB
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
std::mutex mutex;
|
std::mutex mutex;
|
||||||
@ -400,7 +400,7 @@ NEXTPNR_NAMESPACE_END
|
|||||||
|
|
||||||
NEXTPNR_NAMESPACE_BEGIN
|
NEXTPNR_NAMESPACE_BEGIN
|
||||||
|
|
||||||
struct Context : Arch
|
struct Context : Arch, DeterministicRNG
|
||||||
{
|
{
|
||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
bool debug = false;
|
bool debug = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user