mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-05 13:56:04 +00:00
Make NEW_ID create IDs whose string allocation is delayed
This commit is contained in:
parent
442a969812
commit
2075b3416f
7 changed files with 165 additions and 70 deletions
|
|
@ -367,6 +367,12 @@ namespace RTLIL {
|
|||
EXPECT_EQ(own.str(), "\\figblortle");
|
||||
}
|
||||
|
||||
TEST_F(KernelRtlilTest, LookupAutoidxId) {
|
||||
IdString id = NEW_ID;
|
||||
IdString id2 = IdString(id.str());
|
||||
EXPECT_EQ(id, id2);
|
||||
}
|
||||
|
||||
class WireRtlVsHdlIndexConversionTest :
|
||||
public KernelRtlilTest,
|
||||
public testing::WithParamInterface<std::tuple<bool, int, int>>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue