printf(" LiteX git sha1: "LITEX_GIT_SHA1"\n");
printf("\n");
printf("--=============== \e[1mSoC\e[0m ==================--\n");
- printf("\e[1mCPU\e[0m: %s @ %dMHz\n",
+ printf("\e[1mCPU\e[0m:\t\t%s @ %dMHz\n",
CONFIG_CPU_HUMAN_NAME,
CONFIG_CLOCK_FREQUENCY/1000000);
- printf("\e[1mBUS\e[0m: %s %d-bit @ %dGiB\n",
+ printf("\e[1mBUS\e[0m:\t\t%s %d-bit @ %dGiB\n",
CONFIG_BUS_STANDARD,
CONFIG_BUS_DATA_WIDTH,
(1 << (CONFIG_BUS_ADDRESS_WIDTH - 30)));
- printf("\e[1mCSR\e[0m: %d-bit data\n",
+ printf("\e[1mCSR\e[0m:\t\t%d-bit data\n",
CONFIG_CSR_DATA_WIDTH);
- printf("\e[1mROM\e[0m: %dKiB\n", ROM_SIZE/1024);
- printf("\e[1mSRAM\e[0m: %dKiB\n", SRAM_SIZE/1024);
+ printf("\e[1mROM\e[0m:\t\t%dKiB\n", ROM_SIZE/1024);
+ printf("\e[1mSRAM\e[0m:\t\t%dKiB\n", SRAM_SIZE/1024);
#ifdef CONFIG_L2_SIZE
- printf("\e[1mL2\e[0m: %dKiB\n", CONFIG_L2_SIZE/1024);
+ printf("\e[1mL2\e[0m:\t\t%dKiB\n", CONFIG_L2_SIZE/1024);
#endif
#ifdef MAIN_RAM_SIZE
- printf("\e[1mMAIN-RAM\e[0m: %dKiB\n", MAIN_RAM_SIZE/1024);
+#ifdef CSR_SDRAM_BASE
+ printf("\e[1mSDRAM\e[0m:\t\t%dKiB %d-bit @ %dMHz\n",
+ MAIN_RAM_SIZE/1024,
+ sdrdatabits(),
+ sdrfreq()/1000000);
+#else
+ printf("\e[1mMAIN-RAM\e[0m:\t%dKiB \n", MAIN_RAM_SIZE/1024);
+#endif
#endif
printf("\n");