Skip to content

Latest commit

 

History

History

abs-decode

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Overview

This is an early attempt at decoding the .ABS files that CUPL.EXE generates when the -a flag is passed to it.

The historical purpose of an .ABS file was to be ingested by the CSIM.EXE simulator.

In theory, decoding this file could lend itself to:

  • Running simulations in more modern tools, such as:
  • Maybe exporting a netlist???

Implementation Here

Kaitai struct is used to help define the file format of .ABS files.
Kaitai's .ksy files themselves are just a yaml file that defines the various regions within the .ABS and what they contain. It is a human readable description of how to parse this binary file.

You can use the .ksy file in this repository here to look at an .ABS file for a project that you have:

  • In a terminal using the ksv tool command:
    • ksv your-file.abs cupl-abs.ksy
  • In a web browser using the Kaitai Web IDE
  • You can compile the .ksy file here into a decoder for just about any language you work in (Python, C++, PHP, Javascript, Java, etc. etc.)
    • Though it might be premature to do so -- the current understanding of the file is limited and therefore it serves merely as a template for further work.