Generating PR Bitstreams

From RCSWiki

Jump to: navigation, search

Generating download.bit

PlanAhead is used to generate the static and partial bitsreams. You can consider the static bistream the same as the system.bit of a normal project. The static bistream contains one of the reconfigurable modules loaded into the PR region.

To generate the download.bit from within the hardware base system directory:

  • Set the Following environment variables:
    • MHSFILE=system.mhs
    • SEARCHPATHOPT=
    • SYSTEM_BIT=../planahead/planahead.runs/floorplan_1/merge/static_full.bit
    • DOWNLOAD_BIT=implementation/download.bit
    • BOOTLOOP_DIR = bootloops
    • PPC405_0_BOOTLOOP = $(BOOTLOOP_DIR)/ppc405_0.elf
    • BRAMINIT_ELF_FILE_ARGS = -pe ppc405_0 $(PPC405_0_BOOTLOOP)
  • bitinit $(MHSFILE) $(SEARCHPATHOPT) $(BRAMINIT_ELF_FILE_ARGS) -bt $(SYSTEM_BIT) -o $(DOWNLOAD_BIT)

I tend to put this into a custom makefile. As you can see this will generate the download.bit in the implementation directory.


Next, Follow the Linux Configurations for Partial Reconfiguration on the ML-410 Tutorial

Personal tools