本帖最后由 AutoESL 于 2011-10-15 22:44 编辑
Design Flow
Recommended FlowIt's recommended to add EDK project file ”.xmp” into ISE project directly.
- ISE → Add Source → xmp file
- Insert wrapper by
- Insert <EDK Proj>/hdl/system_stub.v. This file is generated by the initial phase of “Generate Netlists” in EDK.
- ISE → Select the xmp file → Generate Instantiation Templates
- Assign the software project to initialize BRAM in EDK project
- For XPS build-in projects, select “Mark to initialize BRAM”
- For SDK projects, add a new elf only project which directs to SDK generated ELF file.
Alternative Flow- Open XMP file, set InsertNoPad:1 and regenerate EDK subsystem netlist End of added content
- Add End of added content Start of deleted contentNote: End of deleted content Start of added content/hdl/system_stub.v to ISE project. EDK subsystem is a blackbox. End of added content
- Synthesize the design with Synplify and get an EDF netlist. End of added content
- Add EDF, ucf, BMM, ELF/MEM files to ISE project. End of added content
- Set translate option -sd = End of added content Start of added content/implementation End of added content
- Run whole implementation process. Bitgen will generate the bit file which includes the content of ELF/MEM.
Notes
Synthesize with XST- From 12.2, ISE won't copy EDK netlists to ISE project directory. It's necessary to set
XST "Macro Search Path" (-sd) = <EDK Project>/implementationXST read cores = trueNgdBuild "Macro Search Path" (-sd) = <EDK Project>/implementation
Synthesize with SynplifyNgdBuild "Macro Search Path" (-sd) = <EDK Project>/implementation- When EDK IP includes I/O Buffers, refer to AR4508 for how to disable Synplify inserting I/O buffers for selected I/O.
BMM File Modification- ISE and XST based system will generate BMM file accordingly
- Alternative Flow needs to update BMM file manually
- Copy BMM file in EDK directory to ISE project directory and add it to ISE project
- Add top level hierarchy to the BRAM name in the BMM file
- Full BRAM name can be found in synthesis results, which can be opened by ISE or PlanAhead
|