lumascet / LVA_LDIS_2024_Team6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PicoRV32 Approximate Multiplier Extension

How to use this project

in picorv32_modified_core/approx/approx_mul.v the top module of the pcpi module can be found

picorv32_modified_core/approx/synt.ys synthesizes the top module to approx_mul_opt.v, this single .v-file is used in all consequent steps

to change emulated program edit: picorv32_modified_core/firmware/approxmul.c

to change flashed programm edit: picorv32_modified_core/picosov/firmware.c

TODO:

change path to correct multiplier

Done:

somehow write C file with direct assembly instruction : asm (".insn r 0xB, 0x0, 0x1, %0, %1, %2": "=r" (result) : "r" (a), "r" (b));

About


Languages

Language:Verilog 82.8%Language:Makefile 10.8%Language:Assembly 6.4%