~ruther/verilog-riscv-semestral-project

ref: 057ee98bbecfb8a284b67bef50b04b70ae18e220 verilog-riscv-semestral-project/programs/add.c -rwxr-xr-x 116 bytes
057ee98b — Rutherther chore: add generated bin, obj gitignore files 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);
}