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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [lib/] [source/] [neorv32_rte.c] - Diff between revs 20 and 22

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 20 Rev 22
Line 287... Line 287...
      neorv32_uart_putc(' ');
      neorv32_uart_putc(' ');
    }
    }
  }
  }
  neorv32_uart_printf("(0x%x)\n", tmp);
  neorv32_uart_printf("(0x%x)\n", tmp);
 
 
 
  // Z* CPU extensions (from custom CSR)
 
  neorv32_uart_printf("Z* extensions:    ");
 
  tmp = neorv32_cpu_csr_read(CSR_MZEXT);
 
  if (tmp & (1<<0)) {
 
    neorv32_uart_printf("Zicsr ");
 
  }
 
  if (tmp & (1<<1)) {
 
    neorv32_uart_printf("Zifencei ");
 
  }
 
  if (tmp & (1<<2)) {
 
    neorv32_uart_printf("cpu_counters ");
 
  }
 
 
 
 
  // Misc
  // Misc
  neorv32_uart_printf("\n-- System --\n");
  neorv32_uart_printf("\n\n-- System --\n");
  neorv32_uart_printf("Clock: %u Hz\n", SYSINFO_CLK);
  neorv32_uart_printf("Clock: %u Hz\n", SYSINFO_CLK);
 
 
 
 
  // Memory configuration
  // Memory configuration
  neorv32_uart_printf("\n-- Processor Memory Configuration --\n");
  neorv32_uart_printf("\n-- Processor Memory Configuration --\n");
Line 410... Line 423...
                     "https://github.com/stnolting/neorv32\n"
                     "https://github.com/stnolting/neorv32\n"
                     "made in Hannover, Germany\n\n");
                     "made in Hannover, Germany\n\n");
}
}
 
 
 
 
 No newline at end of file
 No newline at end of file
 
/**********************************************************************//**
 
 * NEORV32 runtime environment: Print project license
 
 **************************************************************************/
 
void neorv32_rte_print_license(void) {
 
 
 
  neorv32_uart_print(
 
  "\n"
 
  "\n"
 
  "BSD 3-Clause License\n"
 
  "\n"
 
  "Copyright (c) 2020, Stephan Nolting. All rights reserved.\n"
 
  "\n"
 
  "Redistribution and use in source and binary forms, with or without modification, are\n"
 
  "permitted provided that the following conditions are met:\n"
 
  "\n"
 
  "1. Redistributions of source code must retain the above copyright notice, this list of\n"
 
  "   conditions and the following disclaimer.\n"
 
  "\n"
 
  "2. Redistributions in binary form must reproduce the above copyright notice, this list of\n"
 
  "   conditions and the following disclaimer in the documentation and/or other materials\n"
 
  "   provided with the distribution.\n"
 
  "\n"
 
  "3. Neither the name of the copyright holder nor the names of its contributors may be used to\n"
 
  "   endorse or promote products derived from this software without specific prior written\n"
 
  "   permission.\n"
 
  "\n"
 
  "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS\n"
 
  "OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n"
 
  "MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n"
 
  "COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n"
 
  "EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n"
 
  "GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED\n"
 
  "AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n"
 
  "NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n"
 
  "OF THE POSSIBILITY OF SUCH DAMAGE.\n"
 
  "\n"
 
  "The NEORV32 Processor - https://github.com/stnolting/neorv32 (c) Stephan Nolting\n"
 
  "\n"
 
  "\n"
 
  );
 
}
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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