Skip to content

ValentinaSona/SoftwareCICERO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Softcore CICERO

Software simulator for the CICERO domain specific architecture.

Usage

Instantiate a CICERO object, with either the base or the multi-character architecture.

#include "CiceroBase.h"
#include "CiceroMulti.h"

CiceroBase::SoftwareCICERO CICERO = CiceroBase::SoftwareCICERO(true);
CiceroMulti::SoftwareCICERO CICERO = CiceroMulti::SoftwareCICERO(1, true);
  • Verbose setting (true/false): print execution information or match silently.
  • Character window (min 1, multichar only): number of active characters in the sliding window.

The simulator takes in input the program files compiled by CICERO's compiler.

Set the program (can be set multiple times in the object lifetime) and run the desired matches:

CICERO.setProgram("program/to/run");

bool result = CICERO.match("RKMS");
bool result2 = CICERO.match("RACS");

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published