-
Notifications
You must be signed in to change notification settings - Fork 23
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:
- Make sure this create mutli bit cables and ports
- use the complex name instead of the rename by default
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