mirror of https://github.com/YosysHQ/nextpnr.git
Add dummy bba main
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
0fe6fe501a
commit
c06bca0713
|
|
@ -0,0 +1,15 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <assert.h>
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
char buffer[512];
|
||||||
|
int i, j;
|
||||||
|
while (1) {
|
||||||
|
i = read(0, buffer, 512);
|
||||||
|
if (i == 0) break;
|
||||||
|
assert(i > 0);
|
||||||
|
j = write(1, buffer, i);
|
||||||
|
assert(i == j);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue