URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 109 |
Rev 147 |
Line 36... |
Line 36... |
int_add(UART_IRQ, &uart_interrupt, NULL);
|
int_add(UART_IRQ, &uart_interrupt, NULL);
|
int_add(ETH_IRQ, ð_interrupt, NULL);
|
int_add(ETH_IRQ, ð_interrupt, NULL);
|
|
|
/* We can't use printf because in this simple example
|
/* We can't use printf because in this simple example
|
we don't link C library. */
|
we don't link C library. */
|
uart_print_str("Hello World.\n\r");
|
uart_print_str("Hello World.\n");
|
|
|
eth_tx_data[0] = 0xFF;
|
eth_tx_data[0] = 0xFF;
|
eth_tx_data[1] = 0x2B;
|
eth_tx_data[1] = 0x2B;
|
eth_tx_data[2] = 0x40;
|
eth_tx_data[2] = 0x40;
|
eth_tx_data[3] = 0x50;
|
eth_tx_data[3] = 0x50;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.