~ruther/verilog-riscv-semestral-project

ref: adfdc041e204e13c59c32d866fb2ee288b272c57 verilog-riscv-semestral-project/programs/add.c -rwxr-xr-x 116 bytes
adfdc041 — Rutherther feat: add branches.c test 2 years 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);
}