Git Product home page Git Product logo

slxs-processor's Introduction

SLXS processor compiler

-algorithms
    -AES
        aes_slxs.txt                | The AES algorithm implementation on SLXS
        aes_reference.txt           | The reference Aes algorithm.
    -PRESENT
        present.c                   | The Present algorithm implementation on C     
        present.txt                 | The Present algorithm implementation on SLXS
        present_precomputedval.txt  | The Present algorithm implementation on SLXS
    -extras
        -intelhex_converter                      
            intelhex_converter.c    | Intel hex converter implementation on C
        -mem_template
            template_creator.c      | Memory template implementation on C
        -simulator
            main.c                  | SLXS Simulator on C
            Makefile
    -operators
        and.txt                     | The and operation on SLXS
        div_mod.txt                 | The division, modulo operation on SLXS
        lshift.txt                  | The left shift operation on SLXS
        macros.txt                  | Macros examples on SLXS
        mul.txt                     | The mulitply operation on SLXS
        or.txt                      | The or operation on SLXS
        rshift.txt                  | The right shift operation on SLXS
    -tool
        -output_files               | Output files created SLXS tool 
            mem0.hex                | First intel hex format file
            mem1.hex                | Second intel hex format file
            mem2.hex                | Third intel hex format file 
            mem3.hex                | Forth intel hex format file
        slxs.py                     | The SLXS tool 
        slxs_macros.py              | The SLXS tool with macros
    README.MD                       | Readme file with how to use tutorial
    results.txt                     | Results of operators and algorithms

How to run SLXS tool:

Inside the tool folder to run the code:

python slxs.py -i inputfile         | will create the compiled file
python slxs.py -f                   | will create the four hex files
python slxs.py -s                   | will use the simulator and output the file

Recommended use:

python slxs.py -i inputfile -f -s   | The three options together so the [-p] option will be enabled
python slxs.py -i inputfile -f -s -p variables | Shows the requested variables

option [-u] Enables the undefined variables.

Better explanation of the options are inside the manual.

How to run extra material programs:

Simulator Compile code: make Run code: ./slxs.exe mem0.hex mem1.hex mem2.hex mem3.hex 0

Intelhex_converter: Compile code: gcc intelhex_converter.c Run code: ./a.out inputfile

template_creator: Compile code: gcc template_creator.c Run code: ./a.out

slxs-processor's People

Contributors

sikkis avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.