lib: xc7series: config packet subclass for NOPs

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
This commit is contained in:
Rick Altherr 2018-02-01 12:21:22 -08:00
parent ab1e60c037
commit 80004a3737
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#ifndef PRJXRAY_LIB_XILINX_XC7SERIES_NOP_PACKET_H
#define PRJXRAY_LIB_XILINX_XC7SERIES_NOP_PACKET_H
#include <prjxray/xilinx/xc7series/configuration_packet.h>
#include <prjxray/xilinx/xc7series/configuration_register.h>
namespace prjxray {
namespace xilinx {
namespace xc7series {
class NopPacket : public ConfigurationPacket {
public:
NopPacket()
: ConfigurationPacket(1,
Opcode::NOP,
ConfigurationRegister::CRC,
{}) {}
};
} // namespace xc7series
} // namespace xilinx
} // namespace prjxray
#endif // PRJXRAY_LIB_XILINX_XC7SERIES_NOP_PACKET_H