Skip to content
chase-cpsPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHASE DSL tool

The tool takes as input a problem specification expressed using the Domain Specific Language (DSL) of CHASE, and encodes it for a GR(1) synthesis tool, either slugs or gr1c. The synthesis tool is then used to check the realizability of the specification and to synthesize a controller.

The DSL allows specifying a set of requirements about the system behavior over an architecture represented by a network of components. The grammar of the language is in grammar/Chase.g4. Some examples are available in the demos repository (DATE18, DATE21, and FDL2024 directories).

Usage

dsl_tool -i input_file.txt [-o output_file] [-b backend] [-V]

Parameters:

  • -i Specifies the .txt input file containing the specification.
  • -o Specifies the output file.
  • -b Specifies the backend to be used. It may either be: slugs (default value) or gr1c.
  • -V Enables verbose mode.

For instance, from the main directory of the demos repository:

$> dsl_tool -i DATE21/specs/template_0_unrealizable.txt -o /tmp/template_0 -b gr1c

$> gr1c -r /tmp/template_0.spc

The tool is also available as a Python module (pychase_DSL). It requires the core-library, the chase-backends, and the ANTLR4 runtime provided in the third_party repository. For the installation, please refer to the CHASE website.

License

This project is released under the 3-Clause BSD License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages