On 16 Feb 2005 06:51:44 -0800, "a0-0b" <
[email protected]> wrote:
>Does anyone have any idea how i can generate the UCF required for an
>RPM without manually running the floorplanner? (so i can create the
>RPM from a makefile) the floorplanner does not apparently have a
>"batch mode" despite a reference to a <script_file> in the help - which
>is apparently not supposed to be there!
>I've got a hierarchical design builtup of many sub-blocks implemented
>as RPMs, so for each design change i need to rebuild the RPMs and
>recreate the full chip.
>A nightmare if i have to run the floorplanner interactively!
I'm not sure I see what you need.
If you know what you want to put in the UCF, you can generate it in a
text editor or from scripts. Similarly, you can convert an absolute
placement("LOC=SLICE_X0Y0") UCF file to relative placement ("RLOC=X0Y0)
in a text editor via global find/replace, and it'll work. Relocating
elements should be possible with PERL scripts or similar.
There are bugs in the flow, which should go away in the 7.1 tool release
.... meanwhile, it is good to occupy the lower left corner of the
rectangle surrounding your RPM with one of its components ( i.e. an "L"
or "E" shape is good, "T" or "+" will give unexpected results ), and
place RPMs on even X and Y locations (otherwise the mapper may move them
around).
Having got an RPM ("RLOC") UCF, you can create the RPM .NGC from the
command line with NGCbuild. (An example command line will be found in
the .blc report file created when you built the RPM in the floorplanner)
So it is all possible without the floorplanner ... though the
floorplanner is probably the easiest way to make some kinds of changes.
Or am I misunderstanding what you are trying to do?
- Brian