Create a register file declaration
Add a register count and width to an empty CX document.
These steps apply to Cloud 2.1.2.10 and Windows 2.1.2.3. On Windows, sign in first. Open a project you can edit and start with an empty CX document.
Create and save the declaration
In Digital Design Studio, open Flow Navigator → ISA Design → ISA Authoring.
Use the CX document selector in the ISA panel to choose an empty, writable CX file. In a project with no CX files, authoring starts with an empty
main.cx.Open the ISA panel, then choose Model → Structure → State / Registers.
Under Register files, select New register file to open the declaration form.
In CX declaration, replace
NEW_REGFILEwithGpr,COUNTwith32, andWIDTHwith32. Keep the enclosing braces.Select Apply to CX to put the declaration in the CX source.
Select Save ISA source to save the CX document.