PyHCL/pyhcl/ir/low_node.py

17 lines
301 B
Python

# Copyright (c) 2019 scutdig
# Licensed under the MIT license.
from abc import ABC, abstractmethod
class FirrtlNode(ABC):
"""Intermediate Representation"""
@abstractmethod
def serialize(self) -> str:
...
@abstractmethod
def verilog_serialize(self) -> str:
...