Param(IntegerType(default=8), 'WIDTH')
Param(IntegerType(default=4), 'DEPTH')
Param(UintType(8, default=ConstExpr(UintType(8, default=255))), 'INIT_VAL')
Param(BitType(default=ConstExpr(BitType(default=1))), 'ENABLE_FEATURE')
Port(BitType(), 'clk', direction=IN)
Port(BitType(), 'rst_n', direction=IN)
Port(UintType(Param(IntegerType(default=8), 'WIDTH')), 'data_in', direction=IN)
Port(UintType(Param(IntegerType(default=8), 'WIDTH')), 'data_out', direction=OUT)
Port(UintType(Param(IntegerType(default=4), 'DEPTH')), 'bidir_bus', direction=INOUT)
