Khushi Posted January 25, 2021 Report Share Posted January 25, 2021 Hello All In IPXact, how we can specify the field access path ? For example, if their is a field 'fld' in a register 'reg" which access path 'system.comp.reg.fld' then, can we store the full path at field itself or do we need to store a part at addressBlock, another part at register and remianing at field level and in the later case need to concatnate the paths to get full hdl path of the field. Which one is recommended Can we store the full path at field itself as below <ipxact:field> <ipxact:name>fld</ipxact:name> <ipxact:accessHandles> <ipxact:accessHandle> <ipxact:slices> <ipxact:slice> <ipxact:pathSegments> <ipxact:pathSegment> <ipxact:pathSegmentName>system.comp.reg.fld</ipxact:pathSegmentName> </ipxact:pathSegment> </ipxact:pathSegments> </ipxact:slice> </ipxact:slices> </ipxact:accessHandle> </ipxact:accessHandles> </ipxact:field> or we need to separate the hdl path on "." and use the accessHandle element at field, register and address block level to specify the corresponding sub path, like address block => system.comp register => reg field => fld Which is the correct and recommended way to capture field hdl path ? Thanks Khushi Quote Link to comment Share on other sites More sharing options...
kock Posted January 26, 2021 Report Share Posted January 26, 2021 Hello Kushi, The intended and recommended way is to avoid the path separator "." inside a pathSegment Name. For this reason, the element is called named pathSegment since it describes a segment of the path. However, it is not illegal to use the path separator inside a pathSegment and sometime this cannot be avoided. Best regards, Erwin Quote Link to comment Share on other sites More sharing options...
Khushi Posted January 26, 2021 Author Report Share Posted January 26, 2021 Thank you Erwin. Does it mean, instead of following <ipxact:field><ipxact:pathSegments> <ipxact:pathSegment> <ipxact:pathSegmentName>system.comp.reg.fld</ipxact:pathSegmentName> </ipxact:pathSegment> </ipxact:pathSegments> </ipxact:field> I should put it like the following(to avoid '.' in pathSegment) <ipxact:field><ipxact:pathSegments> <ipxact:pathSegment> <ipxact:pathSegmentName>system</ipxact:pathSegmentName> </ipxact:pathSegment> <ipxact:pathSegment> <ipxact:pathSegmentName>comp</ipxact:pathSegmentName> </ipxact:pathSegment> <ipxact:pathSegment> <ipxact:pathSegmentName>reg</ipxact:pathSegmentName> </ipxact:pathSegment> <ipxact:pathSegment> <ipxact:pathSegmentName>fld</ipxact:pathSegmentName> </ipxact:pathSegment> </ipxact:pathSegments> </ipxact:field> My another question is do we just put the hdl path completely inside the field elements or split it and specify individually the relevant part into addressblock, register and field and the tool will get all the part and concatenate them to create full hdl path ? Can you also provide some example ipxact or pointers ? Thanks Khushi Quote Link to comment Share on other sites More sharing options...
kock Posted January 28, 2021 Report Share Posted January 28, 2021 Hi Kushi, No you should not describe it like that to avoid ".". You can avoid the separator by putting pathSegments in different elements. So in a field you put "fld", in a register you put "reg". The two segments can be put together then as reg.fld by a generator. I do not have an example at end. Best regards, Erwin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.