mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-03 08:05:40 +00:00
39 lines
724 B
C++
39 lines
724 B
C++
//
|
|
// Target.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 09/03/2018.
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef Analyser_Static_Acorn_Target_h
|
|
#define Analyser_Static_Acorn_Target_h
|
|
|
|
#include "../../../Reflection/Struct.h"
|
|
#include "../StaticAnalyser.hpp"
|
|
#include <string>
|
|
|
|
namespace Analyser {
|
|
namespace Static {
|
|
namespace Acorn {
|
|
|
|
struct Target: public ::Analyser::Static::Target, public Reflection::StructImpl<Target> {
|
|
bool has_adfs = false;
|
|
bool has_dfs = false;
|
|
bool should_shift_restart = false;
|
|
std::string loading_command;
|
|
|
|
Target() {
|
|
if(needs_declare()) {
|
|
DeclareField(has_adfs);
|
|
DeclareField(has_dfs);
|
|
}
|
|
}
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif /* Analyser_Static_Acorn_Target_h */
|