URL
https://opencores.org/ocsvn/openarty/openarty/trunk
[/] [openarty/] [trunk/] [sw/] [host/] [zipload.cpp] - Diff between revs 38 and 49
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 38 |
Rev 49 |
Line 523... |
Line 523... |
m_fpga->writeio(R_ZIPCTRL, CPU_HALT|CPU_CLRCACHE);
|
m_fpga->writeio(R_ZIPCTRL, CPU_HALT|CPU_CLRCACHE);
|
printf("Setting PC to %08x\n", entry);
|
printf("Setting PC to %08x\n", entry);
|
m_fpga->writeio(R_ZIPCTRL, CPU_HALT|CPU_sPC);
|
m_fpga->writeio(R_ZIPCTRL, CPU_HALT|CPU_sPC);
|
m_fpga->writeio(R_ZIPDATA, entry);
|
m_fpga->writeio(R_ZIPDATA, entry);
|
|
|
m_fpga->writeio(R_CPUSCOPE, 25);
|
|
printf("Starting the CPU\n");
|
printf("Starting the CPU\n");
|
m_fpga->writeio(R_ZIPCTRL, CPU_GO|CPU_sPC);
|
m_fpga->writeio(R_ZIPCTRL, CPU_GO|CPU_sPC);
|
} else {
|
} else {
|
printf("The CPU should be fully loaded, you may now\n");
|
printf("The CPU should be fully loaded, you may now\n");
|
printf("start it (from reset/reboot) with:\n");
|
printf("start it (from reset/reboot) with:\n");
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.