OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [lib/] [include/] [neorv32_cpu_cfu.h] - Diff between revs 72 and 74

Show entire file | Details | Blame | View Log

Rev 72 Rev 74
Line 33... Line 33...
// #################################################################################################
// #################################################################################################
 
 
 
 
/**********************************************************************//**
/**********************************************************************//**
 * @file neorv32_cpu_cfu.h
 * @file neorv32_cpu_cfu.h
 * @author Stephan Nolting
 
 * @brief CPU Core custom functions unit HW driver header file.
 * @brief CPU Core custom functions unit HW driver header file.
 **************************************************************************/
 **************************************************************************/
 
 
#ifndef neorv32_cpu_cfu_h
#ifndef neorv32_cpu_cfu_h
#define neorv32_cpu_cfu_h
#define neorv32_cpu_cfu_h
Line 45... Line 44...
// prototypes
// prototypes
int neorv32_cpu_cfu_available(void);
int neorv32_cpu_cfu_available(void);
 
 
 
 
/**********************************************************************//**
/**********************************************************************//**
 * @name CFU custom instructions (intrinsic)
 * @name CFU custom instructions ("intrinsics")
 **************************************************************************/
 **************************************************************************/
/**@{*/
/**@{*/
/** CFU custom instruction 0 (funct3 = 000) */
/** CFU custom instruction 0 (funct3 = 000) */
#define neorv32_cfu_cmd0(funct7, rs1, rs2) CUSTOM_INSTR_R2_TYPE(funct7, rs2, rs1, 0, RISCV_OPCODE_CUSTOM0)
#define neorv32_cfu_cmd0(funct7, rs1, rs2) CUSTOM_INSTR_R2_TYPE(funct7, rs2, rs1, 0, RISCV_OPCODE_CUSTOM0)
/** CFU custom instruction 1 (funct3 = 001) */
/** CFU custom instruction 1 (funct3 = 001) */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.