Comments (1)
Copied from the old private repo:
Currently we hand the CFU the high 20b of the instruction raw, allowing for any interpretation. We only use the "custom0" opcode space. The register contents specified by the fields rs1 and rs2 are always read and passed to the CFU.
funct7 = instr[31:25]
funct3 = instr[14:12]The task group defines R-type instructions in "custom0", with {funct7,funct3} as the 10b function_id.
It is likely some of the R-type instruction function_id opcode space will be reserved for "standard" CFU instructions such as set_state and read_state.The task group also defines an immediate format in "custom1" space, with funct3==3'b000, function_id=instr[23:20], and an 8b immediate in instr[31:24], which is sign-extended and passed as the second operand to the CFU.
Link to picture of encoding:
https://user-images.githubusercontent.com/63030309/110150278-ec1e3800-7d93-11eb-8abe-55df8cc43fc8.png
from cfu-playground.
Related Issues (20)
- `make renode` and `make renode-headless` errors in the The Step-by-Step Guide to Building an ML Accelerator HOT 5
- Is there any way to use CFU Playground with Altera/Intel boards? HOT 31
- "make load" step got stuck HOT 5
- OSError: Failed to find config file
- How to use renode for other LiteX boards? HOT 1
- "make renode" is broken -- due to Verilator 5.006? HOT 3
- get stuck when load software.bin through /dev/ttyUSB1 HOT 8
- Need help with understanding software part of mnv2 example HOT 1
- How to accelerate `make prog` run time HOT 1
- Use of L2 in FPGA setups HOT 1
- Using BRAMs instead of LUTRAMs for big cfu storage HOT 1
- error:Could not locate Gemfile HOT 2
- Issue in synthesis for large design HOT 2
- Synthesizing the model
- `make load` on a Kosagi FOMU board HOT 4
- How to print the "perf counters" when I use the FPU variant? HOT 1
- Failing CI for Lattice Nexus / prjoxide tests
- Failing CI for Symbiflow installation -- out of disk space
- Renode Error HOT 4
- Symbiflow not working for Xilinx HOT 6
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 cfu-playground.