Introduction
Computer architecture research and learning, the theory is on the one hand, there are many excellent teaching materials, such as j&p two classics, there are a lot of domestic books on the architecture for reference.
In addition, the theory of practice is also indispensable, but the practical CPU on the specific implementation of the source code analysis of the few books. This may be related to the limited number of research and development personnel involved in this field. The lack of participation has exacerbated the sparse resources and created a bad cycle.
This reminds me of the Linux kernel research. Logically speaking, Linux kernel than a simple RISC CPU more complex, research Linux than the study of CPU more difficult, why countless people understand Linux? I think, this with a lot of Linux Daniel wrote a lot of good books have a lot of relationship, we can step on the shoulders of giants, continue to move forward, forming a virtuous circle.
Recently to do a project, need to have a deep understanding of the implementation of the CPU, looking for a long time, did not find a more ideal reference. Ask for yourself, hehe, so you want to analyze an open source of the CPU code.
Hope to put the theory into reality. A person's power is weak, here also hope that interested colleagues to participate in.
1.1 Intuitive feeling
Open source CPU, I chose the opencores development of the or1200.
SOURCE I have uploaded:
http://download.csdn.net/detail/rill_zhen/4761982
It is important to have a holistic and intuitive feeling before you start the journey. To do this, I used Modelsim to simulate the top module: