ICI Techno

ICI TechnoICI TechnoICI Techno

ICI Techno

ICI TechnoICI TechnoICI Techno
  • Home
  • Why Novakod
  • Products
    • Download
    • Licenses
    • License Self-Help
    • Support
  • psC Language
    • Features
    • Execution
    • Sequential Execution
    • Code Generation
    • Memory
    • CPU Example
  • Birth of psC
    • New Tools
    • psC Compiler
  • More
    • Home
    • Why Novakod
    • Products
      • Download
      • Licenses
      • License Self-Help
      • Support
    • psC Language
      • Features
      • Execution
      • Sequential Execution
      • Code Generation
      • Memory
      • CPU Example
    • Birth of psC
      • New Tools
      • psC Compiler
  • Sign In

  • My Account
  • Signed in as:

  • filler@godaddy.com


  • My Account
  • Sign out


Signed in as:

filler@godaddy.com

  • Home
  • Why Novakod
  • Products
    • Download
    • Licenses
    • License Self-Help
    • Support
  • psC Language
    • Features
    • Execution
    • Sequential Execution
    • Code Generation
    • Memory
    • CPU Example
  • Birth of psC
    • New Tools
    • psC Compiler

Account


  • My Account
  • Sign out


  • Sign In
  • My Account

CPU Example

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:

  • close to 100 instructions
  • ALU with accumulator
  • program and data memory
  • program counter
  • input and output ports
  • breakpoints

To illustrate how simple it is, here is the code of the ALU with accumulator.

Program example

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.

Program execution

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.

  • Home
  • Why Novakod
  • Download
  • Licenses
  • Support
  • Privacy polilcy

Powered by GoDaddy Website Builder