Skip to content

kkiningh/cesel-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Instruction Set simulator for CESEL

Author: Kevin Kiningham

How to use

To create a new program:

p = cesel.Program('Program Name')
p.add8(1, 2, 3) # Add register 2 to register 3 and store in register 1
# etc

To simulate a program:

# Create a new Interpreter with the register file initialized to all ones
s = cesel.Interpreter(program, regfile=1)

# Step the simulation
s.step()

# See the value of the first register
print s.regfile[0]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages