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

Subversion Repositories minsoc

[/] [minsoc/] [branches/] [rc-1.0/] [sw/] [eth/] [eth.c] - Diff between revs 109 and 147

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, &eth_interrupt, NULL);
        int_add(ETH_IRQ, &eth_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;

powered by: WebSVN 2.1.0

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