blob: a16b5413f1d0a5c25ed46b36abe0d42abb89103c [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
use structopt::StructOpt;
use opentitanlib::app::command::CommandDispatch;
#[derive(Debug, StructOpt, CommandDispatch)]
/// Commands for interacting with an FPGA instance.
pub enum FpgaCommand {
LoadBitstream(crate::command::load_bitstream::LoadBitstream),
ClearBitstream(crate::command::clear_bitstream::ClearBitstream),
ResetSam3x(crate::command::reset_sam3x::ResetSam3x),
SetPll(crate::command::set_pll::SetPll),
UpdateUsrAccess(crate::command::update_usr_access::UpdateUsrAccess),
}