mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
22 lines
269 B
C++
22 lines
269 B
C++
#ifndef _Gen3_gen_h_
|
|
#define _Gen3_gen_h_
|
|
|
|
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#define COUNT 256
|
|
|
|
struct Circuit {
|
|
struct Nand {
|
|
word i1, i2;
|
|
};
|
|
|
|
Nand nand[COUNT];
|
|
|
|
void Evaluate(byte *value) const;
|
|
void SetRandom();
|
|
};
|
|
|
|
|
|
#endif
|