blob: 27e3532891c2d7d21c5550cffa07497971f391ea [file] [edit]
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "riscv_full_decoder/riscv32_decoder.h"
using ::mpact::sim::generic::Instruction;
using ::mpact::sim::riscv::RiscVState;
using ::mpact::sim::util::MemoryInterface;
namespace mpact {
namespace sim {
namespace codelab {
// Exercise 1 - Step 3.
// Constructor.
// RiscV32Decoder::RiscV32Decoder(RiscVState *state, MemoryInterface *memory) {}
// Destructor.
// RiscV32Decoder::~RiscV32Decoder() {}
// DecodeInstruction method.
// Instruction *RiscV32Decoder::DecodeInstruction(uint64_t address) {}
} // namespace codelab
} // namespace sim
} // namespace mpact