Sign in
foss-eda-tools
/
third_party
/
shuttle
/
sky130
/
mpw-001
/
slot-003
/
2ca0eb0565b960278b3c1e7a112f4a570aa036e1
/
.
/
verilog
/
rtl
/
softshell
/
third_party
/
picorv32
/
scripts
/
romload
/
firmware.c
blob: 4bc9ed8e0de0ccb5852ea445a3c922cb9a05bc55 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
int
x1
=
1000
;
int
x2
=
2000
;
void
main
()
{
int
z
;
x1
=
50
;
x2
=
50
;
printf
(
"hello\n"
);
z
=
(
x1
+
x2
);
if
(
z
==
100
)
printf
(
"TEST PASSED\n"
);
else
printf
(
"TEST FAILED, z=%d\n"
,
z
);
exit
(
0
);
}