~ruther/verilog-riscv-semestral-project

ref: e7b5d989532b0690f2b0ef3a1b7a0072903c0d51 verilog-riscv-semestral-project/programs/add.c -rwxr-xr-x 116 bytes
e7b5d989 — Rutherther test: add cpu testbenches for c programs 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
int add(int a, int b)
{
    return a + b;
}

void main()
{
    int a = 20;
    int b = 30;
    int c = add(a, b);
}
Do not follow this link