Skip to content

[ImportVerilog] moore.conversion generated instead of moore.int_to_string #9206

@TaoBi22

Description

@TaoBi22

As pointed out by @Scheremo on #9199, the following SV snippet from sv-tests:

// Copyright (C) 2019-2021  The SymbiFlow Authors.
//
// Use of this source code is governed by a ISC-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/ISC
//
// SPDX-License-Identifier: ISC


/*
:name: string_len
:description: string.len()  tests
:tags: 6.16.1
*/
module top();
	string a = "Test";
	int b = a.len();
endmodule

produces a moore.conversion op from an int to string, but there's a dedicated moore.int_to_string op that we would expect to be materialized there instead

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions