One of the many interesting applications for digital system designers is the processor. Well, with psC it becomes very simple. The above processor is fully functional, it runs at 100MHz and includes:
To illustrate how simple it is, here is the code of the ALU with accumulator.
Instead of re-inventing a new assembly language for the above processor, a C-like language is used. Here is a piece of assembly code to be executed by the processor. The expected values are shown.
The figure shows the result of simulation using event files. Notice how iLoadProg is used to load the binary code for the program and how program execution is controlled using iRunCmd. You can also compare the oACC, oPort and Var (oDR) values with the expected values.
Copyright © 2019-22 ICI Techno - All right reserved.
Powered by GoDaddy Website Builder