Skip to content

Language Conversion Brainstorm

thunder-hammer edited this page Dec 8, 2020 · 4 revisions

General principles

Some goals

Generic Versatile Compatible

Generic: The intermediate representation aims to represent all netlists. New features that existing parsers and composers aren't expected to handle shouldn't be added. Constructs that are specific to a single language can probably be recreated using existing features.

Verilog to EDIF

EDIF Composer:

  • Make sure the can handle multi bit cables and ports
  • Ensure this can handle the verilog namespace

Verilog Parser:

  • Make a new element that is an assign element
  • Apply the new assign element for the port remapping function

EDIF to Verilog

EDIF Parser:

Verilog Composer:

  • Make it deal with the new assign element
  • make it undo the new assign element to a port remapping where applicable (optional, probably won't implement)
  • Do something meaningful with EDIF rename
Clone this wiki locally