Comments (2)
FPU top interface
Signal | Direction | Size | Description |
---|---|---|---|
clk_i | Input | 1 | System clock |
rst_ni | Input | 1 | Reset |
operand_1 | Input | 32 | Operand 1 for FPU operation |
operand_2 | Input | 32 | Operand 2 for FPU operation |
operand_3 | Input | 32 | Operand 3 for FPU operation |
in_valid | Input | 1 | Indicate inputs are valid for operation |
op_i | input | 4 | FPU operation command |
out_valid_o | output | 1 | Indicate FPU operation complete and result is ready |
result_o | output | 32 | FPU operation result |
status_o | output | 4 | Status flags as per RiscV F extension FCSR |
FPU operation commands:
typedef enum logic [3:0] {
FMADD, //(rs1 × rs2) + rs3
FNMSUB, //-(rs1 × rs2) + rs3
ADD, //rs1 + rs2
MUL, //rs1 x rs2
DIV, //rs1 / rs2
SQRT, //sqrt(rs1)
SGNJ, //Floating-point to floating-point sign-injection
MINMAX, //
CMP, // (rs1 = rs2, rs1 < rs2, rs1 ≤ rs2)
CLASSIFY, // indicates the class of the floating-point numbe
F2I, //Float to integer
I2F, //Integer to float
} operation_e;
The files ycr_pipe_idu.sv, ycr_pipe_lsu.sv, ycr_pipe_exu.sv will need modifications to decode "F" extension instructions, perform load/store from RAM to FP register file and then use FPU to perform the operation instead of the ALU.
@dineshannayya please let me know your thoughts.
from riscduino.
We will follow up in skype messages
from riscduino.
Related Issues (20)
- It feels like there is something wrong with the code(openlane/pinmux/config.tcl.tcl) HOT 1
- When I try to open the def\lef file with <openroad>, I have problems HOT 6
- question about clock skew adjust HOT 3
- About the change of FP_SIZING from ABSOLUTE to RELATIVE HOT 2
- PDN probelm HOT 3
- Did you download the latest version of your riscduino, which is the latest openroad tool? Also I'm having some problems with make HOT 7
- access latency about the sky130_sram? HOT 2
- Problems with ‘make user_project_wrapper' HOT 1
- How can I program the RISCDUINO SOC? HOT 6
- RISCV compilation in macOS Apple Silicon
- Document ADC Shortcomings HOT 1
- Discrepencies in the readme. HOT 3
- issue with openlane root of riscvduino
- linting issue HOT 1
- Where to buy a riscduino board? HOT 2
- Discrepencies in the readme.
- Error while running riscv_regress test HOT 1
- Issue with the installation of docker HOT 1
- Iverilog Version HOT 8
- ctech_clk_buf in aes_top
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscduino.