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

Subversion Repositories potato

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /potato/trunk/benchmarks/sha256
    from Rev 63 to Rev 65
    Reverse comparison

Rev 63 → Rev 65

/main.c
73,7 → 73,7
uart_puts(IO_ADDRESS(UART_BASE), "The Potato Processor SHA256 Benchmark\n\r\n\r");
 
// Enable interrupts:
potato_enable_irq(TIMER_IRQ);
potato_enable_irq(IRQ_TIMER);
potato_enable_interrupts();
 
struct sha256_context context;
/uart.c
17,8 → 17,8
void uart_putc(volatile uint32_t * base, char c)
{
// Wait until there is room in the transmit buffer:
while(base[UART_STATUS >> 2] & (1 << 3));
base[UART_TX >> 2] = c & 0x000000ff;
while(base[UART_STATUS >> 2] & (1 << UART_STATUS_TXBUF_FULL));
base[UART_TX >> 2] = c & 0xff;
}
 
void uart_puth(volatile uint32_t * base, uint32_t n)

powered by: WebSVN 2.1.0

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