OpenCores
URL https://opencores.org/ocsvn/mblite/mblite/trunk

Subversion Repositories mblite

[/] [mblite/] [trunk/] [sw/] [stdio/] [testbench.c] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 takar
#include "stdio.h"
2
#include <stdio.h>
3
 
4
int main()
5
{
6
    int c = 0;
7
    fflush(stdin);
8
    while((c=getchar())!='\n')
9
    {
10
        putchar(c);
11
        putchar('\n');
12
    }
13
    xil_printf("Finished\n");
14
    return 0;
15
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.