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

Subversion Repositories myblaze

[/] [myblaze/] [trunk/] [rtl/] [stdio.h] - Rev 4

Go to most recent revision | Compare with Previous | Blame | View Log

/**
   Standard I/O adresses
*/
 
void outbyte(char c);
char inbyte();
 
void outbyte(char c)
{
    volatile char *COUT = (char *) 0xFFFFFFC0;
    *COUT = c;
}
 
char inbyte()
{
    volatile char *CIN = (char *) 0xFFFFFFC0;
    return (char) *CIN;
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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