]> git.sur5r.net Git - freertos/commitdiff
Start MicroBlaze project for the Spartan-6.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 30 May 2011 15:56:32 +0000 (15:56 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 30 May 2011 15:56:32 +0000 (15:56 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1427 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

40 files changed:
Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.bsb [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.make [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.mhs [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.xmp [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo_incl.make [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgBLKD_Dimensions.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_Colors.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_Globals.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_StyleDefs.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_BusLaneSpaces.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Busses.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Functions.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Globals.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_IOPorts.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Main.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Peripherals.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Processors.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgDiag_BifShapes.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/bitinit.opt [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_globals.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_addr.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_busif.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_groups.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_port.xsl [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/gensav_cmd.xml [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/ise/RTOSDemo.xreport [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/ise/xmsgprops.lst [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/platgen.opt [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/simgen.opt [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/system.xml [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/xplorer.opt [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/__xps/xpsxflow.opt [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/data/RTOSDemo.ucf [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/etc/RTOSDemo.filters [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/etc/RTOSDemo.gui [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/etc/bitgen.ut [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/etc/download.cmd [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/etc/fast_runtime.opt [new file with mode: 0644]
Demo/MicroBlaze_Spartan-6_SP605/implementation/RTOSDemo_summary.html [new file with mode: 0644]

diff --git a/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.bsb b/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.bsb
new file mode 100644 (file)
index 0000000..3e61fc5
--- /dev/null
@@ -0,0 +1 @@
+\1d\84æÄ®Òôtt¦Êè¬ÊäæÒÞÜ@Dbb\b\`bDv*\84æÄ®Òôtt¦Êè\84ÞÂäÈ@DðÒØÒÜð\ÆÞÚD@Dæàl`jD@D\86Dv.\84æÄ®ÒôttªàÈÂèÊ\84ÞÂäÈ@D\82¤\86\90\92¨\8a\86¨ª¤\8aD@DæàÂäèÂÜlDv.\84æÄ®ÒôttªàÈÂèÊ\84ÞÂäÈ@D\88\8a¬\92\86\8a¾¦\92´\8aD@DðÆlæØðhjèDv'\84æÄ®ÒôttªàÈÂèÊ\84ÞÂäÈ@D \82\86\96\82\8e\8aD@DÌÎÎhphDv'\84æÄ®ÒôttªàÈÂèÊ\84ÞÂäÈ@D¤¦¨¾ \9e\98\82¤\92¨²D@DbDv&\84æÄ®ÒôttªàÈÂèÊ\84ÞÂäÈ@D¦ \8a\8a\88\8e¤\82\88\8aD@DZfDv%\84æÄ®Òôtt¦Êè¦òæèÊÚ@DÚľÂðÒ¾bêàD@Db\`Dv;\84æÄ®ÒôttªàÈÂèʦòæèÊÚ@D\86ØÖ¾\8cäÊâD@Dd````````D@DÚÒÆäÞÄØÂôʾ`Dv@\84æÄ®Òôtt\82ÈÈ äÞÆÊææÞä@DÚÒÆäÞÄØÂôʾ`D@DÚÒÆäÞÄØÂôÊD@DÚÒÆäÞÄØÂôʾ`DvX\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÚÒÆäÞÄØÂôʾ`D@DÈÂè¾ÆÂÆÐʾÚÊÚ¾ØÒæèD@DÂðÒ¾ÄäÂÚ¾Æèäؾ`v\9a\86\84¾\88\88¤fDv@\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÚÒÆäÞÄØÂôʾ`D@DÈÂè¾ÆÂÆÐʾæÒôÊD@DpbrdDvY\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÚÒÆäÞÄØÂôʾ`D@DÒÜæèä¾ÆÂÆÐʾÚÊÚ¾ØÒæèD@DÂðÒ¾ÄäÂÚ¾Æèäؾ`v\9a\86\84¾\88\88¤fDvA\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÚÒÆäÞÄØÂôʾ`D@DÒÜæèä¾ÆÂÆÐʾæÒôÊD@DpbrdDvH\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÚÒÆäÞÄØÂôʾ`D@DÚľÆØÞÆÖ¾ÌäÊâêÊÜÆòD@Db````````Dv>\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÚÒÆäÞÄØÂôʾ`D@DÚľÌàê¾ÊÜÂÄØÊD@D¨¤ª\8aDvE\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÚÒÆäÞÄØÂôʾ`D@DÚľØÞÆÂؾÚÊÚÞäò¾æÒôÊD@DpbrdDvH\84æÄ®Òôtt\82ÈÈ ÊäÒàÐÊäÂØ@D\8aèÐÊäÜÊè¾\98ÒèÊD@DÂðÒ¾ÊèÐÊäÜÊèØÒèÊD@DÚÒÆäÞÄØÂôʾ`DvB\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@D\8aèÐÊäÜÊè¾\98ÒèÊD@DêæʾÒÜèÊääêàè¾ÒÈD@D¨¤ª\8aDv=\84æÄ®Òôtt\82ÈÈ ÊäÒàÐÊäÂØ@D\98\8a\88æ¾h\84ÒèæD@DÂðÒ¾ÎàÒÞD@DÚÒÆäÞÄØÂôʾ`Dv@\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@D\98\8a\88æ¾h\84ÒèæD@DêæʾÒÜèÊääêàè¾ÒÈD@D\8c\82\98¦\8aDv>\84æÄ®Òôtt\82ÈÈ ÊäÒàÐÊäÂØ@D\9a\86\84¾\88\88¤fD@DÂðÒ¾æl¾ÈÈäðD@DÚÒÆäÞÄØÂôʾ`DvE\84æÄ®Òôtt\82ÈÈ ÊäÒàÐÊäÂØ@D êæо\84êèèÞÜæ¾h\84ÒèæD@DÂðÒ¾ÎàÒÞD@DÚÒÆäÞÄØÂôʾ`DvG\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@D êæо\84êèèÞÜæ¾h\84ÒèæD@DêæʾÒÜèÊääêàè¾ÒÈD@D¨¤ª\8aDvC\84æÄ®Òôtt\82ÈÈ ÊäÒàÐÊäÂØ@D¤¦dfd¾ªÂäè¾bD@DÂðÒ¾êÂäèØÒèÊD@DÚÒÆäÞÄØÂôʾ`DvC\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@D¤¦dfd¾ªÂäè¾bD@DêÂäè¾`¾ÄÂêȾäÂèÊD@Dbbjd``Dv>\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@D¤¦dfd¾ªÂäè¾bD@DêÂäè¾`¾ÈÂèÂîÒÈèÐD@DpDv>\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@D¤¦dfd¾ªÂäè¾bD@DêÂäè¾`¾àÂäÒèòD@DÜÞÜÊDvA\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@D¤¦dfd¾ªÂäè¾bD@DêæʾÒÜèÊääêàè¾ÒÈD@D¨¤ª\8aDvG\84æÄ®Òôtt\82ÈÈ ÊäÒàÐÊäÂØ@DÂðÒ¾ÄäÂÚ¾Æèäؾ`D@DÂðÒ¾ÄäÂÚ¾ÆèäØD@DÚÒÆäÞÄØÂôʾ`Dv@\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÂðÒ¾ÄäÂÚ¾Æèäؾ`D@DÚÊÚÞäò¾æÒôÊD@DljjflDv?\84æÄ®Òôtt\82ÈÈ ÊäÒàÐÊäÂØ@DÂðÒ¾èÒÚÊä¾`D@DÂðÒ¾èÒÚÊäD@DÚÒÆäÞÄØÂôʾ`Dv@\84æÄ®ÒôttªàÈÂèÊ\86ÞÚàÞÜÊÜè@DÂðÒ¾èÒÚÊä¾`D@DêæʾÒÜèÊääêàè¾ÒÈD@D¨¤ª\8aDv
\ No newline at end of file
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.make b/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.make
new file mode 100644 (file)
index 0000000..5d96a9b
--- /dev/null
@@ -0,0 +1,216 @@
+#################################################################\r
+# Makefile generated by Xilinx Platform Studio \r
+# Project:C:\E\Dev\FreeRTOS\WorkingCopy\Demo\MicroBlaze_Spartan-6_SP605\RTOSDemo.xmp\r
+#\r
+# WARNING : This file will be re-generated every time a command\r
+# to run a make target is invoked. So, any changes made to this  \r
+# file manually, will be lost when make is invoked next. \r
+#################################################################\r
+\r
+# Name of the Microprocessor system\r
+# The hardware specification of the system is in file :\r
+# C:\E\Dev\FreeRTOS\WorkingCopy\Demo\MicroBlaze_Spartan-6_SP605\RTOSDemo.mhs\r
+\r
+include RTOSDemo_incl.make\r
+\r
+#################################################################\r
+# PHONY TARGETS\r
+#################################################################\r
+.PHONY: dummy\r
+.PHONY: netlistclean\r
+.PHONY: bitsclean\r
+.PHONY: simclean\r
+.PHONY: exporttosdk\r
+\r
+#################################################################\r
+# EXTERNAL TARGETS\r
+#################################################################\r
+all:\r
+       @echo "Makefile to build a Microprocessor system :"\r
+       @echo "Run make with any of the following targets"\r
+       @echo " "\r
+       @echo "  netlist  : Generates the netlist for the given MHS "\r
+       @echo "  bits     : Runs Implementation tools to generate the bitstream"\r
+       @echo "  exporttosdk: Export files to SDK"\r
+       @echo " "\r
+       @echo "  init_bram: Initializes bitstream with BRAM data"\r
+       @echo "  ace      : Generate ace file from bitstream and elf"\r
+       @echo "  download : Downloads the bitstream onto the board"\r
+       @echo " "\r
+       @echo "  sim      : Generates HDL simulation models and runs simulator for chosen simulation mode"\r
+       @echo "  simmodel : Generates HDL simulation models for chosen simulation mode"\r
+       @echo " "\r
+       @echo "  netlistclean: Deletes netlist"\r
+       @echo "  bitsclean: Deletes bit, ncd, bmm files"\r
+       @echo "  hwclean  : Deletes implementation dir"\r
+       @echo "  simclean : Deletes simulation dir"\r
+       @echo "  clean    : Deletes all generated files/directories"\r
+       @echo " "\r
+\r
+bits: $(SYSTEM_BIT)\r
+\r
+ace: $(SYSTEM_ACE)\r
+\r
+exporttosdk: $(SYSTEM_HW_HANDOFF_DEP)\r
+\r
+netlist: $(POSTSYN_NETLIST)\r
+\r
+download: $(DOWNLOAD_BIT) dummy\r
+       @echo "*********************************************"\r
+       @echo "Downloading Bitstream onto the target board"\r
+       @echo "*********************************************"\r
+       impact -batch etc/download.cmd\r
+\r
+init_bram: $(DOWNLOAD_BIT)\r
+\r
+sim: $(DEFAULT_SIM_SCRIPT)\r
+       cd simulation/behavioral & \\r
+       RTOSDemo_fuse.cmd\r
+       cd simulation/behavioral & \\r
+       start /B $(SIM_CMD) -gui -tclbatch RTOSDemo_setup.tcl\r
+\r
+simmodel: $(DEFAULT_SIM_SCRIPT)\r
+\r
+behavioral_model: $(BEHAVIORAL_SIM_SCRIPT)\r
+\r
+structural_model: $(STRUCTURAL_SIM_SCRIPT)\r
+\r
+clean: hwclean simclean\r
+       rm -f _impact.cmd\r
+\r
+hwclean: netlistclean bitsclean\r
+       rm -rf implementation synthesis xst hdl\r
+       rm -rf xst.srp $(SYSTEM).srp\r
+       rm -f __xps/ise/_xmsgs/bitinit.xmsgs\r
+\r
+netlistclean:\r
+       rm -f $(POSTSYN_NETLIST)\r
+       rm -f platgen.log\r
+       rm -f __xps/ise/_xmsgs/platgen.xmsgs\r
+       rm -f $(BMM_FILE)\r
+\r
+bitsclean:\r
+       rm -f $(SYSTEM_BIT)\r
+       rm -f implementation/$(SYSTEM).ncd\r
+       rm -f implementation/$(SYSTEM)_bd.bmm \r
+       rm -f implementation/$(SYSTEM)_map.ncd \r
+       rm -f implementation/download.bit \r
+       rm -f __xps/$(SYSTEM)_routed\r
+\r
+simclean: \r
+       rm -rf simulation/behavioral\r
+       rm -f simgen.log\r
+       rm -f __xps/ise/_xmsgs/simgen.xmsgs\r
+\r
+#################################################################\r
+# BOOTLOOP ELF FILES\r
+#################################################################\r
+\r
+\r
+$(MICROBLAZE_0_BOOTLOOP): $(MICROBLAZE_BOOTLOOP_LE)\r
+       IF NOT EXIST "$(BOOTLOOP_DIR)" @mkdir "$(BOOTLOOP_DIR)"\r
+       cp -f $(MICROBLAZE_BOOTLOOP_LE) $(MICROBLAZE_0_BOOTLOOP)\r
+\r
+#################################################################\r
+# HARDWARE IMPLEMENTATION FLOW\r
+#################################################################\r
+\r
+\r
+$(BMM_FILE) \\r
+$(WRAPPER_NGC_FILES): $(MHSFILE) __xps/platgen.opt \\r
+                      $(CORE_STATE_DEVELOPMENT_FILES)\r
+       @echo "****************************************************"\r
+       @echo "Creating system netlist for hardware specification.."\r
+       @echo "****************************************************"\r
+       platgen $(PLATGEN_OPTIONS) $(MHSFILE)\r
+\r
+$(POSTSYN_NETLIST): $(WRAPPER_NGC_FILES)\r
+       @echo "Running synthesis..."\r
+       cd synthesis & synthesis.cmd\r
+\r
+__xps/$(SYSTEM)_routed: $(FPGA_IMP_DEPENDENCY)\r
+       @echo "*********************************************"\r
+       @echo "Running Xilinx Implementation tools.."\r
+       @echo "*********************************************"\r
+       @cp -f $(UCF_FILE) implementation/$(SYSTEM).ucf\r
+       @cp -f etc/fast_runtime.opt implementation/xflow.opt\r
+       xflow -wd implementation -p $(DEVICE) -implement xflow.opt $(SYSTEM).ngc\r
+       touch __xps/$(SYSTEM)_routed\r
+\r
+$(SYSTEM_BIT): __xps/$(SYSTEM)_routed $(BITGEN_UT_FILE)\r
+       xilperl $(XILINX_EDK_DIR)/data/fpga_impl/observe_par.pl $(OBSERVE_PAR_OPTIONS) implementation/$(SYSTEM).par\r
+       @echo "*********************************************"\r
+       @echo "Running Bitgen.."\r
+       @echo "*********************************************"\r
+       @cp -f $(BITGEN_UT_FILE) implementation/bitgen.ut\r
+       cd implementation & bitgen -w -f bitgen.ut $(SYSTEM) & cd ..\r
+\r
+$(DOWNLOAD_BIT): $(SYSTEM_BIT) $(BRAMINIT_ELF_IMP_FILES) __xps/bitinit.opt\r
+       @cp -f implementation/$(SYSTEM)_bd.bmm .\r
+       @echo "*********************************************"\r
+       @echo "Initializing BRAM contents of the bitstream"\r
+       @echo "*********************************************"\r
+       bitinit -p $(DEVICE) $(MHSFILE) $(SEARCHPATHOPT) $(BRAMINIT_ELF_IMP_FILE_ARGS) \\r
+       -bt $(SYSTEM_BIT) -o $(DOWNLOAD_BIT)\r
+       @rm -f $(SYSTEM)_bd.bmm\r
+\r
+$(SYSTEM_ACE):\r
+       @echo "In order to generate ace file, you must have:-"\r
+       @echo "- exactly one processor."\r
+       @echo "- opb_mdm, if using microblaze."\r
+\r
+#################################################################\r
+# EXPORT_TO_SDK FLOW\r
+#################################################################\r
+\r
+$(SYSTEM_HW_HANDOFF): $(MHSFILE) __xps/platgen.opt\r
+       IF NOT EXIST "$(SDK_EXPORT_DIR)" @mkdir "$(SDK_EXPORT_DIR)"\r
+       psf2Edward -inp $(SYSTEM).xmp -exit_on_error -edwver 1.2 -xml $(SDK_EXPORT_DIR)/$(SYSTEM).xml $(GLOBAL_SEARCHPATHOPT)\r
+       xdsgen -inp $(SYSTEM).xmp -report $(SDK_EXPORT_DIR)/$(SYSTEM).html $(GLOBAL_SEARCHPATHOPT) -make_docs_local\r
+\r
+$(SYSTEM_HW_HANDOFF_BIT): $(SYSTEM_BIT)\r
+       @rm -rf $(SYSTEM_HW_HANDOFF_BIT)\r
+       @cp -f $(SYSTEM_BIT) $(SDK_EXPORT_DIR)\r
+\r
+$(SYSTEM_HW_HANDOFF_BMM): implementation/$(SYSTEM)_bd.bmm\r
+       @rm -rf $(SYSTEM_HW_HANDOFF_BMM)\r
+       @cp -f implementation/$(SYSTEM)_bd.bmm $(SDK_EXPORT_DIR)\r
+\r
+#################################################################\r
+# SIMULATION FLOW\r
+#################################################################\r
+\r
+\r
+################## BEHAVIORAL SIMULATION ##################\r
+\r
+$(BEHAVIORAL_SIM_SCRIPT): $(MHSFILE) __xps/simgen.opt \\r
+                          $(BRAMINIT_ELF_SIM_FILES)\r
+       @echo "*********************************************"\r
+       @echo "Creating behavioral simulation models..."\r
+       @echo "*********************************************"\r
+       simgen $(SIMGEN_OPTIONS) -m behavioral $(MHSFILE)\r
+\r
+################## STRUCTURAL SIMULATION ##################\r
+\r
+$(STRUCTURAL_SIM_SCRIPT): $(WRAPPER_NGC_FILES) __xps/simgen.opt \\r
+                          $(BRAMINIT_ELF_SIM_FILES)\r
+       @echo "*********************************************"\r
+       @echo "Creating structural simulation models..."\r
+       @echo "*********************************************"\r
+       simgen $(SIMGEN_OPTIONS) -sd implementation -m structural $(MHSFILE)\r
+\r
+\r
+################## TIMING SIMULATION ##################\r
+\r
+implementation/$(SYSTEM).ncd: __xps/$(SYSTEM)_routed\r
+\r
+$(TIMING_SIM_SCRIPT): implementation/$(SYSTEM).ncd __xps/simgen.opt \\r
+                      $(BRAMINIT_ELF_SIM_FILES)\r
+       @echo "*********************************************"\r
+       @echo "Creating timing simulation models..."\r
+       @echo "*********************************************"\r
+       simgen $(SIMGEN_OPTIONS) -sd implementation -m timing $(MHSFILE)\r
+\r
+dummy:\r
+       @echo ""\r
+\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.mhs b/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.mhs
new file mode 100644 (file)
index 0000000..c38ca16
--- /dev/null
@@ -0,0 +1,326 @@
+\r
+# ##############################################################################\r
+# Created by Base System Builder Wizard for Xilinx EDK 13.1 Build EDK_O.40d\r
+# Mon May 30 16:46:06 2011\r
+# Target Board:  xilinx.com sp605 Rev C\r
+# Family:    spartan6\r
+# Device:    xc6slx45t\r
+# Package:   fgg484\r
+# Speed Grade:  -3\r
+# ##############################################################################\r
+ PARAMETER VERSION = 2.1.0\r
+\r
+\r
+ PORT RESET = RESET, DIR = I, SIGIS = RST, RST_POLARITY = 1\r
+ PORT CLK_P = CLK, DIR = I, DIFFERENTIAL_POLARITY = P, SIGIS = CLK, CLK_FREQ = 200000000\r
+ PORT CLK_N = CLK, DIR = I, DIFFERENTIAL_POLARITY = N, SIGIS = CLK, CLK_FREQ = 200000000\r
+ PORT RS232_Uart_1_sout = RS232_Uart_1_sout, DIR = O\r
+ PORT RS232_Uart_1_sin = RS232_Uart_1_sin, DIR = I\r
+ PORT LEDs_4Bits_TRI_O = LEDs_4Bits_TRI_O, DIR = O, VEC = [0:3]\r
+ PORT Push_Buttons_4Bits_TRI_I = Push_Buttons_4Bits_TRI_I, DIR = I, VEC = [0:3]\r
+ PORT Ethernet_Lite_MDIO = Ethernet_Lite_MDIO, DIR = IO\r
+ PORT Ethernet_Lite_MDC = Ethernet_Lite_MDC, DIR = O\r
+ PORT Ethernet_Lite_TXD = Ethernet_Lite_TXD, DIR = O, VEC = [3:0]\r
+ PORT Ethernet_Lite_TX_EN = Ethernet_Lite_TX_EN, DIR = O\r
+ PORT Ethernet_Lite_TX_CLK = Ethernet_Lite_TX_CLK, DIR = I\r
+ PORT Ethernet_Lite_COL = Ethernet_Lite_COL, DIR = I\r
+ PORT Ethernet_Lite_RXD = Ethernet_Lite_RXD, DIR = I, VEC = [3:0]\r
+ PORT Ethernet_Lite_RX_ER = Ethernet_Lite_RX_ER, DIR = I\r
+ PORT Ethernet_Lite_RX_CLK = Ethernet_Lite_RX_CLK, DIR = I\r
+ PORT Ethernet_Lite_CRS = Ethernet_Lite_CRS, DIR = I\r
+ PORT Ethernet_Lite_RX_DV = Ethernet_Lite_RX_DV, DIR = I\r
+ PORT Ethernet_Lite_PHY_RST_N = Ethernet_Lite_PHY_RST_N, DIR = O\r
+\r
+\r
+BEGIN axi_interconnect\r
+ PARAMETER INSTANCE = axi4_0\r
+ PARAMETER HW_VER = 1.02.a\r
+ PORT interconnect_aclk = clk_100_0000MHzPLL0\r
+ PORT INTERCONNECT_ARESETN = proc_sys_reset_0_Interconnect_aresetn\r
+END\r
+\r
+BEGIN axi_interconnect\r
+ PARAMETER INSTANCE = axi4lite_0\r
+ PARAMETER HW_VER = 1.02.a\r
+ PARAMETER C_INTERCONNECT_CONNECTIVITY_MODE = 0\r
+ PORT INTERCONNECT_ARESETN = proc_sys_reset_0_Interconnect_aresetn\r
+ PORT INTERCONNECT_ACLK = clk_50_0000MHzPLL0\r
+END\r
+\r
+BEGIN microblaze\r
+ PARAMETER INSTANCE = microblaze_0\r
+ PARAMETER HW_VER = 8.10.a\r
+ PARAMETER C_INTERCONNECT = 2\r
+ PARAMETER C_USE_BARREL = 1\r
+ PARAMETER C_USE_FPU = 1\r
+ PARAMETER C_DEBUG_ENABLED = 1\r
+ PARAMETER C_ICACHE_BASEADDR = 0xc0000000\r
+ PARAMETER C_ICACHE_HIGHADDR = 0xcfffffff\r
+ PARAMETER C_USE_ICACHE = 1\r
+ PARAMETER C_ICACHE_ALWAYS_USED = 1\r
+ PARAMETER C_DCACHE_BASEADDR = 0xc0000000\r
+ PARAMETER C_DCACHE_HIGHADDR = 0xcfffffff\r
+ PARAMETER C_USE_DCACHE = 1\r
+ PARAMETER C_DCACHE_ALWAYS_USED = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DC_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DC_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DP_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DP_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DP_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DP_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DP_B_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DC_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DC_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_DC_B_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_IC_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_IC_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_IC_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_IC_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_M_AXI_IC_B_REGISTER = 1\r
+ BUS_INTERFACE ILMB = microblaze_0_ilmb\r
+ BUS_INTERFACE DLMB = microblaze_0_dlmb\r
+ BUS_INTERFACE M_AXI_DP = axi4lite_0\r
+ BUS_INTERFACE M_AXI_DC = axi4_0\r
+ BUS_INTERFACE M_AXI_IC = axi4_0\r
+ BUS_INTERFACE DEBUG = microblaze_0_debug\r
+ PORT MB_RESET = proc_sys_reset_0_MB_Reset\r
+ PORT CLK = clk_100_0000MHzPLL0\r
+ PORT INTERRUPT = microblaze_0_interrupt\r
+END\r
+\r
+BEGIN lmb_v10\r
+ PARAMETER INSTANCE = microblaze_0_ilmb\r
+ PARAMETER HW_VER = 2.00.a\r
+ PORT SYS_RST = proc_sys_reset_0_BUS_STRUCT_RESET\r
+ PORT LMB_CLK = clk_100_0000MHzPLL0\r
+END\r
+\r
+BEGIN lmb_v10\r
+ PARAMETER INSTANCE = microblaze_0_dlmb\r
+ PARAMETER HW_VER = 2.00.a\r
+ PORT SYS_RST = proc_sys_reset_0_BUS_STRUCT_RESET\r
+ PORT LMB_CLK = clk_100_0000MHzPLL0\r
+END\r
+\r
+BEGIN lmb_bram_if_cntlr\r
+ PARAMETER INSTANCE = microblaze_0_i_bram_ctrl\r
+ PARAMETER HW_VER = 3.00.a\r
+ PARAMETER C_BASEADDR = 0x00000000\r
+ PARAMETER C_HIGHADDR = 0x00001fff\r
+ BUS_INTERFACE SLMB = microblaze_0_ilmb\r
+ BUS_INTERFACE BRAM_PORT = microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block\r
+END\r
+\r
+BEGIN lmb_bram_if_cntlr\r
+ PARAMETER INSTANCE = microblaze_0_d_bram_ctrl\r
+ PARAMETER HW_VER = 3.00.a\r
+ PARAMETER C_BASEADDR = 0x00000000\r
+ PARAMETER C_HIGHADDR = 0x00001fff\r
+ BUS_INTERFACE SLMB = microblaze_0_dlmb\r
+ BUS_INTERFACE BRAM_PORT = microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block\r
+END\r
+\r
+BEGIN bram_block\r
+ PARAMETER INSTANCE = microblaze_0_bram_block\r
+ PARAMETER HW_VER = 1.00.a\r
+ BUS_INTERFACE PORTA = microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block\r
+ BUS_INTERFACE PORTB = microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block\r
+END\r
+\r
+BEGIN proc_sys_reset\r
+ PARAMETER INSTANCE = proc_sys_reset_0\r
+ PARAMETER HW_VER = 3.00.a\r
+ PARAMETER C_EXT_RESET_HIGH = 1\r
+ PORT Ext_Reset_In = RESET\r
+ PORT MB_Reset = proc_sys_reset_0_MB_Reset\r
+ PORT Slowest_sync_clk = clk_50_0000MHzPLL0\r
+ PORT Interconnect_aresetn = proc_sys_reset_0_Interconnect_aresetn\r
+ PORT Dcm_locked = proc_sys_reset_0_Dcm_locked\r
+ PORT MB_Debug_Sys_Rst = proc_sys_reset_0_MB_Debug_Sys_Rst\r
+ PORT BUS_STRUCT_RESET = proc_sys_reset_0_BUS_STRUCT_RESET\r
+END\r
+\r
+BEGIN clock_generator\r
+ PARAMETER INSTANCE = clock_generator_0\r
+ PARAMETER HW_VER = 4.01.a\r
+ PARAMETER C_CLKIN_FREQ = 200000000\r
+ PARAMETER C_CLKOUT0_FREQ = 600000000\r
+ PARAMETER C_CLKOUT0_GROUP = PLL0\r
+ PARAMETER C_CLKOUT0_BUF = FALSE\r
+ PARAMETER C_CLKOUT1_FREQ = 600000000\r
+ PARAMETER C_CLKOUT1_PHASE = 180\r
+ PARAMETER C_CLKOUT1_GROUP = PLL0\r
+ PARAMETER C_CLKOUT1_BUF = FALSE\r
+ PARAMETER C_CLKOUT2_FREQ = 100000000\r
+ PARAMETER C_CLKOUT2_GROUP = PLL0\r
+ PARAMETER C_CLKOUT3_FREQ = 50000000\r
+ PARAMETER C_CLKOUT3_GROUP = PLL0\r
+ PORT RST = RESET\r
+ PORT CLKIN = CLK\r
+ PORT CLKOUT2 = clk_100_0000MHzPLL0\r
+ PORT CLKOUT3 = clk_50_0000MHzPLL0\r
+ PORT LOCKED = proc_sys_reset_0_Dcm_locked\r
+END\r
+\r
+BEGIN mdm\r
+ PARAMETER INSTANCE = debug_module\r
+ PARAMETER HW_VER = 2.00.b\r
+ PARAMETER C_INTERCONNECT = 2\r
+ PARAMETER C_USE_UART = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_B_REGISTER = 1\r
+ PARAMETER C_BASEADDR = 0x74800000\r
+ PARAMETER C_HIGHADDR = 0x7480ffff\r
+ BUS_INTERFACE S_AXI = axi4lite_0\r
+ BUS_INTERFACE MBDEBUG_0 = microblaze_0_debug\r
+ PORT S_AXI_ACLK = clk_50_0000MHzPLL0\r
+ PORT Debug_SYS_Rst = proc_sys_reset_0_MB_Debug_Sys_Rst\r
+END\r
+\r
+BEGIN axi_uartlite\r
+ PARAMETER INSTANCE = RS232_Uart_1\r
+ PARAMETER HW_VER = 1.01.a\r
+ PARAMETER C_BAUDRATE = 115200\r
+ PARAMETER C_DATA_BITS = 8\r
+ PARAMETER C_USE_PARITY = 0\r
+ PARAMETER C_ODD_PARITY = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_B_REGISTER = 1\r
+ PARAMETER C_BASEADDR = 0x40600000\r
+ PARAMETER C_HIGHADDR = 0x4060ffff\r
+ BUS_INTERFACE S_AXI = axi4lite_0\r
+ PORT TX = RS232_Uart_1_sout\r
+ PORT RX = RS232_Uart_1_sin\r
+ PORT S_AXI_ACLK = clk_50_0000MHzPLL0\r
+ PORT Interrupt = RS232_Uart_1_Interrupt\r
+END\r
+\r
+BEGIN axi_gpio\r
+ PARAMETER INSTANCE = LEDs_4Bits\r
+ PARAMETER HW_VER = 1.01.a\r
+ PARAMETER C_GPIO_WIDTH = 4\r
+ PARAMETER C_ALL_INPUTS = 0\r
+ PARAMETER C_INTERRUPT_PRESENT = 0\r
+ PARAMETER C_IS_DUAL = 0\r
+ PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_B_REGISTER = 1\r
+ PARAMETER C_BASEADDR = 0x40020000\r
+ PARAMETER C_HIGHADDR = 0x4002ffff\r
+ BUS_INTERFACE S_AXI = axi4lite_0\r
+ PORT GPIO_IO_O = LEDs_4Bits_TRI_O\r
+ PORT S_AXI_ACLK = clk_50_0000MHzPLL0\r
+END\r
+\r
+BEGIN axi_gpio\r
+ PARAMETER INSTANCE = Push_Buttons_4Bits\r
+ PARAMETER HW_VER = 1.01.a\r
+ PARAMETER C_GPIO_WIDTH = 4\r
+ PARAMETER C_ALL_INPUTS = 1\r
+ PARAMETER C_INTERRUPT_PRESENT = 1\r
+ PARAMETER C_IS_DUAL = 0\r
+ PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_B_REGISTER = 1\r
+ PARAMETER C_BASEADDR = 0x40000000\r
+ PARAMETER C_HIGHADDR = 0x4000ffff\r
+ BUS_INTERFACE S_AXI = axi4lite_0\r
+ PORT GPIO_IO_I = Push_Buttons_4Bits_TRI_I\r
+ PORT S_AXI_ACLK = clk_50_0000MHzPLL0\r
+ PORT IP2INTC_Irpt = Push_Buttons_4Bits_IP2INTC_Irpt\r
+END\r
+\r
+BEGIN axi_ethernetlite\r
+ PARAMETER INSTANCE = Ethernet_Lite\r
+ PARAMETER HW_VER = 1.00.a\r
+ PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_B_REGISTER = 1\r
+ PARAMETER C_BASEADDR = 0x40e00000\r
+ PARAMETER C_HIGHADDR = 0x40e0ffff\r
+ BUS_INTERFACE S_AXI = axi4lite_0\r
+ PORT PHY_MDIO = Ethernet_Lite_MDIO\r
+ PORT PHY_MDC = Ethernet_Lite_MDC\r
+ PORT PHY_tx_data = Ethernet_Lite_TXD\r
+ PORT PHY_tx_en = Ethernet_Lite_TX_EN\r
+ PORT PHY_tx_clk = Ethernet_Lite_TX_CLK\r
+ PORT PHY_col = Ethernet_Lite_COL\r
+ PORT PHY_rx_data = Ethernet_Lite_RXD\r
+ PORT PHY_rx_er = Ethernet_Lite_RX_ER\r
+ PORT PHY_rx_clk = Ethernet_Lite_RX_CLK\r
+ PORT PHY_crs = Ethernet_Lite_CRS\r
+ PORT PHY_dv = Ethernet_Lite_RX_DV\r
+ PORT PHY_rst_n = Ethernet_Lite_PHY_RST_N\r
+ PORT S_AXI_ACLK = clk_50_0000MHzPLL0\r
+ PORT IP2INTC_Irpt = Ethernet_Lite_IP2INTC_Irpt\r
+END\r
+\r
+BEGIN axi_timer\r
+ PARAMETER INSTANCE = axi_timer_0\r
+ PARAMETER HW_VER = 1.01.a\r
+ PARAMETER C_COUNT_WIDTH = 32\r
+ PARAMETER C_ONE_TIMER_ONLY = 0\r
+ PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_B_REGISTER = 1\r
+ PARAMETER C_BASEADDR = 0x41c00000\r
+ PARAMETER C_HIGHADDR = 0x41c0ffff\r
+ BUS_INTERFACE S_AXI = axi4lite_0\r
+ PORT S_AXI_ACLK = clk_50_0000MHzPLL0\r
+ PORT Interrupt = axi_timer_0_Interrupt\r
+END\r
+\r
+BEGIN axi_bram_ctrl\r
+ PARAMETER INSTANCE = axi_bram_ctrl_0\r
+ PARAMETER HW_VER = 1.02.a\r
+ PARAMETER C_INTERCONNECT_S_AXI_MASTERS = microblaze_0.M_AXI_DC & microblaze_0.M_AXI_IC\r
+ PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_B_REGISTER = 1\r
+ PARAMETER C_S_AXI_BASEADDR = 0xC4000000\r
+ PARAMETER C_S_AXI_HIGHADDR = 0xC407FFFF\r
+ BUS_INTERFACE BRAM_PORTA = axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta\r
+ BUS_INTERFACE BRAM_PORTB = axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb\r
+ BUS_INTERFACE S_AXI = axi4_0\r
+ PORT S_AXI_ACLK = clk_100_0000MHzPLL0\r
+END\r
+\r
+BEGIN bram_block\r
+ PARAMETER INSTANCE = axi_bram_ctrl_0_bram_block\r
+ PARAMETER HW_VER = 1.00.a\r
+ BUS_INTERFACE PORTA = axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta\r
+ BUS_INTERFACE PORTB = axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb\r
+END\r
+\r
+BEGIN axi_intc\r
+ PARAMETER INSTANCE = microblaze_0_intc\r
+ PARAMETER HW_VER = 1.01.a\r
+ PARAMETER C_INTERCONNECT_S_AXI_AW_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_AR_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_W_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_R_REGISTER = 1\r
+ PARAMETER C_INTERCONNECT_S_AXI_B_REGISTER = 1\r
+ PARAMETER C_BASEADDR = 0x41200000\r
+ PARAMETER C_HIGHADDR = 0x4120ffff\r
+ BUS_INTERFACE S_AXI = axi4lite_0\r
+ PORT IRQ = microblaze_0_interrupt\r
+ PORT S_AXI_ACLK = clk_50_0000MHzPLL0\r
+ PORT INTR = RS232_Uart_1_Interrupt & Push_Buttons_4Bits_IP2INTC_Irpt & Ethernet_Lite_IP2INTC_Irpt & axi_timer_0_Interrupt\r
+END\r
+\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.xmp b/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.xmp
new file mode 100644 (file)
index 0000000..9abde61
--- /dev/null
@@ -0,0 +1,30 @@
+#Please do not modify this file by hand\r
+XmpVersion: 13.1\r
+VerMgmt: 13.1\r
+IntStyle: default\r
+MHS File: RTOSDemo.mhs\r
+Architecture: spartan6\r
+Device: xc6slx45t\r
+Package: fgg484\r
+SpeedGrade: -3\r
+UserCmd1: \r
+UserCmd1Type: 0\r
+UserCmd2: \r
+UserCmd2Type: 0\r
+GenSimTB: 0\r
+SdkExportBmmBit: 1\r
+SdkExportDir: SDK/SDK_Export\r
+InsertNoPads: 0\r
+WarnForEAArch: 1\r
+HdlLang: VHDL\r
+SimModel: BEHAVIORAL\r
+UcfFile: data/RTOSDemo.ucf\r
+EnableParTimingError: 1\r
+ShowLicenseDialog: 1\r
+ICacheAddr: axi_bram_ctrl_0,C_S_AXI_BASEADDR\r
+ICacheAddr: axi_bram_ctrl_0,C_S_AXI_CTRL_BASEADDR\r
+DCacheAddr: axi_bram_ctrl_0,C_S_AXI_BASEADDR\r
+DCacheAddr: axi_bram_ctrl_0,C_S_AXI_CTRL_BASEADDR\r
+Processor: microblaze_0\r
+ElfImp: \r
+ElfSim: \r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo_incl.make b/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo_incl.make
new file mode 100644 (file)
index 0000000..092e280
--- /dev/null
@@ -0,0 +1,111 @@
+#################################################################\r
+# Makefile generated by Xilinx Platform Studio \r
+# Project:C:\E\Dev\FreeRTOS\WorkingCopy\Demo\MicroBlaze_Spartan-6_SP605\RTOSDemo.xmp\r
+#\r
+# WARNING : This file will be re-generated every time a command\r
+# to run a make target is invoked. So, any changes made to this  \r
+# file manually, will be lost when make is invoked next. \r
+#################################################################\r
+\r
+SHELL = CMD\r
+\r
+XILINX_EDK_DIR = C:/devtools/Xilinx/13.1/ISE_DS/EDK\r
+\r
+SYSTEM = RTOSDemo\r
+\r
+MHSFILE = RTOSDemo.mhs\r
+\r
+FPGA_ARCH = spartan6\r
+\r
+DEVICE = xc6slx45tfgg484-3\r
+\r
+LANGUAGE = vhdl\r
+GLOBAL_SEARCHPATHOPT = \r
+PROJECT_SEARCHPATHOPT = \r
+\r
+SEARCHPATHOPT = $(PROJECT_SEARCHPATHOPT) $(GLOBAL_SEARCHPATHOPT)\r
+\r
+SUBMODULE_OPT = \r
+\r
+PLATGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(SUBMODULE_OPT) -msg __xps/ise/xmsgprops.lst\r
+\r
+OBSERVE_PAR_OPTIONS = -error yes\r
+\r
+MICROBLAZE_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/microblaze/mb_bootloop.elf\r
+MICROBLAZE_BOOTLOOP_LE = $(XILINX_EDK_DIR)/sw/lib/microblaze/mb_bootloop_le.elf\r
+PPC405_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc405/ppc_bootloop.elf\r
+PPC440_BOOTLOOP = $(XILINX_EDK_DIR)/sw/lib/ppc440/ppc440_bootloop.elf\r
+BOOTLOOP_DIR = bootloops\r
+\r
+MICROBLAZE_0_BOOTLOOP = $(BOOTLOOP_DIR)/microblaze_0.elf\r
+\r
+BRAMINIT_ELF_IMP_FILES = $(MICROBLAZE_0_BOOTLOOP)\r
+BRAMINIT_ELF_IMP_FILE_ARGS = -pe microblaze_0 $(MICROBLAZE_0_BOOTLOOP)\r
+\r
+BRAMINIT_ELF_SIM_FILES = $(MICROBLAZE_0_BOOTLOOP)\r
+BRAMINIT_ELF_SIM_FILE_ARGS = -pe microblaze_0 $(MICROBLAZE_0_BOOTLOOP)\r
+\r
+SIM_CMD = isim_RTOSDemo\r
+\r
+BEHAVIORAL_SIM_SCRIPT = simulation/behavioral/$(SYSTEM)_setup.tcl\r
+\r
+STRUCTURAL_SIM_SCRIPT = simulation/structural/$(SYSTEM)_setup.tcl\r
+\r
+TIMING_SIM_SCRIPT = simulation/timing/$(SYSTEM)_setup.tcl\r
+\r
+DEFAULT_SIM_SCRIPT = $(BEHAVIORAL_SIM_SCRIPT)\r
+\r
+MIX_LANG_SIM_OPT = -mixed yes\r
+\r
+SIMGEN_OPTIONS = -p $(DEVICE) -lang $(LANGUAGE) $(SEARCHPATHOPT) $(BRAMINIT_ELF_SIM_FILE_ARGS) $(MIX_LANG_SIM_OPT) -msg __xps/ise/xmsgprops.lst -s isim\r
+\r
+\r
+CORE_STATE_DEVELOPMENT_FILES = \r
+\r
+WRAPPER_NGC_FILES = implementation/axi4_0_wrapper.ngc \
+implementation/axi4lite_0_wrapper.ngc \
+implementation/microblaze_0_wrapper.ngc \
+implementation/microblaze_0_ilmb_wrapper.ngc \
+implementation/microblaze_0_dlmb_wrapper.ngc \
+implementation/microblaze_0_i_bram_ctrl_wrapper.ngc \
+implementation/microblaze_0_d_bram_ctrl_wrapper.ngc \
+implementation/microblaze_0_bram_block_wrapper.ngc \
+implementation/proc_sys_reset_0_wrapper.ngc \
+implementation/clock_generator_0_wrapper.ngc \
+implementation/debug_module_wrapper.ngc \
+implementation/rs232_uart_1_wrapper.ngc \
+implementation/leds_4bits_wrapper.ngc \
+implementation/push_buttons_4bits_wrapper.ngc \
+implementation/ethernet_lite_wrapper.ngc \
+implementation/axi_timer_0_wrapper.ngc \
+implementation/axi_bram_ctrl_0_wrapper.ngc \
+implementation/axi_bram_ctrl_0_bram_block_wrapper.ngc \
+implementation/microblaze_0_intc_wrapper.ngc\r
+\r
+POSTSYN_NETLIST = implementation/$(SYSTEM).ngc\r
+\r
+SYSTEM_BIT = implementation/$(SYSTEM).bit\r
+\r
+DOWNLOAD_BIT = implementation/download.bit\r
+\r
+SYSTEM_ACE = implementation/$(SYSTEM).ace\r
+\r
+UCF_FILE = data/RTOSDemo.ucf\r
+\r
+BMM_FILE = implementation/$(SYSTEM).bmm\r
+\r
+BITGEN_UT_FILE = etc/bitgen.ut\r
+\r
+XFLOW_OPT_FILE = etc/fast_runtime.opt\r
+XFLOW_DEPENDENCY = __xps/xpsxflow.opt $(XFLOW_OPT_FILE)\r
+\r
+XPLORER_DEPENDENCY = __xps/xplorer.opt\r
+XPLORER_OPTIONS = -p $(DEVICE) -uc $(SYSTEM).ucf -bm $(SYSTEM).bmm -max_runs 7\r
+\r
+FPGA_IMP_DEPENDENCY = $(BMM_FILE) $(POSTSYN_NETLIST) $(UCF_FILE) $(XFLOW_DEPENDENCY)\r
+\r
+SDK_EXPORT_DIR = SDK\SDK_Export\hw\r
+SYSTEM_HW_HANDOFF = $(SDK_EXPORT_DIR)/$(SYSTEM).xml\r
+SYSTEM_HW_HANDOFF_BIT = $(SDK_EXPORT_DIR)/$(SYSTEM).bit\r
+SYSTEM_HW_HANDOFF_BMM = $(SDK_EXPORT_DIR)/$(SYSTEM)_bd.bmm\r
+SYSTEM_HW_HANDOFF_DEP = $(SYSTEM_HW_HANDOFF) $(SYSTEM_HW_HANDOFF_BIT) $(SYSTEM_HW_HANDOFF_BMM)\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgBLKD_Dimensions.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgBLKD_Dimensions.xsl
new file mode 100644 (file)
index 0000000..31625c0
--- /dev/null
@@ -0,0 +1,180 @@
+<?xml version="1.0" standalone="no"?>
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+           
+           
+<!-- 
+<xsl:output method="xml" 
+                       version="1.0" 
+                       encoding="UTF-8" indent="yes"
+               doctype-public="-//W3C//DTD SVG Tiny 1.1//EN"
+               doctype-system="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"/>
+-->    
+
+<!-- 
+       ======================================================
+                       BUS INTERFACE DIMENSIONS
+       ======================================================
+-->                            
+       
+<xsl:variable name="BLKD_BIF_H"     select="16"/>                              
+<xsl:variable name="BLKD_BIF_W"     select="32"/>                              
+       
+<xsl:variable name="BLKD_BIFC_H"    select="24"/>                              
+<xsl:variable name="BLKD_BIFC_W"    select="24"/>                              
+
+<xsl:variable name="BLKD_BIFC_dx"   select="ceiling($BLKD_BIFC_W div 5)"/>
+<xsl:variable name="BLKD_BIFC_dy"   select="ceiling($BLKD_BIFC_H div 5)"/>
+<xsl:variable name="BLKD_BIFC_Hi"   select="($BLKD_BIFC_H - ($BLKD_BIFC_dy * 2))"/>    
+<xsl:variable name="BLKD_BIFC_Wi"   select="($BLKD_BIFC_W - ($BLKD_BIFC_dx * 2))"/>
+
+<xsl:variable name="BLKD_BIF_TYPE_ONEWAY"  select="'OneWay'"/>
+       
+<!-- 
+       ======================================================
+                       GLOLBAL BUS INTERFACE DIMENSIONS
+               (Define for global MdtSVG_BifShapes.xsl which is used across all
+            diagrams to define the shapes of bifs the same across all diagrams)
+       ======================================================
+-->    
+       
+<xsl:variable name="BIF_H"     select="$BLKD_BIF_H"/>                          
+<xsl:variable name="BIF_W"     select="$BLKD_BIF_W"/>
+       
+<xsl:variable name="BIFC_H"    select="$BLKD_BIFC_H"/>
+<xsl:variable name="BIFC_W"    select="$BLKD_BIFC_W"/>
+       
+<xsl:variable name="BIFC_dx"   select="$BLKD_BIFC_dx"/>
+<xsl:variable name="BIFC_dy"   select="$BLKD_BIFC_dy"/>
+       
+<xsl:variable name="BIFC_Hi"   select="$BLKD_BIFC_Hi"/>        
+<xsl:variable name="BIFC_Wi"   select="$BLKD_BIFC_Wi"/>
+
+
+<!-- 
+       ======================================================
+                       BUS DIMENSIONS
+       ======================================================
+-->                            
+       
+<xsl:variable name="BLKD_P2P_BUS_W"     select="($BLKD_BUS_ARROW_H - ($BLKD_BUS_ARROW_G * 2))"/>       
+<xsl:variable name="BLKD_SBS_LANE_H"    select="($BLKD_MOD_H + ($BLKD_BIF_H * 2))"/>   
+<xsl:variable name="BLKD_BUS_LANE_W"    select="($BLKD_BIF_W + ($BLKD_MOD_BIF_GAP_H * 2))"/>
+<xsl:variable name="BLKD_BUS_ARROW_W"   select="ceiling($BLKD_BIFC_W div 3)"/> 
+<xsl:variable name="BLKD_BUS_ARROW_H"   select="ceiling($BLKD_BIFC_H div 2)"/>
+<xsl:variable name="BLKD_BUS_ARROW_G"   select="ceiling($BLKD_BIFC_W div 12)"/>
+       
+       
+<!-- 
+       ======================================================
+                       IO PORT DIMENSIONS
+       ======================================================
+-->                            
+       
+<xsl:variable name="BLKD_IOP_H"   select="16"/>                                
+<xsl:variable name="BLKD_IOP_W"   select="16"/>                                
+<xsl:variable name="BLKD_IOP_SPC" select="12"/>                                
+
+       
+<!-- 
+       ======================================================
+                       INTERRUPT NOTATION DIMENSIONS
+       ======================================================
+-->                            
+       
+<xsl:variable name="BLKD_INTR_W"  select="18"/>
+<xsl:variable name="BLKD_INTR_H"  select="18"/>
+       
+<!-- 
+       ======================================================
+                       MODULE DIMENSIONS
+       ======================================================
+-->                            
+       
+<xsl:variable name="BLKD_MOD_IO_GAP"   select="8"/>    
+       
+<xsl:variable name="BLKD_MOD_W"  select="(                    ($BLKD_BIF_W * 2) + ($BLKD_MOD_BIF_GAP_H * 1) + ($BLKD_MOD_LANE_W * 2))"/>
+<xsl:variable name="BLKD_MOD_H"  select="($BLKD_MOD_LABEL_H + ($BLKD_BIF_H * 1) + ($BLKD_MOD_BIF_GAP_V * 1) + ($BLKD_MOD_LANE_H * 2))"/>
+       
+<xsl:variable name="BLKD_MOD_BIF_GAP_H" select="ceiling($BLKD_BIF_H div 4)"/>                          
+<xsl:variable name="BLKD_MOD_BIF_GAP_V" select="ceiling($BLKD_BIFC_H div 2)"/>                         
+       
+<xsl:variable name="BLKD_MOD_LABEL_W"   select="(($BLKD_BIF_W * 2) + $BLKD_MOD_BIF_GAP_H)"/>
+<xsl:variable name="BLKD_MOD_LABEL_H"   select="(($BLKD_BIF_H * 2) + ceiling($BLKD_BIF_H div 3))"/>
+       
+<xsl:variable name="BLKD_MOD_LANE_W"    select="ceiling($BLKD_BIF_W div 3)"/>
+<xsl:variable name="BLKD_MOD_LANE_H"    select="ceiling($BLKD_BIF_H div 4)"/>
+       
+<xsl:variable name="BLKD_MOD_EDGE_W"    select="ceiling($BLKD_MOD_LANE_W div 2)"/>
+<xsl:variable name="BLKD_MOD_SHAPES_G"  select="($BLKD_BIF_W + $BLKD_BIF_W)"/>
+       
+<xsl:variable name="BLKD_MOD_BKTLANE_H" select="$BLKD_BIF_H"/>
+<xsl:variable name="BLKD_MOD_BKTLANE_W" select="$BLKD_BIF_H"/>
+       
+<xsl:variable name="BLKD_MOD_BUCKET_G"  select="ceiling($BLKD_BIF_W div 2)"/>
+       
+<xsl:variable name="BLKD_MPMC_MOD_H"    select="(($BLKD_BIF_H * 1) + ($BLKD_MOD_BIF_GAP_V * 2) + ($BLKD_MOD_LANE_H * 2))"/>
+       
+       
+<!-- 
+       ======================================================
+                       GLOBAL DIAGRAM DIMENSIONS
+       ======================================================
+-->                            
+       
+<xsl:variable name="BLKD_IORCHAN_H"      select="$BLKD_BIF_H"/>
+<xsl:variable name="BLKD_IORCHAN_W"      select="$BLKD_BIF_H"/>
+       
+<xsl:variable name="BLKD_PRTCHAN_H"      select="($BLKD_BIF_H * 2) + ceiling($BLKD_BIF_H div 2)"/>
+<xsl:variable name="BLKD_PRTCHAN_W"      select="($BLKD_BIF_H * 2) + ceiling($BLKD_BIF_H div 2) + 8"/>
+       
+<xsl:variable name="BLKD_DRAWAREA_MIN_W" select="(($BLKD_MOD_BKTLANE_W * 2) + (($BLKD_MOD_W * 3) + ($BLKD_MOD_BUCKET_G * 2)))"/>
+       
+<xsl:variable name="BLKD_INNER_X"               select="($BLKD_PRTCHAN_W  + $BLKD_IORCHAN_W + $BLKD_INNER_GAP)"/>
+<xsl:variable name="BLKD_INNER_Y"               select="($BLKD_PRTCHAN_H  + $BLKD_IORCHAN_H + $BLKD_INNER_GAP)"/>
+<xsl:variable name="BLKD_INNER_GAP"      select="ceiling($BLKD_MOD_W div 2)"/>
+       
+<xsl:variable name="BLKD_SBS2IP_GAP"    select="$BLKD_MOD_H"/>
+<xsl:variable name="BLKD_BRIDGE_GAP"    select="($BLKD_BUS_LANE_W * 4)"/>
+<xsl:variable name="BLKD_IP2UNK_GAP"    select="$BLKD_MOD_H"/>
+<xsl:variable name="BLKD_PROC2SBS_GAP"  select="($BLKD_BIF_H * 2)"/>
+<xsl:variable name="BLKD_IOR2PROC_GAP"  select="$BLKD_BIF_W"/>
+<xsl:variable name="BLKD_MPMC2PROC_GAP" select="($BLKD_BIF_H * 2)"/>
+<xsl:variable name="BLKD_SPECS2KEY_GAP" select="$BLKD_BIF_W"/>
+<xsl:variable name="BLKD_DRAWAREA2KEY_GAP"  select="ceiling($BLKD_BIF_W div 3)"/>
+       
+<xsl:variable name="BLKD_KEY_H"         select="250"/>
+<xsl:variable name="BLKD_KEY_W"         select="($BLKD_DRAWAREA_MIN_W + ceiling($BLKD_DRAWAREA_MIN_W div 2.5))"/>
+       
+       
+<xsl:variable name="BLKD_SPECS_H"       select="100"/>
+<xsl:variable name="BLKD_SPECS_W"       select="300"/>
+       
+       
+       
+<xsl:variable name="BLKD_BKT_MODS_PER_ROW"   select="3"/>
+       
+<!--           
+<xsl:template name="Print_Dimensions">
+       <xsl:message>MOD_LABEL_W  : <xsl:value-of select="$MOD_LABEL_W"/></xsl:message>
+       <xsl:message>MOD_LABEL_H  : <xsl:value-of select="$MOD_LABEL_H"/></xsl:message>
+       
+       <xsl:message>MOD_LANE_W   : <xsl:value-of select="$MOD_LANE_W"/></xsl:message>
+       <xsl:message>MOD_LANE_H   : <xsl:value-of select="$MOD_LANE_H"/></xsl:message>
+       
+       <xsl:message>MOD_EDGE_W   : <xsl:value-of select="$MOD_EDGE_W"/></xsl:message>
+       <xsl:message>MOD_SHAPES_G : <xsl:value-of select="$MOD_SHAPES_G"/></xsl:message>
+       
+       <xsl:message>MOD_BKTLANE_W   : <xsl:value-of select="$MOD_BKTLANE_W"/></xsl:message>
+       <xsl:message>MOD_BKTLANE_H   : <xsl:value-of select="$MOD_BKTLANE_H"/></xsl:message>
+       <xsl:message>MOD_BUCKET_G    : <xsl:value-of select="$MOD_BUCKET_G"/></xsl:message>
+       
+</xsl:template>                
+-->    
+       
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_Colors.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_Colors.xsl
new file mode 100644 (file)
index 0000000..1c97a4d
--- /dev/null
@@ -0,0 +1,150 @@
+<?xml version="1.0" standalone="no"?>
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+           
+<!--  Generic colors, shared between modules like webpages diagrams and pdfs -->           
+
+<xsl:variable name="COL_XLNX"       select="'#AA0017'"/>
+
+<xsl:variable name="COL_BLACK"      select="'#000000'"/>
+<xsl:variable name="COL_WHITE"      select="'#FFFFFF'"/>
+
+<xsl:variable name="COL_GRAY"       select="'#CECECE'"/>
+<xsl:variable name="COL_GRAY_LT"    select="'#E1E1E1'"/>
+<xsl:variable name="COL_GRAY_DK"    select="'#B1B1B1'"/>
+
+<xsl:variable name="COL_YELLOW"     select="'#FFFFDD'"/>
+<xsl:variable name="COL_YELLOW_LT"  select="'#FFFFEE'"/>
+
+<xsl:variable name="COL_RED"        select="'#AA0000'"/>
+
+<xsl:variable name="COL_GREEN"      select="'#33CC33'"/>
+
+<xsl:variable name="COL_BLUE_LT"    select="'#AAAAFF'"/>
+
+<!--  Colors specific to  the Diagrams -->
+<xsl:variable name="COL_BG"          select="'#CCCCCC'"/>
+<xsl:variable name="COL_BG_LT"       select="'#EEEEEE'"/>
+<xsl:variable name="COL_BG_UNK"      select="'#DDDDDD'"/>
+       
+<xsl:variable name="COL_PROC_BG"     select="'#FFCCCC'"/>
+<xsl:variable name="COL_PROC_BG_MB"  select="'#222222'"/>
+<xsl:variable name="COL_PROC_BG_PP"  select="'#90001C'"/>
+<xsl:variable name="COL_PROC_BG_USR" select="'#666699'"/>
+       
+<xsl:variable name="COL_MPMC_BG"     select="'#8B0800'"/>
+       
+<xsl:variable name="COL_MOD_BG"      select="'#F0F0F0'"/>
+<xsl:variable name="COL_MOD_SPRT"    select="'#888888'"/>
+<xsl:variable name="COL_MOD_MPRT"    select="'#888888'"/>
+
+<xsl:variable name="COL_IORING"     select="'#000088'"/>
+<xsl:variable name="COL_IORING_LT"  select="'#CCCCFF'"/>
+<xsl:variable name="COL_SYSPRT"     select="'#0000BB'"/>
+
+<xsl:variable name="COL_INTCS">
+       <INTCCOLOR INDEX="0"    RGB="#FF9900"/> 
+       <INTCCOLOR INDEX="1"    RGB="#00CCCC"/> 
+       <INTCCOLOR INDEX="2"    RGB="#33FF33"/> 
+       <INTCCOLOR INDEX="3"    RGB="#FF00CC"/> 
+       <INTCCOLOR INDEX="4"    RGB="#99FF33"/> 
+       <INTCCOLOR INDEX="5"    RGB="#0066CC"/> 
+       <INTCCOLOR INDEX="6"    RGB="#9933FF"/> 
+       <INTCCOLOR INDEX="7"    RGB="#3300FF"/> 
+       <INTCCOLOR INDEX="8"    RGB="#00FF33"/> 
+       <INTCCOLOR INDEX="9"    RGB="#FF3333"/> 
+</xsl:variable>
+       
+<xsl:variable name="COL_BUSSTDS">
+       <BUSCOLOR BUSSTD="AXI"        RGB="#0084AB" RGB_LT="#D0E6EF" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="XIL"        RGB="#990066" RGB_LT="#CC3399" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="OCM"            RGB="#0000DD" RGB_LT="#9999DD" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="OPB"        RGB="#339900" RGB_LT="#CCDDCC" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       
+       <BUSCOLOR BUSSTD="LMB"        RGB="#7777FF" RGB_LT="#DDDDFF" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="FSL"        RGB="#CC00CC" RGB_LT="#FFBBFF" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="DCR"        RGB="#6699FF" RGB_LT="#BBDDFF" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="FCB"        RGB="#8C00FF" RGB_LT="#CCCCFF" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       
+       <BUSCOLOR BUSSTD="PLB"        RGB="#FF5500" RGB_LT="#FFBB00" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="PLBV34"     RGB="#FF5500" RGB_LT="#FFBB00" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="PLBV46"     RGB="#BB9955" RGB_LT="#FFFFDD" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="PLBV46_P2P" RGB="#BB9955" RGB_LT="#FFFFDD" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       
+       <BUSCOLOR BUSSTD="USER"       RGB="#009999" RGB_LT="#00CCCC" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="KEY"        RGB="#444444" RGB_LT="#888888" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+       <BUSCOLOR BUSSTD="GRAYSCALE"  RGB="#444444" RGB_LT="#888888" RGB_DK="#85C3D9" RGB_TXT="#FFFFFF"/>
+</xsl:variable>
+<xsl:variable name = "COL_BUSSTDS_NUMOF" select="count(exsl:node-set($COL_BUSSTDS)/BUSCOLOR)"/>
+
+<xsl:template name="F_BusStd2RGB">
+       <xsl:param name="iBusStd"  select="'USER'"/>
+       
+       <xsl:choose>
+               <xsl:when test="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = $iBusStd)]/@RGB">
+                       <xsl:value-of select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = $iBusStd)]/@RGB"/>
+               </xsl:when>
+               <xsl:otherwise>
+                       <xsl:value-of select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = 'USER')]/@RGB"/>
+               </xsl:otherwise>
+       </xsl:choose>           
+</xsl:template>        
+       
+<xsl:template name="F_BusStd2RGB_LT">
+       <xsl:param name="iBusStd"  select="'USER'"/>
+       
+       <xsl:choose>
+               <xsl:when test="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = $iBusStd)]/@RGB_LT">
+                       <xsl:value-of select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = $iBusStd)]/@RGB_LT"/>
+               </xsl:when>
+               <xsl:otherwise>
+                       <xsl:value-of select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = 'USER')]/@RGB_LT"/>
+               </xsl:otherwise>
+       </xsl:choose>           
+</xsl:template>        
+
+<xsl:template name="F_BusStd2RGB_DK">
+    <xsl:param name="iBusStd"  select="'USER'"/>
+    <xsl:choose>
+        <xsl:when test="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = $iBusStd)]/@RGB_DK">
+            <xsl:value-of select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = $iBusStd)]/@RGB_DK"/>
+        </xsl:when>
+        <xsl:otherwise>
+            <xsl:value-of select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = 'USER')]/@RGB_DK"/>
+        </xsl:otherwise>
+    </xsl:choose>       
+</xsl:template>                
+
+<xsl:template name="F_BusStd2RGB_TXT">
+    <xsl:param name="iBusStd"  select="'USER'"/>
+    <xsl:choose>
+        <xsl:when test="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = $iBusStd)]/@RGB_TXT">
+            <xsl:value-of select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = $iBusStd)]/@RGB_TXT"/>
+        </xsl:when>
+        <xsl:otherwise>
+            <xsl:value-of select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR[(@BUSSTD = 'USER')]/@RGB_TXT"/>
+        </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<xsl:template name="F_IntcIdx2RGB">
+       <xsl:param name="iIntcIdx"  select="'0'"/>
+
+       <xsl:variable name="index_" select="$iIntcIdx mod 9"/>
+
+       <xsl:choose>
+               <xsl:when test="exsl:node-set($COL_INTCS)/INTCCOLOR[(@INDEX = $index_)]/@RGB">
+                       <xsl:value-of select="exsl:node-set($COL_INTCS)/INTCCOLOR[(@INDEX = $index_)]/@RGB"/>
+               </xsl:when>
+               <xsl:otherwise>
+                       <xsl:value-of select="exsl:node-set($COL_INTCS)/INTCCOLOR[(@INDEX = '0')]/@RGB"/>
+               </xsl:otherwise>
+       </xsl:choose>           
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_Globals.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_Globals.xsl
new file mode 100644 (file)
index 0000000..c066fad
--- /dev/null
@@ -0,0 +1,168 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE stylesheet [
+       <!ENTITY UPPERCASE "ABCDEFGHIJKLMNOPQRSTUVWXYZ">
+       <!ENTITY LOWERCASE "abcdefghijklmnopqrstuvwxyz">
+       
+       <!ENTITY UPPER2LOWER " '&UPPERCASE;' , '&LOWERCASE;' ">
+       <!ENTITY LOWER2UPPER " '&LOWERCASE;' , '&UPPERCASE;' ">
+       
+       <!ENTITY ALPHALOWER "ABCDEFxX0123456789">
+       <!ENTITY HEXUPPER   "ABCDEFxX0123456789">
+       <!ENTITY HEXLOWER   "abcdefxX0123456789">
+       <!ENTITY HEXU2L     " '&HEXLOWER;' , '&HEXUPPER;' ">
+       
+       <!ENTITY ALLMODS "MODULE[(@INSTANCE)]">
+       <!ENTITY BUSMODS "MODULE[(@MODCLASS ='BUS')]">
+       <!ENTITY CPUMODS "MODULE[(@MODCLASS ='PROCESSOR')]">
+       
+       <!ENTITY MODIOFS "MODULE/IOINTERFACES/IOINTERFACE">
+       <!ENTITY ALLIOFS "&MODIOFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+       
+       <!ENTITY V11MODBIFS "MODULE/BUSINTERFACE">
+       <!ENTITY V12MODBIFS "MODULE/BUSINTERFACES/BUSINTERFACE">
+       <!ENTITY V11ALLBIFS "&V11MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and  @TYPE and @BUSSTD]">
+       <!ENTITY V12ALLBIFS "&V12MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and  @TYPE and @BUSSTD]">
+       
+       <!ENTITY V11MODPORTS "MODULE/PORT">
+       <!ENTITY V12MODPORTS "MODULE/PORTS/PORT">
+       <!ENTITY V11ALLPORTS "&V11MODPORTS;[ (not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+       <!ENTITY V12ALLPORTS "&V12MODPORTS;[ (not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+       <!ENTITY V11NDFPORTS "&V11MODPORTS;[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (not(@BUS) and not(@IOS)))]">
+       <!ENTITY V12NDFPORTS "&V12MODPORTS;[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (not(@BUS) and not(@IOS)))]">
+       <!ENTITY V11DEFPORTS "&V11MODPORTS;[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ((@BUS) or (@IOS)))]">
+       <!ENTITY V12DEFPORTS "&V12MODPORTS;[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ((@BUS) or (@IOS)))]">
+]>
+
+<!-- 
+       <!ENTITY MSTBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (@TYPE = 'MASTER')]">
+       <!ENTITY SLVBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (@TYPE = 'SLAVE')]">
+       <!ENTITY MOSBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ((@TYPE = 'MASTER') or (@TYPE = 'SLAVE'))]">
+       <!ENTITY P2PBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ((@TYPE = 'TARGET') or (@TYPE = 'INITIATOR'))]">       
+-->
+<xsl:stylesheet version="1.0"
+         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+      xmlns:exsl="http://exslt.org/common"
+      xmlns:dyn="http://exslt.org/dynamic"
+      xmlns:math="http://exslt.org/math"
+      xmlns:xlink="http://www.w3.org/1999/xlink"
+      extension-element-prefixes="math exsl dyn xlink">
+<!--   
+       ======================================================
+                       EDK SYSTEM (EDWARD) Globals.    
+       ======================================================
+-->    
+
+<xsl:variable name="G_SYS_ROOT"          select="/"/>
+<!-- 
+<xsl:variable name="G_SYS_DOC"           select="dyn:evaluate($G_SYS_ROOT)"/>
+<xsl:variable name="G_SYS_DOC"           select="dyn:evaluate($G_SYS_ROOT)"/>
+ -->
+<xsl:variable name="G_SYS"               select="$G_SYS_ROOT/EDKSYSTEM"/>
+<xsl:variable name="G_SYS_TIMESTAMP"  select="$G_SYS/@TIMESTAMP"/>
+<xsl:variable name="G_SYS_EDKVERSION" select="$G_SYS/@EDKVERSION"/>
+
+<xsl:variable name="G_SYS_INFO"          select="$G_SYS/SYSTEMINFO"/>
+<xsl:variable name="G_SYS_INFO_PKG"   select="$G_SYS_INFO/@PACKAGE"/>
+<xsl:variable name="G_SYS_INFO_DEV"   select="$G_SYS_INFO/@DEVICE"/>
+<xsl:variable name="G_SYS_INFO_ARCH"  select="$G_SYS_INFO/@ARCH"/>
+<xsl:variable name="G_SYS_INFO_SPEED" select="$G_SYS_INFO/@SPEEDGRADE"/>
+
+<xsl:variable name="G_SYS_MODS"          select="$G_SYS/MODULES"/>
+<xsl:variable name="G_SYS_EXPS"          select="$G_SYS/EXTERNALPORTS"/>
+
+<!--  INDEX KEYS FOR FAST ACCESS  -->
+<xsl:key name="G_MAP_MODULES"            match="&ALLMODS;" use="@INSTANCE"/>
+<xsl:key name="G_MAP_PROCESSORS"         match="&CPUMODS;" use="@INSTANCE"/>
+
+<xsl:key name="G_MAP_BUSSES"                     match="&BUSMODS;" use="@INSTANCE"/>
+<xsl:key name="G_MAP_BUSSES"                     match="&BUSMODS;" use="@BUSSTD"/>
+<xsl:key name="G_MAP_BUSSES"             match="&BUSMODS;" use="@BUSSTD_PSF"/>
+
+<xsl:key name="G_MAP_ALL_IOFS"           match="&ALLIOFS;" use="../../@INSTANCE"/>
+
+<xsl:key name="G_MAP_ALL_BIFS"           match="&V11ALLBIFS;" use="@TYPE"/>
+<xsl:key name="G_MAP_ALL_BIFS"           match="&V12ALLBIFS;" use="@TYPE"/>
+<xsl:key name="G_MAP_ALL_BIFS"           match="&V11ALLBIFS;" use="@BUSSTD"/>
+<xsl:key name="G_MAP_ALL_BIFS"           match="&V12ALLBIFS;" use="@BUSSTD"/>
+<xsl:key name="G_MAP_ALL_BIFS"           match="&V11ALLBIFS;" use="@BUSSTD_PSF"/>
+<xsl:key name="G_MAP_ALL_BIFS"           match="&V12ALLBIFS;" use="@BUSSTD_PSF"/>
+<xsl:key name="G_MAP_ALL_BIFS"           match="&V11ALLBIFS;" use="../@INSTANCE"/>
+<xsl:key name="G_MAP_ALL_BIFS"           match="&V12ALLBIFS;" use="../../@INSTANCE"/>
+
+<!-- 
+<xsl:key name="G_MAP_ALL_BIFS_BY_BUS" match="&ALLBIFS;" use="@BUSNAME"/>
+<xsl:key name="G_MAP_ALL_BIFS_BY_STD" match="&ALLBIFS;" use="@BUSSTD"/>
+<xsl:key name="G_MAP_ALL_BIFS_BY_STD" match="&ALLBIFS;" use="@BUSSTD_PSF"/>
+
+
+<xsl:key name="G_MAP_MST_BIFS"           match="&MSTBIFS;" use="@BUSNAME"/>
+<xsl:key name="G_MAP_SLV_BIFS"           match="&SLVBIFS;" use="@BUSNAME"/>
+<xsl:key name="G_MAP_MOS_BIFS"           match="&MOSBIFS;" use="@BUSNAME"/>
+
+<xsl:key name="G_MAP_P2P_BIFS"           match="&P2PBIFS;" use="@BUSNAME"/>
+<xsl:key name="G_MAP_P2P_BIFS"           match="&P2PBIFS;" use="@BUSSTD"/>
+<xsl:key name="G_MAP_P2P_BIFS"           match="&P2PBIFS;" use="@BUSSTD_PSF"/>
+-->
+
+<xsl:key name="G_MAP_ALL_PORTS"          match="&V11ALLPORTS;" use="../@INSTANCE"/>
+<xsl:key name="G_MAP_ALL_PORTS"          match="&V12ALLPORTS;" use="../../@INSTANCE"/>
+<xsl:key name="G_MAP_DEF_PORTS"          match="&V11DEFPORTS;" use="../@INSTANCE"/> <!-- Default ports -->
+<xsl:key name="G_MAP_DEF_PORTS"          match="&V12DEFPORTS;" use="../../@INSTANCE"/> <!-- Default ports -->
+<xsl:key name="G_MAP_NDF_PORTS"          match="&V11NDFPORTS;" use="../@INSTANCE"/> <!-- Non Default ports -->
+<xsl:key name="G_MAP_NDF_PORTS"          match="&V12NDFPORTS;" use="../../@INSTANCE"/> <!-- Non Default ports -->
+
+<xsl:variable name="G_BIFTYPES">
+
+       <BIFTYPE TYPE="SLAVE"/>
+       <BIFTYPE TYPE="MASTER"/>
+       <BIFTYPE TYPE="MASTER_SLAVE"/>
+       
+       <BIFTYPE TYPE="TARGET"/>
+       <BIFTYPE TYPE="INITIATOR"/>
+       
+       <BIFTYPE TYPE="MONITOR"/>
+       
+       <BIFTYPE TYPE="USER"/>
+       <BIFTYPE TYPE="TRANSPARENT"/>
+       
+</xsl:variable>        
+<xsl:variable name="G_BIFTYPES_NUMOF" select="count(exsl:node-set($G_BIFTYPES)/BIFTYPE)"/>
+
+<xsl:variable name="G_IFTYPES">
+    <IFTYPE TYPE="SLAVE"/>
+    <IFTYPE TYPE="MASTER"/>
+    <IFTYPE TYPE="MASTER_SLAVE"/>
+    
+    <IFTYPE TYPE="TARGET"/>
+    <IFTYPE TYPE="INITIATOR"/>
+    
+    <IFTYPE TYPE="MONITOR"/>
+    
+    <IFTYPE TYPE="USER"/>
+<!-- 
+     <IFTYPE TYPE="TRANSPARENT"/>
+--> 
+</xsl:variable> 
+<xsl:variable name="G_IFTYPES_NUMOF" select="count(exsl:node-set($G_IFTYPES)/IFTYPE)"/>
+
+<xsl:variable name="G_BUSSTDS">
+       
+       <BUSSTD NAME="AXI"/>
+       <BUSSTD NAME="XIL"/>
+       <BUSSTD NAME="OCM"/>
+       <BUSSTD NAME="OPB"/>
+       <BUSSTD NAME="LMB"/>
+       <BUSSTD NAME="FSL"/>
+       <BUSSTD NAME="DCR"/>
+       <BUSSTD NAME="FCB"/>
+       <BUSSTD NAME="PLB"/>
+       <BUSSTD NAME="PLB34"/>
+       <BUSSTD NAME="PLBV46"/>
+       <BUSSTD NAME="PLBV46_P2P"/>
+       
+       <BUSSTD NAME="USER"/>
+       <BUSSTD NAME="KEY"/>
+</xsl:variable>
+<xsl:variable name="G_BUSSTDS_NUMOF" select="count(exsl:node-set($G_BUSSTDS)/BUSSTD)"/>
+
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_StyleDefs.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtSvgDiag_StyleDefs.xsl
new file mode 100644 (file)
index 0000000..88282de
--- /dev/null
@@ -0,0 +1,584 @@
+<?xml version="1.0" standalone="no"?>
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+                
+<!-- 
+<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
+              doctype-public="-//W3C//DTD SVG 1.0//EN"
+                  doctype-system="http://www.w3.org/TR/SVG/DTD/svg10.dtd"/>
+-->                
+<!-- 
+       ======================================================
+                       Function to put TEXT CSS and other Internal
+                   Styling properties directly into the output 
+                   svg. The Qt 4.3 Renderer 
+                       cannot handle separate CSS StyleSheets
+       ======================================================
+-->    
+<xsl:template name="F_WriteText">
+
+       <xsl:param name="iClass"  select="'_UNKNOWN_'"/>
+       <xsl:param name="iText"  select="' '"/>
+       <xsl:param name="iX"     select="'0'"/>
+       <xsl:param name="iY"     select="'0'"/>
+       
+<!--
+       <xsl:message>TEXT  <xsl:value-of select="$iText"/></xsl:message>        
+       <xsl:message>CLASS <xsl:value-of select="$iClass"/></xsl:message>       
+-->    
+
+       <xsl:element name="text">
+               <xsl:attribute name="x"><xsl:value-of select="$iX"/></xsl:attribute>
+               <xsl:attribute name="y"><xsl:value-of select="$iY"/></xsl:attribute>
+               
+               <xsl:choose>
+                       
+                       <xsl:when test="$iClass = 'sharedbus_label'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'12pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Courier Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+
+                       <xsl:when test="$iClass = 'p2pbus_label'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'8pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Courier Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'p2pbus_label_horiz'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'12pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="writing-mode"><xsl:value-of select="'tb'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Courier Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       
+                       <xsl:when test="$iClass = 'bif_label'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Courier Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+               
+                       <xsl:when test="$iClass = 'bc_ipinst'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Courier Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'bc_iptype'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_XLNX"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'iogrp_label'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_IORING"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'normal'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'mpmc_title'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_WHITE"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'16pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'oblique'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'mpmc_biflabel'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_WHITE"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'8pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'normal'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'intr_symbol'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'bkt_label'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'9pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'normal'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'ipclass_label'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'9pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'normal'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'key_header'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+                       
+                       <xsl:when test="$iClass = 'key_title'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_XLNX"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'14pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>
+                       
+                       <xsl:when test="$iClass = 'key_label'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+                       
+                       <xsl:when test="$iClass = 'key_label_small'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'8pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'900'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+                       
+                       
+                       <xsl:when test="$iClass = 'key_label_ul'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'bold'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="text-decoration"><xsl:value-of select="'underline'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+                       
+                       
+                       <xsl:when test="$iClass = 'ipd_portlabel'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'8pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'normal'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'bold'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+                       
+                       <xsl:when test="$iClass = 'ipd_biflabel'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'8pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'normal'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'bold'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+                       
+                       <xsl:when test="$iClass = 'ipd_iptype'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_XLNX"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'8pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'bold'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Verdana Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+                       
+                       <xsl:when test="$iClass = 'ipd_ipname'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'8pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'bold'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Courier Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+                       
+                       <xsl:when test="$iClass = 'blkd_spec_name'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'bold'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'start'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+
+                       <xsl:when test="$iClass = 'blkd_spec_value_mid'">
+                               <xsl:attribute name="fill"><xsl:value-of select="$COL_BLACK"/></xsl:attribute>
+                               <xsl:attribute name="stroke"><xsl:value-of select="'none'"/></xsl:attribute>
+                               <xsl:attribute name="font-size"><xsl:value-of select="'10pt'"/></xsl:attribute>
+                               <xsl:attribute name="font-style"><xsl:value-of select="'italic'"/></xsl:attribute>
+                               <xsl:attribute name="font-weight"><xsl:value-of select="'bold'"/></xsl:attribute>
+                               <xsl:attribute name="text-anchor"><xsl:value-of select="'middle'"/></xsl:attribute>
+                               <xsl:attribute name="font-family"><xsl:value-of select="'Courier Arial Helvetica san-serif'"/></xsl:attribute>
+                       </xsl:when>             
+
+                       <xsl:otherwise><xsl:message>UNKNOWN Text style class <xsl:value-of select="$iClass"/></xsl:message></xsl:otherwise>
+               </xsl:choose>
+               
+               <xsl:value-of select="$iText"/>
+       </xsl:element>
+       
+</xsl:template>
+       
+</xsl:stylesheet>
+
+<!--
+       text.ioplblgrp {
+               fill:        #000088;
+               stroke:      none;
+               font-size:   10pt; 
+               font-style:  normal;
+               font-weight: 900;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+       text.iplabel {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  italic;
+               font-weight: 800;
+               text-anchor: middle;
+               font-family: Courier Arial Helvetica sans-serif;
+       }
+               
+       text.iptype {
+               fill:        #AA0017;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  italic;
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }       
+       
+       text.busintlabel {
+               fill:        #810017;
+               stroke:      none;
+               font-size:   7pt; 
+               font-style:  italic;
+               font-weight: 900;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+       text.mpmcbiflabel {
+               fill:        #FFFFFF;
+               stroke:      none;
+               font-size:   6pt; 
+               font-style:  normal;
+               font-weight: 900;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+       text.buslabel {
+               fill:        #CC3333;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  italic;
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+
+
+       text.ipclass {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   7pt; 
+               font-style:  normal;
+               font-weight: bold;
+               text-anchor: start;
+               font-family: Times Arial Helvetica sans-serif;
+       }
+
+       text.procclass {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   7pt; 
+               font-style:  normal;
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Times Arial Helvetica sans-serif;
+       }
+               
+               
+       text.portlabel {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  normal;
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+       text.ipdbiflbl {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  normal;
+               font-weight: bold;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+               
+       text.mmMHeader {
+               fill:        #FFFFFF;
+               stroke:      none;
+               font-size:   10pt; 
+               font-style:  normal;
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+       text.mmSHeader {
+               fill:        #810017;
+               stroke:      none;
+               font-size:   10pt; 
+               font-style:  normal;
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+
+
+       text.dbglabel {
+               fill:        #555555;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  normal;
+               font-weight: 900;
+               text-anchor: middle;
+               font-family: Times Arial Helvetica sans-serif;
+       }
+
+       text.iopnumb {
+               fill:        #555555;
+               stroke:      none;
+               font-size:   10pt; 
+               font-style:  normal;
+               font-weight: 900;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+
+
+       tspan.iopgrp {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  normal;
+               font-weight: 900;
+               text-anchor: middle;
+               baseline-shift:super;
+               font-family: Arial Courier san-serif;
+       }
+
+
+       text.biflabel {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   6pt; 
+               font-style:  normal;
+               font-weight: 900;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+
+       }
+
+       text.p2pbuslabel {
+               fill:         #000000;
+               stroke:       none;
+               font-size:    10pt; 
+               font-style:   italic;
+               font-weight:  bold; 
+               text-anchor:  start;
+               writing-mode: tb;
+               font-family:  Verdana Arial Helvetica sans-serif;
+       }
+
+       text.mpbuslabel {
+               fill:         #000000;
+               stroke:       none;
+               font-size:    6pt; 
+               font-style:   italic;
+               font-weight:  bold; 
+               text-anchor:  start;
+               writing-mode: tb;
+               font-family:  Verdana Arial Helvetica sans-serif;
+       }
+
+
+       text.sharedbuslabel {
+               fill:         #000000;
+               stroke:       none;
+               font-size:    10pt; 
+               font-style:   italic;
+               font-weight:  bold; 
+               text-anchor:  start;
+               font-family:  Verdana Arial Helvetica sans-serif;
+       }
+
+
+       text.splitbustxt {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   6pt; 
+               font-style:  normal;
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: sans-serif;
+       }
+
+       text.horizp2pbuslabel {
+               fill:         #000000;
+               stroke:       none;
+               font-size:    6pt; 
+               font-style:   italic;
+               font-weight:  bold; 
+               text-anchor:  start;
+               font-family:  Verdana Arial Helvetica sans-serif;
+       }
+
+
+
+       text.keytitle {
+               fill:        #AA0017;
+               stroke:      none;
+               font-size:   12pt; 
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Arial Helvetica sans-serif;
+       }
+
+       text.keyheader {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   10pt; 
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Arial Helvetica sans-serif;
+       }
+
+       text.keylabel {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  italic; 
+               font-weight: bold;
+               text-anchor: start;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+       text.keylblul {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  italic; 
+               font-weight: bold;
+               text-anchor: start;
+               text-decoration: underline;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+       text.specsheader {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   10pt; 
+               font-weight: bold;
+               text-anchor: start;
+               font-family: Arial Helvetica sans-serif;
+       }
+
+       text.specsvalue {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  italic; 
+               font-weight: bold;
+               text-anchor: start;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+       text.specsvaluemid {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-style:  italic; 
+               font-weight: bold;
+               text-anchor: middle;
+               font-family: Verdana Arial Helvetica sans-serif;
+       }
+
+       text.intrsymbol {
+               fill:        #000000;
+               stroke:      none;
+               font-size:   8pt; 
+               font-weight: bold;
+               text-anchor: start;
+               font-family: Arial Helvetica sans-serif;
+       }
+
+-->
\ No newline at end of file
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_BusLaneSpaces.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_BusLaneSpaces.xsl
new file mode 100644 (file)
index 0000000..89b6156
--- /dev/null
@@ -0,0 +1,2758 @@
+<?xml version="1.0" standalone="no"?>
+
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+           
+<!-- 
+<xsl:output method="xml" 
+                       version="1.0" 
+                       encoding="UTF-8" 
+                       indent="yes"
+               doctype-public="-//W3C//DTD SVG 1.0//EN"
+                   doctype-system="http://www.w3.org/TR/SVG/DTD/svg10.dtd"/>
+-->    
+<!-- 
+                ===========================================================
+                       Handle Bucket connections to the shared busses./
+                       
+                ===========================================================
+-->            
+       
+<xsl:template name="BCLaneSpace_BucketToSharedBus">    
+       
+       <xsl:param name="iBusStd"           select="'NONE'"/>   
+       <xsl:param name="iBifType"          select="'NONE'"/>   
+       <xsl:param name="iBusName"          select="'NONE'"/>   
+       <xsl:param name="iStackToEast"      select="'NONE'"/>   
+       <xsl:param name="iStackToWest"      select="'NONE'"/>   
+       <xsl:param name="iStackToEast_W"    select="0"/>        
+       <xsl:param name="iStackToWest_W"    select="0"/>        
+       <xsl:param name="iLaneInSpace_X"    select="0"/>        
+       <xsl:param name="iSpaceSharedBus_Y" select="0"/>        
+       
+<!--   
+       <xsl:message>Stack To East <xsl:value-of select="$iStackToEast"/></xsl:message>
+       <xsl:message>Stack to West <xsl:value-of select="$iStackToWest"/></xsl:message>
+       <xsl:message>Stack to East Width <xsl:value-of select="$iStackToEast_W"/></xsl:message>
+       <xsl:message>Stack to West Width <xsl:value-of select="$iStackToWest_W"/></xsl:message>
+       <xsl:message>Shared Bus Y <xsl:value-of select="$iSpaceSharedBus_Y"/></xsl:message>
+       <xsl:message>Lane in space X <xsl:value-of select="$iLaneInSpace_X"/></xsl:message>
+-->    
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="sbs_idx_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE= $iBusName)]/@BUS_INDEX"/>
+       <xsl:variable name="sbs_name_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@BUS_INDEX = $sbs_idx_)]/@BUSNAME"/>
+                                       
+       <xsl:variable name="sbs_bc_y_" select="($iSpaceSharedBus_Y + ($sbs_idx_ * $BLKD_SBS_LANE_H))"/>
+                                       
+       <xsl:variable name="bktshp_hori_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@BUS_INDEX = $sbs_idx_)]/@STACK_HORIZ_INDEX"/>
+       <xsl:variable name="bktshp_vert_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@BUS_INDEX = $sbs_idx_)]/@SHAPE_VERTI_INDEX"/>
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>
+       
+<!--   
+       <xsl:message>Ext Shape to West <xsl:value-of select="$extSpaceWest_W_"/></xsl:message>
+       <xsl:message>Ext Shape to East <xsl:value-of select="$extSpaceEast_W_"/></xsl:message>
+-->    
+       <xsl:variable name="bktshp_Y_">
+               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                       <xsl:with-param name="iHorizIdx"  select="$bktshp_hori_idx_"/>
+                       <xsl:with-param name="iVertiIdx"  select="$bktshp_vert_idx_"/>
+               </xsl:call-template>
+       </xsl:variable>
+                                               
+       <xsl:variable name="sbsStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+                               
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                               <xsl:if test="($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_)">
+                                       <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                               </xsl:if>       
+                               
+                               <xsl:if test="not($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_)">0</xsl:if>       
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name="vert_line_x_"   select="($iLaneInSpace_X  +  ceiling($BLKD_BIFC_W div 2))"/>
+       <xsl:variable name="vert_line_y1_"  select="($iSpaceSharedBus_Y   + ($sbs_idx_ * $BLKD_SBS_LANE_H) + ceiling($BLKD_BIFC_W div 2))"/>
+       <xsl:variable name="vert_line_y2_"  select="($bktshp_Y_ + ceiling($BLKD_MOD_W div 2) + $sbsStack_H_diff_)"/>
+       <xsl:variable name="bcInSpace_X_"   select="($iLaneInSpace_X  +  ceiling($BLKD_BIFC_W div 2) - ceiling($BLKD_BUS_ARROW_W div 2))"/>
+       
+       
+<!--   
+       <xsl:message>Shared Bus Y <xsl:value-of select="$G_SharedBus_Y"/></xsl:message>
+       <xsl:message>Vert Bus Y <xsl:value-of select="$vert_line_y1_"/></xsl:message>
+       <xsl:message>vert y1 <xsl:value-of select="$vert_line_y1_"/></xsl:message>
+       <xsl:message>vert y2 <xsl:value-of select="$vert_line_y2_"/></xsl:message>
+-->    
+       
+       <xsl:variable name="horz_line_y_"   select="$vert_line_y2_"/>
+       <xsl:variable name="horz_line_x1_"  select="$vert_line_x_"/>
+       <xsl:variable name="horz_line_x2_"  select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_)"/>
+       
+       <xsl:variable name="v_bus_ul_x_"   select="$vert_line_x_"/>
+       <xsl:variable name="v_bus_ul_y_"   select="$vert_line_y1_"/>
+       <xsl:variable name="v_bus_width_"  select="$BLKD_P2P_BUS_W"/>
+               
+       <xsl:variable name="v_bus_height_" select="(($vert_line_y2_ - $vert_line_y1_) - ceiling($BLKD_BIFC_H div 2))"/>
+       
+       <xsl:variable name="h_bus_ul_x_"   select="$v_bus_ul_x_"/>
+       <xsl:variable name="h_bus_ul_y_"   select="$vert_line_y2_   - $BLKD_BIFC_H + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+       <xsl:variable name="h_bus_width_"  select="ceiling($space_W_ div 2) + $extSpaceEast_W_"/>
+       <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+       
+<!--   
+       <xsl:variable name="h_bus_width_"  select="($space_W_ + ceiling(($extSpaceWest_W_ + $extSpaceEast_W_) div 2) - $BLKD_BIFC_W)"/>
+       <xsl:message>v bus x <xsl:value-of select="$v_bus_ul_x_"/></xsl:message>
+       <xsl:message>v bus y <xsl:value-of select="$v_bus_ul_y_"/></xsl:message>
+       <xsl:message>v bus w <xsl:value-of select="$v_bus_width_"/></xsl:message>
+       <xsl:message>v bus y1 <xsl:value-of select="$vert_line_y1_"/></xsl:message>
+       <xsl:message>v bus y2 <xsl:value-of select="$vert_line_y2_"/></xsl:message>
+       <xsl:message>v bus h <xsl:value-of select="$v_bus_height_"/></xsl:message>
+       <xsl:message>h bus w <xsl:value-of select="$h_bus_width_"/></xsl:message>
+-->    
+       
+       
+       <!-- Draw rectangular parts of the bus -->
+       <rect x="{$v_bus_ul_x_}" 
+                 y="{$v_bus_ul_y_ - 2}"  
+                 width= "{$v_bus_width_}" 
+                 height="{$v_bus_height_}" 
+                 style="stroke:none; fill:{$busColor_}"/>
+       
+       <rect x="{$h_bus_ul_x_}" 
+                 y="{$h_bus_ul_y_ - 5}"  
+                 width= "{$h_bus_width_}" 
+                 height="{$h_bus_height_}" 
+                 style="stroke:none; fill:{$busColor_}"/>
+<!--   
+-->
+               
+</xsl:template>                                        
+       
+<!--
+                ===========================================================
+                       Handle Processor's Shared bus connections.
+                ===========================================================
+-->
+       
+<xsl:template name="BCLaneSpace_ProcBifToSharedBus">   
+       
+       <xsl:param name="iBusStd"           select="'NONE'"/>   
+       <xsl:param name="iBusName"          select="'NONE'"/>   
+       <xsl:param name="iBifType"          select="'NONE'"/>   
+       <xsl:param name="iStackToEast"      select="'NONE'"/>   
+       <xsl:param name="iStackToWest"      select="'NONE'"/>   
+       <xsl:param name="iStackToEast_W"    select="0"/>        
+       <xsl:param name="iStackToWest_W"    select="0"/>        
+       <xsl:param name="iLaneInSpace_X"    select="0"/>        
+       <xsl:param name="iSpaceSharedBus_Y" select="0"/>        
+       
+<!--                                           
+       <xsl:message>Proc Bus Std  <xsl:value-of select="$iBusStd"/></xsl:message>
+       <xsl:message>Proc Bus Name <xsl:value-of select="$iBusName"/></xsl:message>
+       <xsl:message>Proc Bif Type <xsl:value-of select="$iBifType"/></xsl:message>
+-->
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="sbs_idx_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE= $iBusName)]/@BUS_INDEX"/>
+       <xsl:variable name="sbs_bc_y_" select="($iSpaceSharedBus_Y + ($sbs_idx_ * $BLKD_SBS_LANE_H))"/>
+       <xsl:variable name="procInst_" select="BUSCONN/@INSTANCE"/>
+       
+       
+<!--   
+       <xsl:message>Shared Bus Idx <xsl:value-of select="$sbs_idx_"/></xsl:message>
+       <xsl:message>Proc inst  <xsl:value-of select="$procInst_"/></xsl:message>
+-->                                            
+       
+       <xsl:variable name="procBif_Y_"    select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * BUSCONN/@BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+       <xsl:variable name="procBifName_"  select="BUSCONN/@BUSINTERFACE"/>
+       <xsl:variable name="procBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $procInst_)]/BUSINTERFACE[(@NAME = $procBifName_)]/@BIF_X"/>
+       <xsl:variable name="procBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $procInst_)]/BUSINTERFACE[(@NAME = $procBifName_)]/@TYPE"/>
+                                               
+       <xsl:variable name="procshp_hori_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $procInst_)]/@STACK_HORIZ_INDEX"/>
+       <xsl:variable name="procshp_vert_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $procInst_)]/@SHAPE_VERTI_INDEX"/>
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>
+       
+       
+<!--                                           
+       <xsl:message>Ext Space to West <xsl:value-of select="$extSpaceWest_W_"/></xsl:message>
+       <xsl:message>Ext Space to East <xsl:value-of select="$extSpaceEast_W_"/></xsl:message>
+       
+       <xsl:message>Ext Space to East <xsl:value-of select="$extSpaceEast_W_"/></xsl:message>
+       <xsl:message>Stack horiz  <xsl:value-of select="$procshp_hori_idx_"/></xsl:message>
+       <xsl:message>Stack verti  <xsl:value-of select="$procshp_vert_idx_"/></xsl:message>
+       <xsl:message>Proc Bif Y   <xsl:value-of select="$procBif_Y_"/></xsl:message>
+-->                                            
+                                               
+       <xsl:variable name="procshp_Y_">
+               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                       <xsl:with-param name="iHorizIdx"  select="$procshp_hori_idx_"/>
+                       <xsl:with-param name="iVertiIdx"  select="$procshp_vert_idx_"/>
+               </xsl:call-template>
+       </xsl:variable>
+                                               
+       
+       <xsl:variable name="procStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+               
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                               <xsl:choose>
+                                       <xsl:when test="(($procshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:when test="(($procshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:otherwise>0</xsl:otherwise>        
+                               </xsl:choose>   
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name="bc_Y_"  select="($procshp_Y_ + $procBif_Y_ + ceiling($BIF_H div 2) + $procStack_H_diff_) - ceiling($BLKD_BIFC_H div 2)"/>
+<!--   
+       <xsl:variable name="bc_x_"  select="($laneInSpace_X +  ceiling($BLKD_BIFC_W div 2))"/>
+       <xsl:variable name="bc_x_"  select="0"/>
+       <xsl:message>Test</xsl:message>
+-->    
+
+       <xsl:variable name="bc_X_">
+               <xsl:choose>
+                       <xsl:when test="$procBifSide_ = '0'">
+                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+<!--                           
+                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_)"/>
+                               <xsl:value-of select="($space_W_ -  ceiling($BLKD_MOD_W div 2))"/>
+                               <xsl:value-of select="$space_W_ + $extSpaceEast_W_"/>
+                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+-->                            
+                       </xsl:when>
+                       <xsl:when test="$procBifSide_ = '1'">
+                               <xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/>
+                       </xsl:when>
+                       <xsl:otherwise>0</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+                                               
+       <!-- Place the bus connectijon -->
+       <use   x="{$bc_X_}"   y="{$bc_Y_}"  xlink:href="#{$iBusStd}_busconn_{$procBifType_}"/>
+<!--   
+-->    
+       <xsl:variable name="vert_line_x_"   select="($iLaneInSpace_X +  ceiling($BLKD_BIFC_W div 2))"/>
+       <xsl:variable name="vert_line_y1_"  select="($procshp_Y_ + $procBif_Y_ + ceiling($BLKD_BIF_H div 2) + $procStack_H_diff_)"/>
+       <xsl:variable name="vert_line_y2_"  select="($iSpaceSharedBus_Y + ($sbs_idx_ * $BLKD_SBS_LANE_H) + ceiling($BLKD_BIFC_W div 2))"/>
+       
+<!--   
+       <xsl:message>Vert line Y1 <xsl:value-of select="$vert_line_y1_"/></xsl:message>
+       <xsl:message>Vert line Y2 <xsl:value-of select="$vert_line_y2_"/></xsl:message>
+-->            
+       
+       <xsl:variable name="v_bus_ul_y_">
+               <xsl:choose>
+                       <xsl:when test="$vert_line_y1_ &gt; $vert_line_y2_">
+                               <xsl:value-of select="$vert_line_y2_"/>
+                       </xsl:when>
+                       <xsl:when test="$vert_line_y2_ &gt; $vert_line_y1_">
+                               <xsl:value-of select="$vert_line_y1_"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       <xsl:variable name="v_bus_ul_x_">
+               <xsl:choose>
+                       <xsl:when test="@ORIENTED='WEST'">
+                               <xsl:value-of select="($vert_line_x_ + $BLKD_MOD_BIF_GAP_H)"/>
+                       </xsl:when>
+                       <xsl:when test="@ORIENTED='EAST'">
+                               <xsl:value-of select="($vert_line_x_ - $BLKD_MOD_BIF_GAP_H)"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+               
+               
+       <xsl:variable name="v_bus_width_" select="$BLKD_P2P_BUS_W"/>
+       <xsl:variable name="v_bus_height_">
+               <xsl:choose>
+                       <xsl:when test="$vert_line_y1_ &gt; $vert_line_y2_">
+                               <xsl:value-of select="($vert_line_y1_ - $vert_line_y2_) - $BLKD_P2P_BUS_W"/>
+                       </xsl:when>
+                       <xsl:when test="$vert_line_y2_ &gt; $vert_line_y1_">
+                               <xsl:value-of select="($vert_line_y2_ - $vert_line_y1_) - $BLKD_P2P_BUS_W"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+               
+       <xsl:variable name="h_bus_ul_x_">
+               <xsl:choose>
+                       <xsl:when test="@ORIENTED='WEST'">
+                               <xsl:value-of select="($bc_X_ + $BLKD_BIFC_W - ceiling(($BLKD_BIFC_W - $BLKD_BIFC_Wi) div 2))"/>
+<!--                           
+                               <xsl:value-of select="$v_bus_ul_x_"/>
+-->    
+                       </xsl:when>
+                       <xsl:when test="@ORIENTED='EAST'">
+                               <xsl:value-of select="$v_bus_ul_x_"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+               
+               <xsl:variable name="h_bus_ul_y_">
+                       <xsl:choose>
+                               <xsl:when test="$vert_line_y1_ &gt; $vert_line_y2_">
+                                       <xsl:value-of select="$vert_line_y2_ - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                               </xsl:when>
+                               <xsl:when test="$vert_line_y2_ &gt; $vert_line_y1_">
+                                       <xsl:value-of select="$vert_line_y1_ - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+       
+       
+               <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+               <xsl:variable name="h_bus_width_">
+                       <xsl:choose>
+                               <xsl:when test="@ORIENTED='WEST'">
+                                       <xsl:value-of select="$v_bus_ul_x_ - $h_bus_ul_x_ + $BLKD_P2P_BUS_W"/>
+                               </xsl:when>
+                               <xsl:when test="@ORIENTED='EAST'">
+                                       <xsl:value-of select="($bc_X_ - $v_bus_ul_x_) + ceiling(($BLKD_BIFC_W - $BLKD_BIFC_Wi) div 2) + 1"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+                       
+<!--                   
+               <xsl:if test="(@ORIENTED = 'WEST')">
+               </xsl:if>
+                       
+               <xsl:message>bc_X_  <xsl:value-of select="$bc_X_"/></xsl:message>
+               <xsl:message>v_bus_ul_x  <xsl:value-of select="$v_bus_ul_x_"/></xsl:message>
+               <xsl:message>h_bus_width <xsl:value-of select="$h_bus_width_"/></xsl:message>
+               <xsl:message>h_bus_ul_y  <xsl:value-of select="$h_bus_ul_y_"/></xsl:message>
+-->    
+                       
+               <rect x="{$v_bus_ul_x_}" 
+                         y="{$v_bus_ul_y_ + 2}"  
+                         width= "{$v_bus_width_}" 
+                         height="{$v_bus_height_}" 
+                         style="stroke:none; fill:{$busColor_}"/>
+               
+               <rect x="{$h_bus_ul_x_}" 
+                         y="{$h_bus_ul_y_}"  
+                         width= "{$h_bus_width_}" 
+                         height="{$h_bus_height_}" 
+                         style="stroke:none; fill:{$busColor_}"/>
+</xsl:template>                                        
+       
+<!--
+                ===========================================================
+                       Handle non Processor Sharedebus connections.
+                ===========================================================
+-->
+                               
+<xsl:template name="BCLaneSpace_NonProcBifToSharedBus">        
+       
+       <xsl:param name="iBusStd"           select="'NONE'"/>   
+       <xsl:param name="iBifType"          select="'NONE'"/>   
+       <xsl:param name="iBusName"          select="'NONE'"/>   
+       <xsl:param name="iStackToEast"      select="'NONE'"/>   
+       <xsl:param name="iStackToWest"      select="'NONE'"/>   
+       <xsl:param name="iStackToEast_W"    select="0"/>        
+       <xsl:param name="iStackToWest_W"    select="0"/>        
+       <xsl:param name="iLaneInSpace_X"    select="0"/>        
+       <xsl:param name="iSpaceSharedBus_Y" select="0"/>        
+       
+                                               
+       <xsl:variable name="sbs_idx_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE= $iBusName)]/@BUS_INDEX"/>
+       <xsl:variable name="sbs_bc_y_" select="($iSpaceSharedBus_Y + ($sbs_idx_ * $BLKD_SBS_LANE_H))"/>
+<!--   
+       <xsl:variable name="sbs_bc_y_" select="($G_SharedBus_Y + ($sbs_idx_ * $BLKD_SBS_LANE_H))"/>
+-->    
+                                               
+       <xsl:variable name="cmplxInst_" select="BUSCONN/@INSTANCE"/>
+                                               
+       <xsl:variable name="cmplxBif_Y_"    select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * BUSCONN/@BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+       <xsl:variable name="cmplxBifName_"  select="BUSCONN/@BUSINTERFACE"/>
+       <xsl:variable name="cmplxBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $cmplxInst_)]/BUSINTERFACE[(@NAME = $cmplxBifName_)]/@BIF_X"/>
+       <xsl:variable name="cmplxBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $cmplxInst_)]/BUSINTERFACE[(@NAME = $cmplxBifName_)]/@TYPE"/>
+                                               
+       <xsl:variable name="cmplxshp_hori_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $cmplxInst_)])]/@STACK_HORIZ_INDEX"/>
+       <xsl:variable name="cmplxshp_vert_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $cmplxInst_)])]/@SHAPE_VERTI_INDEX"/>
+                                               
+       <xsl:variable name="is_abvSbs_" select="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[MODULE[(@INSTANCE = $cmplxInst_)]]/@IS_ABVSBS)"/>
+       <xsl:variable name="is_blwSbs_" select="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[MODULE[(@INSTANCE = $cmplxInst_)]]/@IS_BLWSBS)"/>
+       
+<!--                                           
+       <xsl:message>iStackToEast <xsl:value-of select="$iStackToEast"/></xsl:message>
+       <xsl:message>iStackToWest <xsl:value-of select="$iStackToWest"/></xsl:message>
+       <xsl:message><xsl:value-of select="$cmplxInst_"/> : <xsl:value-of select="$is_blwSbs_"/></xsl:message>
+       <xsl:message><xsl:value-of select="$cmplxInst_"/> : <xsl:value-of select="$is_abvSbs_"/></xsl:message>
+       <xsl:message><xsl:value-of select="$cmplxInst_"/> : <xsl:value-of select="$is_blwSbs_"/></xsl:message>
+       <xsl:message><xsl:value-of select="$cmplxInst_"/> : <xsl:value-of select="$is_abvSbs_"/></xsl:message>
+       <xsl:message>Stack horiz  <xsl:value-of select="$cmplxshp_hori_idx_"/></xsl:message>
+       <xsl:message>Stack verti  <xsl:value-of select="$cmplxshp_vert_idx_"/></xsl:message>
+       <xsl:message>Proc Bif Y   <xsl:value-of select="$procBif_Y_"/></xsl:message>
+-->                                            
+       
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>                                         
+       
+       <xsl:variable name="cmplxshp_Y_">
+               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                       <xsl:with-param name="iHorizIdx"  select="$cmplxshp_hori_idx_"/>
+                       <xsl:with-param name="iVertiIdx"  select="$cmplxshp_vert_idx_"/>
+               </xsl:call-template>
+       </xsl:variable>
+       
+<!--   
+       <xsl:message>Complex shape Y <xsl:value-of select="$cmplxshp_Y_"/></xsl:message>
+-->    
+       
+       <xsl:variable name="stackToEast_">
+               <xsl:choose>
+                       <xsl:when test="not($iStackToEast = 'NONE')"><xsl:value-of select="$iStackToEast"/></xsl:when>
+                       <xsl:otherwise>NONE</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       <xsl:variable name="stackToWest_">
+               <xsl:choose>
+                       <xsl:when test=" not($iStackToWest = 'NONE')"><xsl:value-of select="$iStackToWest"/></xsl:when>
+                       <xsl:when test="(not($iStackToEast = 'NONE') and not($iStackToEast = '0'))"><xsl:value-of select="($iStackToEast - 1)"/></xsl:when>
+                       <xsl:otherwise>NONE</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable> 
+       
+                                               
+       <xsl:variable name="cmplxStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($stackToEast_ = 'NONE') or ($stackToWest_ = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($stackToEast_ = 'NONE') or ($stackToWest_ = 'NONE'))">
+                               
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$stackToWest_"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$stackToEast_"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                               <xsl:choose>
+                                       <xsl:when test="(($cmplxshp_hori_idx_ = $stackToEast_) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:when test="(($cmplxshp_hori_idx_ = $stackToWest_) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:otherwise>0</xsl:otherwise>        
+                               </xsl:choose>   
+                                                                       
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+       
+       
+       <xsl:variable name="bc_Y_"  select="($cmplxshp_Y_ + $cmplxBif_Y_ + ceiling($BIF_H div 2) + $cmplxStack_H_diff_) - ceiling($BLKD_BIFC_H div 2)"/>
+       
+       
+<!--   
+       <xsl:message>Sstack H Diff  <xsl:value-of select="$cmplxStack_H_diff_"/></xsl:message>
+       <xsl:message>BC Y <xsl:value-of select="$bc_Y_"/></xsl:message>
+       <xsl:variable name="bc_x_"  select="($laneInSpace_X +  ceiling($BLKD_BIFC_W div 2))"/>
+       <xsl:variable name="bc_x_"  select="0"/>
+-->    
+       <xsl:variable name="bc_X_">
+               <xsl:choose>
+                       <xsl:when test="$cmplxBifSide_ = '0'">
+                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+                       </xsl:when>
+                       <xsl:when test="$cmplxBifSide_ = '1'">
+                               <xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/>
+                       </xsl:when>
+                       <xsl:otherwise>0</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       <use   x="{$bc_X_}"   y="{$bc_Y_}"  xlink:href="#{$iBusStd}_busconn_{$cmplxBifType_}"/>
+       
+       <xsl:variable name="vert_line_x_"  select="($iLaneInSpace_X +  ceiling($BLKD_BIFC_W div 2))"/>
+       <xsl:variable name="vert_line_y1_" select="($cmplxshp_Y_ + $cmplxBif_Y_ + ceiling($BLKD_BIF_H div 2) + $cmplxStack_H_diff_)"/>
+       <xsl:variable name="vert_line_y2_"  select="($iSpaceSharedBus_Y  + ($sbs_idx_ * $BLKD_SBS_LANE_H) + ceiling($BLKD_BIFC_W div 2))"/>
+       
+       <xsl:variable name="v_bus_ul_y_">
+               <xsl:choose>
+                       <xsl:when test="$vert_line_y1_ &gt; $vert_line_y2_">
+                               <xsl:value-of select="$vert_line_y2_"/>
+                       </xsl:when>
+                       <xsl:when test="$vert_line_y2_ &gt; $vert_line_y1_">
+                               <xsl:value-of select="$vert_line_y1_"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       <xsl:variable name="v_bus_ul_x_">
+               <xsl:choose>
+                       <xsl:when test="@ORIENTED='WEST'">
+                               <xsl:value-of select="($vert_line_x_ + $BLKD_MOD_BIF_GAP_H)"/>
+                       </xsl:when>
+                       <xsl:when test="@ORIENTED='EAST'">
+                               <xsl:value-of select="($vert_line_x_ - $BLKD_MOD_BIF_GAP_H)"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+               
+       <xsl:variable name="v_bus_width_" select="$BLKD_P2P_BUS_W"/>
+       <xsl:variable name="v_bus_height_">
+               <xsl:choose>
+                       <xsl:when test="$vert_line_y1_ &gt; $vert_line_y2_">
+                               <xsl:value-of select="($vert_line_y1_ - $vert_line_y2_) - $BLKD_P2P_BUS_W + 8"/>
+                       </xsl:when>
+                       <xsl:when test="$vert_line_y2_ &gt; $vert_line_y1_">
+                               <xsl:value-of select="($vert_line_y2_ - $vert_line_y1_) - $BLKD_P2P_BUS_W + 8"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+               
+       <xsl:variable name="h_bus_ul_x_">
+               <xsl:choose>
+                       <xsl:when test="@ORIENTED='WEST'">
+                               <xsl:value-of select="($bc_X_ + $BLKD_BIFC_W - ceiling(($BLKD_BIFC_W - $BLKD_BIFC_Wi) div 2))"/>
+                       </xsl:when>
+                       <xsl:when test="@ORIENTED='EAST'">
+                               <xsl:value-of select="$v_bus_ul_x_"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+               
+       <xsl:variable name="h_bus_ul_y_">
+               <xsl:choose>
+                       
+                       <xsl:when test="($is_blwSbs_ = 'TRUE') and ($vert_line_y1_ &gt; $vert_line_y2_)">
+                               <xsl:value-of select="$vert_line_y1_ - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                       </xsl:when>
+                       <xsl:when test="($is_blwSbs_ = 'TRUE') and ($vert_line_y2_ &gt; $vert_line_y1_)">
+                               <xsl:value-of select="$vert_line_y2_ - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                       </xsl:when>
+                       
+                       <xsl:when test="($is_abvSbs_ = 'TRUE') and ($vert_line_y1_ &gt; $vert_line_y2_)">
+                               <xsl:value-of select="$vert_line_y2_ - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                       </xsl:when>
+                       <xsl:when test="($is_abvSbs_ = 'TRUE') and ($vert_line_y2_ &gt; $vert_line_y1_)">
+                               <xsl:value-of select="$vert_line_y1_ - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                       </xsl:when>
+                       
+               </xsl:choose>
+       </xsl:variable> 
+       
+       
+       <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+       <xsl:variable name="h_bus_width_">
+               <xsl:choose>
+                       <xsl:when test="@ORIENTED='WEST'">
+                               <xsl:value-of select="$v_bus_ul_x_ - $h_bus_ul_x_ + $BLKD_P2P_BUS_W"/>
+                       </xsl:when>
+                       <xsl:when test="@ORIENTED='EAST'">
+                               <xsl:value-of select="($bc_X_ - $v_bus_ul_x_) + ceiling(($BLKD_BIFC_W - $BLKD_BIFC_Wi) div 2) + 1"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+       
+                       
+       <rect x="{$v_bus_ul_x_}" 
+                 y="{$v_bus_ul_y_ - 2}"  
+                 width= "{$v_bus_width_}" 
+                 height="{$v_bus_height_}" 
+                 style="stroke:none; fill:{$busColor_}"/>
+               
+       <rect x="{$h_bus_ul_x_}" 
+                 y="{$h_bus_ul_y_}"  
+                 width= "{$h_bus_width_}" 
+                 height="{$h_bus_height_}" 
+                 style="stroke:none; fill:{$busColor_}"/>
+               
+</xsl:template>                                        
+       
+<!-- 
+                ===========================================================
+                       Handle connections from processors to Memory UNITs
+                ===========================================================
+-->
+       
+       
+<xsl:template name="BCLaneSpace_ProcBifToMemoryUnit">  
+       
+       <xsl:param name="iBusStd"        select="'NONE'"/>      
+       <xsl:param name="iBusName"       select="'NONE'"/>      
+       <xsl:param name="iBifType"       select="'NONE'"/>      
+       <xsl:param name="iStackToEast"   select="'NONE'"/>      
+       <xsl:param name="iStackToWest"   select="'NONE'"/>      
+       <xsl:param name="iStackToEast_W" select="0"/>   
+       <xsl:param name="iStackToWest_W" select="0"/>   
+       <xsl:param name="iLaneInSpace_X" select="0"/>   
+       
+       <xsl:variable name="bcInSpace_X_"  select="$iLaneInSpace_X"/>
+       <xsl:variable name="procInstance_" select="BUSCONN[@IS_PROCCONN]/@INSTANCE"/>
+       <xsl:variable name="mem_procshp_hori_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $procInstance_)]/@STACK_HORIZ_INDEX"/>
+       <xsl:variable name="mem_procshp_vert_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $procInstance_)]/@SHAPE_VERTI_INDEX"/>
+                                               
+       <xsl:variable name="mem_procshp_Y_">
+               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                       <xsl:with-param name="iHorizIdx"  select="$mem_procshp_hori_idx_"/>
+                       <xsl:with-param name="iVertiIdx"  select="$mem_procshp_vert_idx_"/>
+               </xsl:call-template>
+       </xsl:variable>
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>                                                 
+       
+       <xsl:variable name="cmplxStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+                               
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                               <xsl:choose>
+                                       <xsl:when test="(($mem_procshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:when test="(($mem_procshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:otherwise>0</xsl:otherwise>        
+                               </xsl:choose>   
+                                                                       
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+                                               
+       <xsl:variable name="mem_procStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+       
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                       <xsl:choose>
+                               <xsl:when test="(($mem_procshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                       <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                               </xsl:when>     
+                               <xsl:when test="(($mem_procshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                       <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                               </xsl:when>     
+                               <xsl:otherwise>0</xsl:otherwise>        
+                       </xsl:choose>   
+                                                                       
+               </xsl:when>
+       </xsl:choose>
+  </xsl:variable>
+                                               
+       <!-- Store the conns in a variable -->  
+       <xsl:variable name="memConn_heights_">
+
+               <xsl:for-each select="BUSCONN">
+                                                               
+                       <xsl:variable name="bifName_"       select="@BUSINTERFACE"/>
+                       
+                                                       
+                       <xsl:choose>
+                               <xsl:when test="@IS_PROCCONN and @BIF_Y">
+                                                       
+                                       <xsl:variable name="procBif_Y_"    select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * @BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                       <xsl:variable name="procBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $procInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+                                       <xsl:variable name="procBusName_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $procInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSNAME"/>
+                                       <xsl:variable name="procBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $procInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                       <xsl:variable name="bcProc_Y_"     select="($mem_procshp_Y_ + $procBif_Y_ + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $mem_procStack_H_diff_)"/>
+                                       <xsl:variable name="bcProc_X_">
+                                               <xsl:choose>
+                                                       <xsl:when test="$procBifSide_ = '0'">
+                                                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+                                                       </xsl:when>
+                                                       <xsl:when test="$procBifSide_ = '1'">
+                                                               <xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>0</xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                               
+                                       <MEMCONN X="{$bcProc_X_}" Y="{$bcProc_Y_}" BUSNAME="{$procBusName_}" BUSSTD="{$iBusStd}" TYPE="{$procBifType_}" BIFSIDE="{$procBifSide_}"/>
+                                                                               
+                               </xsl:when>
+                                                                       
+                               <xsl:otherwise>
+                                                                       
+                                       <xsl:variable name="memcInstance_"     select="@INSTANCE"/>
+                                       <xsl:variable name="memcshp_vert_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[MODULE[(@INSTANCE = $memcInstance_)]]/@SHAPE_VERTI_INDEX"/>
+                                       <xsl:variable name="memcBifSide_"      select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $memcInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                       <xsl:variable name="memcBif_Y_"        select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $memcInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_Y"/>
+                                                                               
+                                       <xsl:variable name="memshp_Y_">
+                                               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                                                       <xsl:with-param name="iHorizIdx"  select="$mem_procshp_hori_idx_"/>
+                                                       <xsl:with-param name="iVertiIdx"  select="$memcshp_vert_idx_"/>
+                                               </xsl:call-template>
+                                   </xsl:variable>
+                                       
+                                       <xsl:variable name="memcMOD_W_" select="(($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[MODULE[(@INSTANCE = $memcInstance_)]]/@MODS_W) * $BLKD_MOD_W)"/>
+                                                                               
+                                       <xsl:variable name="procBif_Y_"   select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * @BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                       
+                                       <xsl:variable name="memcConn_Y_">
+                                               <xsl:choose>
+                                                       <xsl:when test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[MODULE[(@INSTANCE = $memcInstance_)]]/@MODS_H = 1)">
+                                                               <xsl:value-of  select="($memshp_Y_ + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V) +  ($memcBif_Y_ * ($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V)) + ceiling($BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $cmplxStack_H_diff_)"/>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <xsl:value-of  select="($memshp_Y_ + $BLKD_MOD_H + $BLKD_MOD_LANE_H + ($memcBif_Y_ * ($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V)) + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $cmplxStack_H_diff_)"/>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                       
+                                       <xsl:variable name="memcConn_X_">
+                                               <xsl:choose>
+                                                       <xsl:when test="$memcBifSide_ = '0'">
+                                                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($memcMOD_W_ div 2) + $BLKD_BIFC_W))"/>
+                                                       </xsl:when>
+                                                       <xsl:when test="$memcBifSide_ = '1'">
+                                                               <xsl:value-of select="ceiling($memcMOD_W_ div 2)"/>
+                                                       </xsl:when>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                               
+                                       <xsl:variable name="memcBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $memcInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+                                       <xsl:variable name="memcBusName_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $memcInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSNAME"/>
+                                       
+                                       <MEMCONN X="{$memcConn_X_}" Y="{$memcConn_Y_}" BUSNAME="{$memcBusName_}" BUSSTD="{$iBusStd}" TYPE="{$memcBifType_}" BIFSIDE="{$memcBifSide_}"/>
+                                       
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
+       </xsl:variable>
+                                               
+                                               
+       <!-- Draw the busconnection and horizontal lines.-->                                            
+       <xsl:for-each select="exsl:node-set($memConn_heights_)/MEMCONN">
+                                                       
+               <xsl:variable name="bus_x_" select="($bcInSpace_X_ + ceiling($BLKD_BIFC_W div 2))"/>
+               <xsl:variable name="bus_y_" select="@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+               
+               <xsl:variable name="adjusted_X_">
+                       <xsl:choose>
+                               <xsl:when test="((@X &lt; ($bus_x_ + $BLKD_BUS_ARROW_W)) and (@BIFSIDE ='0'))">
+                                       <xsl:value-of select="(@X + $BLKD_P2P_BUS_W)"/>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <xsl:value-of select="@X"/>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:variable>
+               
+               <xsl:variable name="h_bus_ul_x_dx_">
+                       <xsl:choose>
+                               <xsl:when test="((@X &lt; ($bus_x_ + $BLKD_BUS_ARROW_W)) and (@BIFSIDE='0'))">
+                                       <xsl:value-of select="$BLKD_P2P_BUS_W"/>
+                               </xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>
+               </xsl:variable>
+               
+               <xsl:variable name="h_bus_ul_x_">
+                       <xsl:choose>
+                               <xsl:when test="@BIFSIDE='0'">
+                                       <xsl:value-of select="($bus_x_ - $h_bus_ul_x_dx_)"/>
+                               </xsl:when>
+                               <xsl:when test="@BIFSIDE='1'">
+                                       <xsl:value-of select="(@X + $BLKD_BIFC_W + $BLKD_BUS_ARROW_W)"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+               
+               <xsl:variable name="h_bus_ul_y_" select="$bus_y_"/>
+       
+               <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+               <xsl:variable name="h_bus_width_">
+                       <xsl:choose>
+                               <xsl:when test="@BIFSIDE='0'">
+                                       <xsl:value-of select="($adjusted_X_ - $bus_x_ - $BLKD_BUS_ARROW_W)"/>
+                               </xsl:when>
+                               <xsl:when test="@BIFSIDE='1'">
+                                       <xsl:value-of select="$bus_x_ - $h_bus_ul_x_"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+               
+               <!-- Place the bus connection -->
+               <use   x="{@X}"   y="{@Y}"  xlink:href="#{@BUSSTD}_busconn_{@TYPE}"/>
+               
+               <!-- Draw the arrow -->
+               <xsl:choose>
+                       <xsl:when test="@BIFSIDE='0'">
+                               <use   x="{@X - $BLKD_BUS_ARROW_W}"   y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowEast"/>
+                       </xsl:when>
+                       <xsl:when test="@BIFSIDE='1'">
+                               <use   x="{(@X + $BLKD_BIFC_W)}" y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowWest"/>
+                       </xsl:when>
+               </xsl:choose>
+               
+               
+               <!-- Draw the horizontal part of the bus -->
+               <rect x="{$h_bus_ul_x_}" 
+                         y="{$h_bus_ul_y_}"  
+                         width= "{$h_bus_width_}" 
+                         height="{$h_bus_height_}" 
+                         style="stroke:none; fill:{$busColor_}"/>
+       </xsl:for-each>
+       
+       <xsl:variable name="busTop_"      select="math:min(exsl:node-set($memConn_heights_)/MEMCONN/@Y)"/>
+       <xsl:variable name="busBot_"      select="math:max(exsl:node-set($memConn_heights_)/MEMCONN/@Y)"/>
+       <xsl:variable name="busName_"     select="exsl:node-set($memConn_heights_)/MEMCONN/@BUSNAME"/>
+       <xsl:variable name="busSide_"     select="exsl:node-set($memConn_heights_)/MEMCONN/@BIFSIDE"/>
+       <xsl:variable name="leftmost_x_"  select="math:min(exsl:node-set($memConn_heights_)/MEMCONN/@X)"/>
+       
+<!--  Hack to fix CR473515 -->
+       <xsl:variable name="v_bus_x_dx_">
+               <xsl:choose> 
+                       <xsl:when test="(($busSide_ = '0') and (($leftmost_x_ - ($bcInSpace_X_ + $BLKD_P2P_BUS_W)) &lt;= $BLKD_P2P_BUS_W))">-4</xsl:when>
+                       <xsl:otherwise><xsl:value-of select="$BLKD_P2P_BUS_W"/></xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       
+       <xsl:variable name="v_bus_y_" select="$busTop_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+       <xsl:variable name="v_bus_x_">
+               <xsl:choose>
+                       <xsl:when test="$busSide_ ='0'">
+                               <xsl:value-of select="($bcInSpace_X_ + $v_bus_x_dx_)"/>
+                       </xsl:when>
+                       <xsl:when test="$busSide_ ='1'">
+                               <xsl:value-of select="($bcInSpace_X_ + $BLKD_P2P_BUS_W)"/>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       <!-- Draw the vertical part of the bus -->      
+       <rect x="{$v_bus_x_}" 
+                 y="{$v_bus_y_}"  
+                 width= "{$BLKD_P2P_BUS_W}" 
+                 height="{($busBot_ - $busTop_) + $BLKD_P2P_BUS_W}" 
+                 style="stroke:none; fill:{$busColor_}"/>
+
+<!--  Hack to fix CR473515 -->
+       <xsl:if test="($busSide_ ='0')">
+               <rect x="{$v_bus_x_}" 
+                         y="{$v_bus_y_   + ($busBot_ - $busTop_)}" 
+                     width= "{$BLKD_P2P_BUS_W * 2}" 
+                     height="{$BLKD_P2P_BUS_W}" 
+                     style="stroke:none; fill:{$busColor_}"/>
+       </xsl:if>
+                         
+<!--   
+       <xsl:message>v_bus_x  <xsl:value-of select="$v_bus_x_"/></xsl:message>
+-->    
+
+       <!-- Place the bus label.-->    
+<!-- 
+       <text class="p2pbuslabel" 
+                         x="{$bcInSpace_X_   + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 6}"
+                         y="{$busTop_ + ($BLKD_BUS_ARROW_H * 3)}">
+                       <xsl:value-of select="$busName_"/>
+       </text> 
+-->    
+       
+       <xsl:call-template name="F_WriteText">
+               <xsl:with-param name="iX"               select="($bcInSpace_X_   + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 6)"/>
+               <xsl:with-param name="iY"               select="($busTop_ + ($BLKD_BUS_ARROW_H * 3))"/>
+               <xsl:with-param name="iText"    select="$busName_"/>
+               <xsl:with-param name="iClass"   select="'p2pbus_label'"/>
+       </xsl:call-template>
+                         
+</xsl:template>                                        
+       
+       
+<!-- 
+                ===========================================================
+                       Handle generic Point to Point connections
+                ===========================================================
+-->
+       
+<xsl:template name="BCLaneSpace_PointToPoint"> 
+       
+       <xsl:param name="iBusStd"        select="'NONE'"/>      
+       <xsl:param name="iBifType"       select="'NONE'"/>      
+       <xsl:param name="iBusName"       select="'NONE'"/>      
+       <xsl:param name="iStackToEast"   select="'NONE'"/>      
+       <xsl:param name="iStackToWest"   select="'NONE'"/>      
+       <xsl:param name="iStackToEast_W" select="0"/>   
+       <xsl:param name="iStackToWest_W" select="0"/>   
+       <xsl:param name="iLaneInSpace_X" select="0"/>   
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       <xsl:variable name="busColor_lt_">
+               <xsl:call-template name="F_BusStd2RGB_LT">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>                                                 
+       
+       <xsl:variable name="bcInSpace_X_"  select="($iLaneInSpace_X +  ceiling($BLKD_BIFC_W div 2) - ceiling($BLKD_BUS_ARROW_W div 2))"/>
+       <xsl:variable name="p2pInstance_" select="BUSCONN[(@BIF_Y)]/@INSTANCE"/>
+                                       
+       <xsl:variable name="p2pshp_hori_idx_">
+               <xsl:choose>
+                       <xsl:when test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $p2pInstance_)]">
+                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $p2pInstance_)]/@STACK_HORIZ_INDEX"/>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $p2pInstance_)])]/@STACK_HORIZ_INDEX"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>         
+                                       
+       <xsl:variable name="p2pshp_vert_idx_">
+               <xsl:choose>
+                       <xsl:when test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $p2pInstance_)]">
+                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $p2pInstance_)]/@SHAPE_VERTI_INDEX"/>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $p2pInstance_)])]/@SHAPE_VERTI_INDEX"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>         
+                                       
+<!--                                   
+                                       <xsl:variable name="p2pshp_hori_idx_" select="/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $procInstance_)]/@STACK_HORIZ_INDEX"/>
+                                       <xsl:variable name="p2pshp_vert_idx_" select="/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $procInstance_)]/@SHAPE_VERTI_INDEX"/>
+-->                                    
+                                               
+       <xsl:variable name="p2pshp_Y_">
+               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                       <xsl:with-param name="iHorizIdx"  select="$p2pshp_hori_idx_"/>
+                       <xsl:with-param name="iVertiIdx"  select="$p2pshp_vert_idx_"/>
+               </xsl:call-template>
+       </xsl:variable>
+                       
+       <xsl:variable name="cmplxStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+                               
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                               <xsl:choose>
+                                       <xsl:when test="(($p2pshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:when test="(($p2pshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:otherwise>0</xsl:otherwise>        
+                               </xsl:choose>   
+                                                                       
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+                                               
+                                                                                                                                                               
+       <xsl:variable name="procStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+                       
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                               <xsl:choose>
+                                       <xsl:when test="(($p2pshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:when test="(($p2pshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:otherwise>0</xsl:otherwise>        
+                               </xsl:choose>   
+                                                                       
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+                                               
+       
+       
+       <!-- Store the conns in a variable -->  
+       <xsl:variable name="p2pConn_heights_">
+       
+               <xsl:for-each select="BUSCONN">
+                                                                       
+                       <xsl:variable name="bifName_" select="@BUSINTERFACE"/>
+                                                       
+                               <xsl:choose>
+                                       <xsl:when test="@IS_PROCCONN and @BIF_Y">
+                                                                               
+<!--                                                                           
+                                                                               <xsl:message>Proc <xsl:value-of select="$procInstance_"/></xsl:message>
+-->                                                                            
+                                               <xsl:variable name="procBif_Y_"   select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * @BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                               <xsl:variable name="procBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $p2pInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+                                               <xsl:variable name="procBusName_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $p2pInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSNAME"/>
+                                               <xsl:variable name="procBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $p2pInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                                                               
+                                               <xsl:variable name="bcProc_Y_"     select="($p2pshp_Y_ + $procBif_Y_ + ceiling($BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $procStack_H_diff_)"/>
+                                               <xsl:variable name="bcProc_X_">
+                                                       <xsl:choose>
+                                                               <xsl:when test="$procBifSide_ = '0'">
+                                                                       <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+                                                               </xsl:when>
+                                                               <xsl:when test="$procBifSide_ = '1'">
+                                                                       <xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/>
+                                                               </xsl:when>
+                                                               <xsl:otherwise>0</xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:variable>
+                                               
+                                               <P2PCONN X="{$bcProc_X_}" Y="{$bcProc_Y_}" BUSNAME= "{$procBusName_}" BUSSTD="{$iBusStd}" TYPE="{$procBifType_}" BIFSIDE="{$procBifSide_}"/>
+                                                                               
+<!--                                           
+                                               <xsl:message>bcProc_X_ <xsl:value-of select="$bcProc_X_"/></xsl:message>
+                                               <xsl:message>bcProc_Y_ <xsl:value-of select="$bcProc_Y_"/></xsl:message>
+                                               <P2PCONN X="{$bcInSpace_X_}" Y="{$bcProc_Y_}" BUSSTD="{$busStd}" TYPE="{$procBifType_}" BIFSIDE="{$procBifSide_}" STACK_ID=""/>
+-->                                            
+                                       </xsl:when>
+                                                                       
+                                       <xsl:otherwise>
+                                                                               
+                                               <xsl:variable name="modInstance_"     select="@INSTANCE"/>
+                                               <xsl:variable name="modshp_vert_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[MODULE[(@INSTANCE = $modInstance_)]]/@SHAPE_VERTI_INDEX"/>
+                                               <xsl:variable name="modBifSide_"      select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                               <xsl:variable name="modBif_Y_"        select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_Y"/>
+                                               <xsl:variable name="modBc_Y_"         select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * $modBif_Y_) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                                                               
+<!--                                                                           
+                                               <xsl:message>Memory Instance <xsl:value-of select="$procInstance_"/></xsl:message>
+-->                                                                            
+                                               
+                                               <xsl:variable name="modshp_Y_">
+                                                       <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                                                               <xsl:with-param name="iHorizIdx"  select="$p2pshp_hori_idx_"/>
+                                                               <xsl:with-param name="iVertiIdx"  select="$modshp_vert_idx_"/>
+                                                       </xsl:call-template>
+                                               </xsl:variable>
+                                                                               
+                                               <xsl:variable name="modBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+                                               <xsl:variable name="modBusName_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSNAME"/>
+                                               <xsl:variable name="bcMod_Y_"     select="($modshp_Y_ + $modBc_Y_ + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $cmplxStack_H_diff_)"/>
+                                               <xsl:variable name="bcMod_X_">
+                                                       <xsl:choose>
+                                                               <xsl:when test="$modBifSide_ = '0'">
+                                                                       <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+                                                               </xsl:when>
+                                                               <xsl:when test="$modBifSide_ = '1'">
+                                                                       <xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/>
+                                                               </xsl:when>
+                                                               <xsl:otherwise>0</xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:variable>
+                                               
+<!--                                                                           
+                                               <xsl:message>Bc Bif Y <xsl:value-of select="$modBif_Y_"/></xsl:message> 
+                                               <xsl:message>Bc Mod Y <xsl:value-of select="$modBc_Y_"/></xsl:message>  
+                                               <xsl:message>Bc Mod X <xsl:value-of select="$bcMod_X_"/></xsl:message>  
+                                               <P2PCONN X="{$bcInSpace_X_}" Y="{$bcMod_Y_}" BUSSTD="{$busStd}" TYPE="{$modBifType_}" BIFSIDE="{$modBifSide_}"/>
+-->                                                                            
+                                               <P2PCONN X="{$bcMod_X_}" Y="{$bcMod_Y_}" BUSNAME="{$modBusName_}" BUSSTD="{$iBusStd}" TYPE="{$modBifType_}" BIFSIDE="{$modBifSide_}"/>
+                                               
+                                       </xsl:otherwise>
+                                                                       
+                               </xsl:choose>
+                       </xsl:for-each>
+               </xsl:variable>
+       
+       
+       <xsl:variable name="busTop_"  select="math:min(exsl:node-set($p2pConn_heights_)/P2PCONN/@Y)"/>
+       <xsl:variable name="busBot_"  select="math:max(exsl:node-set($p2pConn_heights_)/P2PCONN/@Y)"/>
+       <xsl:variable name="v_bus_y_" select="$busTop_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+       <xsl:variable name="busName_" select="exsl:node-set($p2pConn_heights_)/P2PCONN/@BUSNAME"/>
+       <xsl:variable name="busStd_"  select="exsl:node-set($p2pConn_heights_)/P2PCONN/@BUSSTD"/>
+<!--   
+-->    
+       <!-- Draw the vertical part of the bus -->      
+       <xsl:if test="$busStd_ = 'PLBV46_P2P'">
+               <rect x="{$bcInSpace_X_ + $BLKD_P2P_BUS_W}" 
+                         y="{$v_bus_y_}"  
+                     width= "{$BLKD_P2P_BUS_W}" 
+                     height="{($busBot_ - $busTop_) + $BLKD_P2P_BUS_W}" 
+                     style="stroke:{$COL_WHITE};stroke-width:1.5;fill:{$busColor_}"/>
+       </xsl:if>
+       
+       <xsl:if test="not($busStd_ = 'PLBV46_P2P')">
+               <rect x="{$bcInSpace_X_ + $BLKD_P2P_BUS_W}" 
+                     y="{$v_bus_y_}"  
+                     width= "{$BLKD_P2P_BUS_W}" 
+                     height="{($busBot_ - $busTop_) + $BLKD_P2P_BUS_W}" 
+                     style="stroke:none;fill:{$busColor_}"/>
+       </xsl:if>
+       
+<!--    -->    
+       
+<!--   
+                 style="stroke:{$busColor_lt_};stroke-width:1;stroke-opacity:0.9;fill-opacity:2.0;fill:{$busColor_}"/>
+-->    
+
+       <!-- Place the bus label.-->    
+<!-- 
+       <text class="p2pbuslabel" 
+                         x="{$bcInSpace_X_   + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 6}"
+                         y="{$busTop_ + ($BLKD_BUS_ARROW_H * 3)}">
+                       <xsl:value-of select="$busName_"/>
+       </text> 
+-->    
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="($bcInSpace_X_   + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 6)"/>
+                       <xsl:with-param name="iY"               select="($busTop_ + ($BLKD_BUS_ARROW_H * 3))"/>
+                       <xsl:with-param name="iText"    select="$busName_"/>
+                       <xsl:with-param name="iClass"   select="'p2pbus_label'"/>
+               </xsl:call-template>
+                         
+               <!-- Draw the busconnection and horizontal lines.-->                                            
+               <xsl:for-each select="exsl:node-set($p2pConn_heights_)/P2PCONN">
+                                                       
+                       <xsl:variable name="bus_x_" select="($bcInSpace_X_ + ceiling($BLKD_BIFC_W div 2))"/>
+                       <xsl:variable name="bus_y_" select="@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+               
+                       <xsl:variable name="h_bus_ul_x_">
+                               <xsl:choose>
+                                       <xsl:when test="@BIFSIDE='0'">
+                                               <xsl:value-of select="$bus_x_"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='1'">
+                                               <xsl:value-of select="(@X + $BLKD_BIFC_W + $BLKD_BUS_ARROW_W) - 1"/>
+                                       </xsl:when>
+                               </xsl:choose>
+                       </xsl:variable> 
+               
+                       <xsl:variable name="h_bus_ul_y_" select="$bus_y_"/>
+       
+                       <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+                       <xsl:variable name="h_bus_width_">
+<!--                           
+                               <xsl:message>BIFSIDE <xsl:value-of select="@BIFSIDE"/></xsl:message>
+                               <xsl:message>BUSSTD  <xsl:value-of select="@BUSSTD"/></xsl:message>
+                               <xsl:message>TYPE <xsl:value-of select="@TYPE"/></xsl:message>
+-->                            
+                               <xsl:choose>
+                                       <xsl:when test="@BIFSIDE='0'">
+                                               <xsl:value-of select="(@X - $bus_x_ - $BLKD_BUS_ARROW_W)"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='1'">
+                                               <xsl:value-of select="$bus_x_ - $h_bus_ul_x_ + 1"/>
+                                       </xsl:when>
+                                       
+                               </xsl:choose>
+                       </xsl:variable> 
+                       
+                       <!-- Draw Bus connection-->
+                       <use   x="{@X}"   y="{@Y}"  xlink:href="#{@BUSSTD}_busconn_{@TYPE}"/>
+                       
+                       <!-- Draw the arrow -->
+                       <xsl:choose>
+                               <xsl:when test="((@BIFSIDE='0') and not((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{@X - $BLKD_BUS_ARROW_W}"   y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowEast"/>
+                               </xsl:when>
+                               <xsl:when test="((@BIFSIDE='1') and not((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{(@X + $BLKD_BIFC_W)}" y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowWest"/>
+                               </xsl:when>
+                               
+                               <xsl:when test="((@BIFSIDE='0') and ((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{@X - $BLKD_BUS_ARROW_W}"   y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowHInitiator"/>
+                               </xsl:when>
+                               
+                               <xsl:when test="((@BIFSIDE='1') and ((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{(@X + $BLKD_BIFC_W)}" y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowHInitiator"/>
+                               </xsl:when>
+                                       
+                       </xsl:choose>
+               
+                       <!-- Draw the horizontal part of the bus -->
+                       <rect x="{$h_bus_ul_x_}" 
+                                 y="{$h_bus_ul_y_}"  
+                                 width= "{$h_bus_width_}" 
+                                 height="{$h_bus_height_}" 
+                             style="stroke:none; fill:{$busColor_}"/>
+               
+       </xsl:for-each>
+                                               
+<!--   
+       <xsl:variable name="busTop_" select="math:min(exsl:node-set($p2pConn_heights_)/P2PCONN/@Y)"/>
+       <xsl:variable name="busBot_" select="math:max(exsl:node-set($p2pConn_heights_)/P2PCONN/@Y)"/>
+       <xsl:variable name="v_bus_y_" select="$busTop_ + ceiling($BLKD_BIFC_H div 2) - ceiling($P2P_BUS_W div 2)"/>
+       <xsl:variable name="busName_" select="exsl:node-set($p2pConn_heights_)/P2PCONN/@BUSNAME"/>
+-->    
+       <!-- Draw the vertical part of the bus -->      
+<!--   
+       <rect x="{$bcInSpace_X_ + $P2P_BUS_W}" 
+                 y="{$v_bus_y_}"  
+                 width= "{$P2P_BUS_W}" 
+                 height="{($busBot_ - $busTop_) + $P2P_BUS_W}" 
+                 style="stroke:{$COL_WHITE};stroke-width:1;stroke-opacity:0.9;fill-opacity:2.0;fill:{$busColor_}"/>
+-->    
+       
+<!--   
+                 style="stroke:{$busColor_lt_};stroke-width:1;stroke-opacity:0.9;fill-opacity:2.0;fill:{$busColor_}"/>
+-->    
+       <!-- Place the bus label.-->    
+<!--   
+       <text class="p2pbuslabel" 
+                         x="{$bcInSpace_X_   + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 6}"
+                         y="{$busTop_ + ($BLKD_BUS_ARROW_H * 3)}">
+                       <xsl:value-of select="$busName_"/>
+       </text> 
+-->    
+       
+                                               
+</xsl:template>        
+       
+       
+                                       
+<!-- 
+                ===========================================================
+                       Handle MultiStack Point to Point connections
+                ===========================================================
+-->
+                                       
+<xsl:template name="BCLaneSpace_MultiStack_PointToPoint">      
+       
+       <xsl:param name="iBusStd"          select="'NONE'"/>    
+       <xsl:param name="iBusName"         select="'NONE'"/>    
+       <xsl:param name="iBifType"         select="'NONE'"/>    
+       <xsl:param name="iStackToEast"     select="'NONE'"/>    
+       <xsl:param name="iStackToWest"     select="'NONE'"/>    
+       <xsl:param name="iStackToEast_W"   select="0"/> 
+       <xsl:param name="iStackToWest_W"   select="0"/> 
+       <xsl:param name="iLaneInSpace_X"   select="0"/> 
+       
+<!--   
+       <xsl:message>Stack To East <xsl:value-of select="$iStackToEast"/></xsl:message>
+       <xsl:message>Stack to West <xsl:value-of select="$iStackToWest"/></xsl:message>
+       <xsl:message>Stack to East Width <xsl:value-of select="$iStackToEast_W"/></xsl:message>
+       <xsl:message>Stack to West Width <xsl:value-of select="$iStackToWest_W"/></xsl:message>
+       <xsl:message>Lane in space X <xsl:value-of select="$iLaneInSpace_X"/></xsl:message>
+       <xsl:message>Shared Bus Y <xsl:value-of select="$iSpaceSharedBus_Y"/></xsl:message>
+-->    
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>                                                 
+       
+       <!-- Store the connections in a variable -->
+       <xsl:variable name="bcInSpace_X_"  select="($iLaneInSpace_X +  ceiling($BLKD_BIFC_W div 2) - ceiling($BLKD_BUS_ARROW_W div 2))"/>
+                                       
+       <xsl:variable name="multiConns_">
+                                               
+               <xsl:for-each select="BUSCONN">
+                                                       
+                       <xsl:variable name="bifName_"      select="@BUSINTERFACE"/>
+                       <xsl:variable name="multiInstance_" select="@INSTANCE"/>
+                       <xsl:variable name="mulshp_hori_idx_">
+                               <xsl:choose>
+                                       <xsl:when test="@IS_PROCCONN">
+                                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $multiInstance_)]/@STACK_HORIZ_INDEX"/>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $multiInstance_)])]/@STACK_HORIZ_INDEX"/>
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable> 
+                                                       
+                       <xsl:variable name="mulshp_vert_idx_">
+                               <xsl:choose>
+                                       <xsl:when test="@IS_PROCCONN">
+                                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $multiInstance_)]/@SHAPE_VERTI_INDEX"/>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $multiInstance_)])]/@SHAPE_VERTI_INDEX"/>
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable> 
+                               
+<!--                                                   
+                       <xsl:message>Shape Horiz <xsl:value-of select="$mulshp_hori_idx_"/></xsl:message>
+                       <xsl:message>Shape Verti <xsl:value-of select="$mulshp_vert_idx_"/></xsl:message>
+-->    
+                                                       
+                       <xsl:variable name="mulshp_Y_">
+                               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                                       <xsl:with-param name="iHorizIdx"  select="$mulshp_hori_idx_"/>
+                                       <xsl:with-param name="iVertiIdx"  select="$mulshp_vert_idx_"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                                               
+                       <xsl:variable name="cmplxStack_H_diff_">
+                               <xsl:choose>
+                                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+                                               
+                                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                                       </xsl:call-template>
+                                               </xsl:variable>
+                       
+                                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                                       </xsl:call-template>
+                                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                                               <xsl:choose>
+                                                       <xsl:when test="(($mulshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                                                       <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                                       </xsl:when>     
+                                                       <xsl:when test="(($mulshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                                       </xsl:when>     
+                                                       <xsl:otherwise>0</xsl:otherwise>        
+                                               </xsl:choose>   
+                                                                       
+                                       </xsl:when>
+                               </xsl:choose>
+                       </xsl:variable>
+                                               
+                                                                                                                                                               
+                       <xsl:variable name="procStack_H_diff_">
+                               <xsl:choose>
+                                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+                       
+                                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                                       </xsl:call-template>
+                                               </xsl:variable>
+                               
+                                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                                       </xsl:call-template>
+                                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                                               <xsl:choose>
+                                                       <xsl:when test="(($mulshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                                               <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                                       </xsl:when>     
+                                                       <xsl:when test="(($mulshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                                       </xsl:when>     
+                                                       <xsl:otherwise>0</xsl:otherwise>        
+                                               </xsl:choose>   
+                                                                       
+                                       </xsl:when>
+                               </xsl:choose>
+                       </xsl:variable>
+                                                       
+                       <xsl:choose>
+                                                       
+                               <xsl:when test="@IS_PROCCONN and @BIF_Y">
+                                                                               
+                                       <xsl:variable name="procBif_Y_"   select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * @BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                                                               
+                                       <xsl:variable name="procBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+                                       <xsl:variable name="procBusName_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSNAME"/>
+                                       <xsl:variable name="procBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                                                               
+                                       <xsl:variable name="bcProc_Y_"     select="($mulshp_Y_ + $procBif_Y_ + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $procStack_H_diff_)"/>
+                                       
+                                       <xsl:variable name="bcProc_X_">
+                                               <xsl:choose>
+                                                       <xsl:when test="$procBifSide_ = '0'">
+                                                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+<!--
+                                                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - ceiling($BLKD_MOD_W div 2))"/>
+-->                                                    
+                                                       </xsl:when>
+                                                       <xsl:when test="$procBifSide_ = '1'">
+                                                               <xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>0</xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                       
+                                       <MULTICONN X="{$bcProc_X_}" Y="{$bcProc_Y_}" BUSNAME="{$procBusName_}" BUSSTD="{$iBusStd}" TYPE="{$procBifType_}" BIFSIDE="{$procBifSide_}" IS_PROC="TRUE"/>
+                               </xsl:when>
+                                                                       
+                               <xsl:otherwise>
+                                                                                       
+                                       <xsl:variable name="modType_"     select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/@MODCLASS"/>
+                                       <xsl:variable name="modBif_Y_"    select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_Y"/>
+                                       <xsl:variable name="modBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                       <xsl:variable name="modBusStd_"   select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSSTD"/>
+                                       <xsl:variable name="memcMOD_W_"   select="(($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[MODULE[(@INSTANCE = $multiInstance_)]]/@MODS_W) * $BLKD_MOD_W)"/>
+                                                               
+                                       <xsl:variable name="modBc_Y_">
+                                               <xsl:choose>
+                                                       <xsl:when test="($modType_ = 'MEMORY_CNTLR') and (($modBusStd_ = 'LMB') or ($modBusStd_= 'OCM'))">
+                                                       <xsl:value-of select="$BLKD_MOD_H + $BLKD_MOD_LANE_H + ((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * $modBif_Y_))"/>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                       <xsl:value-of select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * $modBif_Y_) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>   
+<!--                                   
+                                       <xsl:message><xsl:value-of select="$multiInstance_"/>.<xsl:value-of select="$bifName_"/>:Y = <xsl:value-of select="$modBif_Y_"/></xsl:message>
+                                       <xsl:message><xsl:value-of select="$multiInstance_"/>.<xsl:value-of select="$bifName_"/>:BcY = <xsl:value-of select="$modBc_Y_"/></xsl:message>
+                                       <xsl:message><xsl:value-of select="$multiInstance_"/>.<xsl:value-of select="$bifName_"/>:TcY = <xsl:value-of select="($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V)"/></xsl:message>
+-->    
+                                       
+                                       <xsl:variable name="modBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+                                       <xsl:variable name="modBusName_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $multiInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSNAME"/>
+                                       
+<!--                                   
+                                       <xsl:variable name="bcMod_Y_"     select="($mulshp_Y_ + $modBc_Y_ + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2))"/>
+-->                                    
+                                       <xsl:variable name="bcMod_Y_"     select="($mulshp_Y_ + $modBc_Y_ + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $cmplxStack_H_diff_)"/>
+                                       
+                                       <xsl:variable name="bcMod_X_">
+                                               <xsl:choose>
+                                                       <xsl:when test="$modBifSide_ = '0'">
+                                                               <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($memcMOD_W_ div 2) + $BLKD_BIFC_W))"/>
+<!-- 
+ -->                                                   
+                                                       </xsl:when>
+                                                       <xsl:when test="$modBifSide_ = '1'">
+                                                               <xsl:value-of select="ceiling($memcMOD_W_ div 2)"/>
+                                                       </xsl:when>
+                                                       <xsl:otherwise>0</xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                               
+                                       
+                                       <MULTICONN X="{$bcMod_X_}" Y="{$bcMod_Y_}" BUSNAME="{$modBusName_}" BUSSTD="{$iBusStd}" TYPE="{$modBifType_}" BIFSIDE="{$modBifSide_}" IS_MOD="TRUE"/>
+<!--                                   
+                                       <MULTICONN X="{$bcInSpace_X_}" Y="{$bcMod_Y_}" BUSSTD="{$busStd}" TYPE="{$modBifType_}" BIFSIDE="{$modBifSide_}"/>
+-->                                    
+                                               
+                                       </xsl:otherwise>
+                               </xsl:choose>   
+                       </xsl:for-each>
+               </xsl:variable>
+                                       
+               <!-- Draw the busconnection and horizontal lines.-->                                            
+               <xsl:for-each select="exsl:node-set($multiConns_)/MULTICONN">
+                                                       
+                       <xsl:variable name="bus_x_" select="($bcInSpace_X_ + ceiling($BLKD_BIFC_W div 2))"/>
+                       <xsl:variable name="bus_y_" select="@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+               
+<!--
+                                               <xsl:value-of select="$bus_x_"/>
+-->                                            
+                       <xsl:variable name="h_bus_ul_x_">
+                               <xsl:choose>
+                                       <xsl:when test="@BIFSIDE='0' and (@IS_PROC)">
+                                               <xsl:value-of select="$bus_x_ - $BLKD_P2P_BUS_W"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='0' and (@IS_MOD)">
+                                               <xsl:value-of select="$bus_x_ - $BLKD_P2P_BUS_W"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='1' and (@IS_PROC)">
+                                               <xsl:value-of select="(@X + $BLKD_BIFC_W + $BLKD_BUS_ARROW_W)"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='1' and (@IS_MOD)">
+                                               <xsl:value-of select="(@X + $BLKD_BIFC_W + $BLKD_BUS_ARROW_W)"/>
+                                       </xsl:when>
+                               </xsl:choose>
+                       </xsl:variable> 
+               
+                       <xsl:variable name="h_bus_ul_y_" select="$bus_y_"/>
+                       <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+                       <xsl:variable name="h_bus_width_">
+<!--
+                               <xsl:message>BUSSTD  <xsl:value-of select="@BUSSTD"/></xsl:message>
+                               <xsl:message>BIFSIDE <xsl:value-of select="@BIFSIDE"/></xsl:message>
+                               <xsl:message>TYPE <xsl:value-of select="@TYPE"/></xsl:message>
+-->                            
+                               <xsl:choose>
+                                       <xsl:when test="@BIFSIDE='0' and (@IS_PROC)">
+                                               <xsl:value-of select="(@X - $bus_x_ - $BLKD_P2P_BUS_W)"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='0' and (@IS_MOD)">
+                                               <xsl:value-of select="(@X - $bus_x_ - $BLKD_BUS_ARROW_W)"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='1' and (@IS_PROC)">
+                                               <xsl:value-of select="$bus_x_ - $h_bus_ul_x_ - $BLKD_BUS_ARROW_W - $BLKD_P2P_BUS_W"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='1' and (@IS_MOD)">
+                                               <xsl:value-of select="$BLKD_P2P_BUS_W + $BLKD_BUS_ARROW_W "/>
+<!--
+                                               <xsl:value-of select="$bus_x_ - $h_bus_ul_x_"/>
+  -->
+                                       </xsl:when>
+                               </xsl:choose>
+                       </xsl:variable>         
+                       
+                       
+<!-- 
+                       <xsl:message>h_bus_x_      <xsl:value-of select="$h_bus_ul_x_"/></xsl:message>
+                       <xsl:message>BIFSIDE  <xsl:value-of select="@BIFSIDE"/></xsl:message>
+                       <xsl:message>h_bus_width_  <xsl:value-of select="$h_bus_width_"/></xsl:message>
+ -->                   
+                       
+                       <!-- Draw the horizontal part of the bus -->
+                       <xsl:if test="($h_bus_width_ &gt; 0)">  
+                               <rect x="{$h_bus_ul_x_}" 
+                                         y="{$h_bus_ul_y_}"  
+                                         width= "{$h_bus_width_}" 
+                                         height="{$h_bus_height_}" 
+                                     style="stroke:none; fill:{$busColor_}"/>
+                       </xsl:if>     
+               
+                       
+                       <!-- Draw the arrow -->
+                       <xsl:choose>
+                               <xsl:when test="((@BIFSIDE='0') and not((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{@X - $BLKD_BUS_ARROW_W}"   y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowEast"/>
+                               </xsl:when>
+                               <xsl:when test="((@BIFSIDE='1') and not((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{(@X + $BLKD_BIFC_W)}" y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowWest"/>
+                               </xsl:when>
+                               
+                               <xsl:when test="((@BIFSIDE='0') and ((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{@X - $BLKD_BUS_ARROW_W}"   y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowHInitiator"/>
+                               </xsl:when>
+                               
+                               <xsl:when test="((@BIFSIDE='1') and ((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{(@X + $BLKD_BIFC_W)}" y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowHInitiator"/>
+                               </xsl:when>
+                                       
+                       </xsl:choose>
+               
+                       <use   x="{@X}"   y="{@Y}"  xlink:href="#{@BUSSTD}_busconn_{@TYPE}"/>
+               </xsl:for-each>
+                                               
+               <xsl:variable name="busTop_" select="math:min(exsl:node-set($multiConns_)/MULTICONN/@Y)"/>
+               <xsl:variable name="busBot_" select="math:max(exsl:node-set($multiConns_)/MULTICONN/@Y)"/>
+               <xsl:variable name="v_bus_y_" select="$busTop_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+               <xsl:variable name="busName_" select="exsl:node-set($multiConns_)/MULTICONN/@BUSNAME"/>
+       
+<!-- 
+-->              
+               <!-- Draw the vertical part of the bus -->      
+               <rect x="{$bcInSpace_X_ - $BLKD_P2P_BUS_W}" 
+                         y="{$v_bus_y_}"  
+                     width= "{$BLKD_P2P_BUS_W}" 
+                     height="{($busBot_ - $busTop_) + $BLKD_P2P_BUS_W}" 
+                     style="stroke:none; fill:{$busColor_}"/>
+<!-- 
+               <xsl:message>v_bus_x_  <xsl:value-of select="($bcInSpace_X_ + $BLKD_P2P_BUS_W)"/></xsl:message>
+ -->                 
+       <!-- Place the bus label.-->    
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="($bcInSpace_X_   + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 6)"/>
+                       <xsl:with-param name="iY"               select="($busTop_ + ($BLKD_BUS_ARROW_H * 3))"/>
+                       <xsl:with-param name="iText"    select="$busName_"/>
+                       <xsl:with-param name="iClass"   select="'p2pbus_label'"/>
+               </xsl:call-template>
+                         
+</xsl:template>        
+       
+       
+<!-- 
+                ===========================================================
+                       Handle Processor to processor connections
+                ===========================================================
+-->
+<xsl:template name="BCLaneSpace_ProcToProc">   
+       
+       <xsl:param name="iBusStd"         select="'NONE'"/>     
+       <xsl:param name="iBusName"        select="'NONE'"/>     
+       <xsl:param name="iBifType"        select="'NONE'"/>     
+       <xsl:param name="iStackToEast"    select="'NONE'"/>     
+       <xsl:param name="iStackToWest"    select="'NONE'"/>     
+       <xsl:param name="iStackToEast_W"  select="0"/>  
+       <xsl:param name="iStackToWest_W"  select="0"/>  
+       <xsl:param name="iLaneInSpace_X"  select="0"/>  
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>                                                 
+               
+       <xsl:variable name="pr2pr_StackToWest_"   select="math:min(BUSCONN/@STACK_HORIZ_INDEX)"/>
+       <xsl:variable name="pr2pr_StackToEast_"   select="math:max(BUSCONN/@STACK_HORIZ_INDEX)"/>
+       <xsl:variable name="proc2procConn_heights_">
+       
+       <xsl:for-each select="BUSCONN">
+                                       
+               <xsl:variable name="procInstance_" select="@INSTANCE"/>
+               <xsl:variable name="bifName_"      select="@BUSINTERFACE"/>
+               <xsl:variable name="procshp_hori_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $procInstance_)]/@STACK_HORIZ_INDEX"/>
+               <xsl:variable name="procshp_vert_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $procInstance_)]/@SHAPE_VERTI_INDEX"/>
+               <xsl:variable name="procshp_Y_">
+                       <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                               <xsl:with-param name="iHorizIdx"  select="$procshp_hori_idx_"/>
+                               <xsl:with-param name="iVertiIdx"  select="$procshp_vert_idx_"/>
+                       </xsl:call-template>
+               </xsl:variable>
+                                               
+               <xsl:variable name="procStack_H_diff_">
+                       <xsl:choose>
+                               <xsl:when test="   (($pr2pr_StackToEast_ = 'NONE') or ($pr2pr_StackToWest_ = 'NONE'))">0</xsl:when>
+                               <xsl:when test="not(($pr2pr_StackToEast_ = 'NONE') or ($pr2pr_StackToWest_ = 'NONE'))">
+                       
+                                       <xsl:variable name="stackToWest_AbvSbs_H_">
+                                               <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                                       <xsl:with-param name="iStackIdx"  select="$pr2pr_StackToWest_"/>
+                                               </xsl:call-template>
+                                       </xsl:variable>
+                               
+                                       <xsl:variable name="stackToEast_AbvSbs_H_">
+                                               <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                                       <xsl:with-param name="iStackIdx"  select="$pr2pr_StackToEast_"/>
+                                               </xsl:call-template>
+                                       </xsl:variable>
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                                       <xsl:choose>
+                                               <xsl:when test="(($procshp_hori_idx_ = $pr2pr_StackToEast_) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                                       <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                               </xsl:when>     
+                                               <xsl:when test="(($procshp_hori_idx_ = $pr2pr_StackToWest_) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                                       <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                               </xsl:when>     
+                                               <xsl:otherwise>0</xsl:otherwise>        
+                                       </xsl:choose>   
+                                                                               
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable>
+                                               
+               <!-- Store the conns in a variable -->  
+               <xsl:variable name="procBif_Y_"   select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * @BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                                                                       
+               <xsl:variable name="procBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $procInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+               <xsl:variable name="procBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $procInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                                                       
+               <xsl:variable name="bcInSpace_X_">
+                       <xsl:choose>
+                               <xsl:when test="$procBifSide_ = '1'"><xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/></xsl:when>
+                               <xsl:when test="$procBifSide_ = '0'"><xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - ceiling($BLKD_MOD_W div 2) - $BLKD_BIFC_W)"/></xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+                                                       
+               <xsl:variable name="bcProc_Y_"     select="($procshp_Y_ + $procBif_Y_ + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $procStack_H_diff_)"/>
+<!--                                                   
+               <xsl:message>Conn X <xsl:value-of select="$bcInSpace_X_"/></xsl:message>
+               <xsl:message>Conn Y <xsl:value-of select="$bcProc_Y_"/></xsl:message>
+-->                                                    
+                                                                               
+                               <PR2PRCONN X="{$bcInSpace_X_}" Y="{$bcProc_Y_}" BUSSTD="{$iBusStd}" TYPE="{$procBifType_}" BIFSIDE="{$procBifSide_}" SHAPE_ID="{$procshp_hori_idx_}"/>
+                       </xsl:for-each>
+               </xsl:variable>
+                                       
+               <xsl:variable name="pr2prLeft_"   select="math:min(exsl:node-set($proc2procConn_heights_)/PR2PRCONN/@SHAPE_ID)"/>
+               <xsl:variable name="pr2prRght_"   select="math:max(exsl:node-set($proc2procConn_heights_)/PR2PRCONN/@SHAPE_ID)"/>
+                               
+               <xsl:variable name="pr2pr_stack_Left_X_">
+                       <xsl:call-template name="F_Calc_Stack_X"> 
+                               <xsl:with-param name="iStackIdx"  select="$pr2prLeft_"/>
+                       </xsl:call-template>            
+               </xsl:variable> 
+                                       
+               <xsl:variable name="pr2pr_stack_Rght_X_">
+                       <xsl:call-template name="F_Calc_Stack_X"> 
+                               <xsl:with-param name="iStackIdx"  select="$pr2prRght_"/>
+                       </xsl:call-template>            
+               </xsl:variable> 
+                                       
+<!--                                   
+                                       <xsl:message>Left stack X <xsl:value-of select="$pr2pr_stack_Left_X_"/></xsl:message>
+                                       <xsl:message>Rght stack X <xsl:value-of select="$pr2pr_stack_Rght_X_"/></xsl:message>
+-->                                    
+               <xsl:variable name="pr2pr_space_W_" select="($pr2pr_stack_Rght_X_ - $pr2pr_stack_Left_X_)"/>
+                                               
+                                       
+               <xsl:variable name="pr2pr_extStackEast_W_">
+                       <xsl:call-template name="F_Calc_Stack_Width">
+                               <xsl:with-param name="iStackIdx"  select="$pr2prRght_"/>
+                       </xsl:call-template>
+               </xsl:variable>
+                                       
+               <xsl:variable name="pr2pr_extStackWest_W_">
+                       <xsl:call-template name="F_Calc_Stack_Width">
+                               <xsl:with-param name="iStackIdx"  select="$pr2prLeft_"/>
+                       </xsl:call-template>
+               </xsl:variable>
+                                       
+<!--                                   
+                                       <xsl:message>Space W <xsl:value-of select="$pr2pr_space_W_"/></xsl:message>
+                                       <xsl:message>Rght stack <xsl:value-of select="$pr2pr_extStackEast_W_"/></xsl:message>
+                                       <xsl:message>Left stack <xsl:value-of select="$pr2pr_extStackWest_W_"/></xsl:message>
+-->                                    
+       
+               <xsl:variable name="connLeft_X_" select="ceiling($BLKD_MOD_W div 2)"/>
+               <xsl:variable name="connRght_X_" select="($pr2pr_space_W_ - ceiling($pr2pr_extStackWest_W_ div 2) + ceiling($pr2pr_extStackEast_W_ div 2) - ceiling($BLKD_MOD_W div 2) - $BLKD_BIFC_W)"/>
+                                       
+               <!-- Draw the busconnections .-->                                               
+               <xsl:for-each select="exsl:node-set($proc2procConn_heights_)/PR2PRCONN">
+                       <xsl:variable name="conn_X_">
+                               <xsl:choose>
+                                       <xsl:when test="@BIFSIDE = '1'"><xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/></xsl:when>
+                                       <xsl:when test="@BIFSIDE = '0'"><xsl:value-of select="($pr2pr_space_W_ - ceiling($pr2pr_extStackWest_W_ div 2) + ceiling($pr2pr_extStackEast_W_ div 2) - ceiling($BLKD_MOD_W div 2) - $BLKD_BIFC_W)"/></xsl:when>
+<!--                                                                   
+                                       <xsl:when test="@BIFSIDE = '0'"><xsl:value-of select="($pr2pr_space_W_ + $pr2pr_extStackWest_W_ + $pr2pr_extStackEast_W_ - ceiling($BLKD_MOD_W div 2) - $BLKD_BIFC_W)"/></xsl:when>
+-->    
+                               </xsl:choose>
+                       </xsl:variable> 
+                                               
+                       <use   x="{$conn_X_}"   y="{@Y}"  xlink:href="#{@BUSSTD}_busconn_{@TYPE}"/>
+               </xsl:for-each>
+                                       
+               <xsl:variable name="bc_Y_"     select="math:min(exsl:node-set($proc2procConn_heights_)/PR2PRCONN/@Y)"/>
+               <xsl:variable name="bcLeft_"   select="math:min(exsl:node-set($proc2procConn_heights_)/PR2PRCONN/@X)"/>
+               <xsl:variable name="bcRght_"   select="math:max(exsl:node-set($proc2procConn_heights_)/PR2PRCONN/@X)"/>
+                                       
+               <xsl:variable name="leftType_"  select="(exsl:node-set($proc2procConn_heights_)/PR2PRCONN[(@X = $bcLeft_)]/@TYPE)"/>
+               <xsl:variable name="rghtType_"  select="(exsl:node-set($proc2procConn_heights_)/PR2PRCONN[(@X = $bcRght_)]/@TYPE)"/>
+                                               
+               <xsl:call-template name="Draw_Proc2ProcBus">
+                       <xsl:with-param name="iBc_Y"     select="$bc_Y_"/>
+                       <xsl:with-param name="iBusStd"   select="$iBusStd"/>
+                       <xsl:with-param name="iBusName"  select="$iBusName"/>
+                       <xsl:with-param name="iLeftType"  select="$leftType_"/>
+                       <xsl:with-param name="iRghtType"  select="$rghtType_"/>
+                       <xsl:with-param name="iBcLeft_X" select="$connLeft_X_ + $BLKD_BIFC_W"/>
+                       <xsl:with-param name="iBcRght_X" select="$connRght_X_"/>
+               </xsl:call-template>
+                               
+</xsl:template>        
+       
+<!-- 
+                ===========================================================
+                       Handle connections to the MPMC
+                ===========================================================
+-->
+<xsl:template name="BCLaneSpace_ToStandAloneMPMC">     
+       
+       <xsl:param name="iBusStd"        select="'NONE'"/>      
+       <xsl:param name="iBusName"       select="'NONE'"/>      
+       <xsl:param name="iBifType"       select="'NONE'"/>      
+       <xsl:param name="iStackToEast"   select="'NONE'"/>      
+       <xsl:param name="iStackToWest"   select="'NONE'"/>      
+       <xsl:param name="iStackToEast_W" select="0"/>   
+       <xsl:param name="iStackToWest_W" select="0"/>   
+       <xsl:param name="iLaneInSpace_X" select="0"/>   
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       <xsl:variable name="busColor_lt_">
+               <xsl:call-template name="F_BusStd2RGB_LT">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>                                                 
+       
+       <xsl:variable name="bcInSpace_X_"  select="($iLaneInSpace_X +  ceiling($BLKD_BIFC_W div 2) - ceiling($BLKD_BUS_ARROW_W div 2))"/>
+       <xsl:variable name="p2pInstance_" select="BUSCONN[(@BIF_Y)]/@INSTANCE"/>
+                                       
+       <xsl:variable name="p2pshp_hori_idx_">
+               <xsl:choose>
+                       <xsl:when test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $p2pInstance_)]">
+                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $p2pInstance_)]/@STACK_HORIZ_INDEX"/>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $p2pInstance_)])]/@STACK_HORIZ_INDEX"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>         
+                                       
+       <xsl:variable name="p2pshp_vert_idx_">
+               <xsl:choose>
+                       <xsl:when test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $p2pInstance_)]">
+                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $p2pInstance_)]/@SHAPE_VERTI_INDEX"/>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $p2pInstance_)])]/@SHAPE_VERTI_INDEX"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>         
+                                       
+       <xsl:variable name="p2pshp_Y_">
+               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                       <xsl:with-param name="iHorizIdx"  select="$p2pshp_hori_idx_"/>
+                       <xsl:with-param name="iVertiIdx"  select="$p2pshp_vert_idx_"/>
+               </xsl:call-template>
+       </xsl:variable>
+                       
+       <xsl:variable name="cmplxStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+                               
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                               
+                               <xsl:choose>
+                                       <xsl:when test="(($p2pshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:when test="(($p2pshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:otherwise>0</xsl:otherwise>        
+                               </xsl:choose>   
+                                                                       
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+                                               
+       <xsl:variable name="procStack_H_diff_">
+               <xsl:choose>
+                       <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+                       
+                               <xsl:variable name="stackToWest_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="stackToEast_AbvSbs_H_">
+                                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                               <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>stack to west H <xsl:value-of select="$stackToWest_AbvSbs_H_"/></xsl:message>
+                               <xsl:message>stack to east H <xsl:value-of select="$stackToEast_AbvSbs_H_"/></xsl:message>
+-->                            
+                               <xsl:choose>
+                                       <xsl:when test="(($p2pshp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:when test="(($p2pshp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                               <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                       </xsl:when>     
+                                       <xsl:otherwise>0</xsl:otherwise>        
+                               </xsl:choose>   
+                                                                       
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+                                               
+       
+       
+       <!-- Store the conns in a variable -->  
+       <xsl:variable name="p2pConn_heights_">
+       
+               <xsl:for-each select="BUSCONN">
+                                                                       
+                       <xsl:variable name="bifName_" select="@BUSINTERFACE"/>
+                                                       
+                               <xsl:choose>
+                                       <xsl:when test="@IS_PROCCONN and @BIF_Y">
+                                                                               
+<!--                                                                           
+                                                                               <xsl:message>Proc <xsl:value-of select="$procInstance_"/></xsl:message>
+-->                                                                            
+                                               <xsl:variable name="procBif_Y_"   select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * @BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                               <xsl:variable name="procBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $p2pInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+                                               <xsl:variable name="procBusName_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $p2pInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSNAME"/>
+                                               <xsl:variable name="procBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $p2pInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                                                               
+                                               <xsl:variable name="bcProc_Y_"     select="($p2pshp_Y_ + $procBif_Y_ + ceiling($BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $procStack_H_diff_)"/>
+                                               <xsl:variable name="bcProc_X_">
+                                                       <xsl:choose>
+                                                               <xsl:when test="$procBifSide_ = '0'">
+                                                                       <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+                                                               </xsl:when>
+                                                               <xsl:when test="$procBifSide_ = '1'">
+                                                                       <xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/>
+                                                               </xsl:when>
+                                                               <xsl:otherwise>0</xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:variable>
+                                               
+                                               <P2PCONN X="{$bcProc_X_}" Y="{$bcProc_Y_}" BUSNAME= "{$procBusName_}" BUSSTD="{$iBusStd}" TYPE="{$procBifType_}" BIFSIDE="{$procBifSide_}"/>
+                                                                               
+                                       </xsl:when>
+                                                                       
+                                       <xsl:otherwise>
+                                                                               
+                                               <xsl:variable name="modInstance_"     select="@INSTANCE"/>
+                                               <xsl:variable name="modshp_vert_idx_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[MODULE[(@INSTANCE = $modInstance_)]]/@SHAPE_VERTI_INDEX"/>
+                                               <xsl:variable name="modBifSide_"      select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                               <xsl:variable name="modBif_Y_"        select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_Y"/>
+                                               <xsl:variable name="modBc_Y_"         select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * $modBif_Y_) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                                                                               
+<!--                                                                           
+                                               <xsl:message>Memory Instance <xsl:value-of select="$procInstance_"/></xsl:message>
+-->                                                                            
+                                               
+                                               <xsl:variable name="modshp_Y_">
+                                                       <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                                                               <xsl:with-param name="iHorizIdx"  select="$p2pshp_hori_idx_"/>
+                                                               <xsl:with-param name="iVertiIdx"  select="$modshp_vert_idx_"/>
+                                                       </xsl:call-template>
+                                               </xsl:variable>
+                                                                               
+                                               <xsl:variable name="modBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+                                               <xsl:variable name="modBusName_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSNAME"/>
+                                               <xsl:variable name="bcMod_Y_"     select="($modshp_Y_ + $modBc_Y_ + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $cmplxStack_H_diff_)"/>
+                                               <xsl:variable name="bcMod_X_">
+                                                       <xsl:choose>
+                                                               <xsl:when test="$modBifSide_ = '0'">
+                                                                       <xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - (ceiling($BLKD_MOD_W div 2) + $BLKD_BIFC_W))"/>
+                                                               </xsl:when>
+                                                               <xsl:when test="$modBifSide_ = '1'">
+                                                                       <xsl:value-of select="ceiling($BLKD_MOD_W div 2)"/>
+                                                               </xsl:when>
+                                                               <xsl:otherwise>0</xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:variable>
+                                               
+                                               <P2PCONN X="{$bcMod_X_}" Y="{$bcMod_Y_}" BUSNAME="{$modBusName_}" BUSSTD="{$iBusStd}" TYPE="{$modBifType_}" BIFSIDE="{$modBifSide_}"/>
+                                               
+                                       </xsl:otherwise>
+                                                                       
+                               </xsl:choose>
+                       </xsl:for-each>
+               </xsl:variable>
+       
+       
+       <xsl:variable name="busTop_"  select="math:min(exsl:node-set($p2pConn_heights_)/P2PCONN/@Y)"/>
+       <xsl:variable name="busBot_"  select="math:max(exsl:node-set($p2pConn_heights_)/P2PCONN/@Y)"/>
+       <xsl:variable name="v_bus_y_" select="$busTop_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+       
+       <xsl:variable name="busName_" select="exsl:node-set($p2pConn_heights_)/P2PCONN/@BUSNAME"/>
+       <xsl:variable name="busStd_"  select="exsl:node-set($p2pConn_heights_)/P2PCONN/@BUSSTD"/>
+       
+               <!-- Draw the vertical part of the bus -->      
+               <!-- Place the bus label.-->    
+               <!-- Draw the busconnection and horizontal lines.-->                                            
+               <xsl:for-each select="exsl:node-set($p2pConn_heights_)/P2PCONN">
+                                                       
+                       <xsl:variable name="bus_x_" select="($bcInSpace_X_ + ceiling($BLKD_BIFC_W div 2))"/>
+                       <xsl:variable name="bus_y_" select="@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+               
+                       <xsl:variable name="h_bus_ul_x_">
+                               <xsl:choose>
+                                       <xsl:when test="@BIFSIDE='0'">
+                                               <xsl:value-of select="$bus_x_"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='1'">
+                                               <xsl:value-of select="(@X + $BLKD_BIFC_W + $BLKD_BUS_ARROW_W) - 1"/>
+                                       </xsl:when>
+                               </xsl:choose>
+                       </xsl:variable> 
+               
+                       <xsl:variable name="h_bus_ul_y_" select="$bus_y_"/>
+       
+                       <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+                       <xsl:variable name="h_bus_width_">
+                               <xsl:choose>
+                                       <xsl:when test="@BIFSIDE='0'">
+                                               <xsl:value-of select="(@X - $bus_x_ - $BLKD_BUS_ARROW_W)"/>
+                                       </xsl:when>
+                                       <xsl:when test="@BIFSIDE='1'">
+                                               <xsl:value-of select="$bus_x_ - $h_bus_ul_x_ + 1"/>
+                                       </xsl:when>
+                                       
+                               </xsl:choose>
+                       </xsl:variable> 
+                       
+                       <!-- Draw Bus connection-->
+                       <use   x="{@X}"   y="{@Y}"  xlink:href="#{@BUSSTD}_busconn_{@TYPE}"/>
+                       
+                       <!-- Draw the arrow -->
+                       <xsl:choose>
+                               <xsl:when test="((@BIFSIDE='0') and not((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{@X - $BLKD_BUS_ARROW_W}"   y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowEast"/>
+                               </xsl:when>
+                               <xsl:when test="((@BIFSIDE='1') and not((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{(@X + $BLKD_BIFC_W)}" y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowWest"/>
+                               </xsl:when>
+                               
+                               <xsl:when test="((@BIFSIDE='0') and ((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{@X - $BLKD_BUS_ARROW_W}"   y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowHInitiator"/>
+                               </xsl:when>
+                               
+                               <xsl:when test="((@BIFSIDE='1') and ((@BUSSTD = 'FSL') and ((@TYPE = 'INITIATOR') or (@TYPE = 'MASTER'))))">
+                                       <use   x="{(@X + $BLKD_BIFC_W)}" y="{@Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2)}"  xlink:href="#{@BUSSTD}_BusArrowHInitiator"/>
+                               </xsl:when>
+                                       
+                       </xsl:choose>
+               
+                       <!-- Draw the horizontal part of the bus -->
+                       <rect x="{$h_bus_ul_x_}" 
+                                 y="{$h_bus_ul_y_}"  
+                                 width= "{$h_bus_width_}" 
+                                 height="{$h_bus_height_}" 
+                               
+                             style="stroke:none; fill:{$busColor_}"/>
+                       
+                       <!-- 
+                               Draw the vertical part of the bus. The MPMC BIF and the top arrow will
+                               be added later when the main drawing happens.
+                       -->
+                       <xsl:variable name="v_bus_ul_x_">
+                               <xsl:choose>
+                                       <xsl:when test="@BIFSIDE='0'"><xsl:value-of select="($h_bus_ul_x_)"/></xsl:when>
+                                       <xsl:when test="@BIFSIDE='1'"><xsl:value-of select="($h_bus_ul_x_ + $h_bus_width_ - $BLKD_P2P_BUS_W)"/></xsl:when>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <rect x="{$v_bus_ul_x_}" 
+                                 y="0"  
+                                 width= "{$BLKD_P2P_BUS_W}" 
+                                 height="{$h_bus_ul_y_}"  
+                             style="stroke:none; fill:{$busColor_}"/>
+       </xsl:for-each>
+                                               
+</xsl:template>        
+       
+       
+                               
+<!-- 
+        ======================================================================
+     Handle Split connections, (connections that go between adjacent stacks)
+        ======================================================================
+-->
+       
+<xsl:template name="BCLaneSpace_SplitConn">    
+       
+       <xsl:param name="iBusStd"          select="'NONE'"/>    
+       <xsl:param name="iBusName"         select="'NONE'"/>    
+       <xsl:param name="iBifType"         select="'NONE'"/>    
+       <xsl:param name="iStackToEast"     select="'NONE'"/>    
+       <xsl:param name="iStackToWest"     select="'NONE'"/>    
+       <xsl:param name="iStackToEast_W"   select="0"/> 
+       <xsl:param name="iStackToWest_W"   select="0"/> 
+       <xsl:param name="iLaneInSpace_X"   select="0"/> 
+       
+       <xsl:variable name="busColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable> 
+       
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($iStackToWest_W div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($iStackToEast_W div 2)"/>                                                 
+                       
+                                       
+       <xsl:variable name="bifName_"      select="BUSCONN/@BUSINTERFACE"/>
+       <xsl:variable name="shpInstance_"  select="BUSCONN/@INSTANCE"/>
+                                       
+<!--                                   
+                       <xsl:message>Found a split connection on <xsl:value-of select="$shpInstance_"/></xsl:message>   
+-->                                    
+                                               
+                                       
+               <xsl:variable name="shp_hori_idx_">
+                                               
+                       <xsl:choose>
+                               <xsl:when  test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $shpInstance_)]">
+                                       <xsl:value-of select="/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $shpInstance_)]/@STACK_HORIZ_INDEX"/>
+                               </xsl:when>
+                                                       
+                               <xsl:when  test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $shpInstance_)])]">
+                                       <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $shpInstance_)])]/@STACK_HORIZ_INDEX"/>
+                               </xsl:when>
+                               <xsl:otherwise>_unknown_</xsl:otherwise>
+                       </xsl:choose>           
+                                               
+               </xsl:variable> 
+                                       
+               <xsl:variable name="shp_vert_idx_">
+                                               
+                       <xsl:choose>
+                               <xsl:when  test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $shpInstance_)]">
+                                       <xsl:value-of select="/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $shpInstance_)]/@SHAPE_VERTI_INDEX"/>
+                               </xsl:when>
+                                                       
+                               <xsl:when  test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $shpInstance_)])]">
+                                       <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $shpInstance_)])]/@SHAPE_VERTI_INDEX"/>
+                               </xsl:when>
+                               <xsl:otherwise>_unknown_</xsl:otherwise>
+                       </xsl:choose>           
+                                               
+               </xsl:variable> 
+                                       
+               <xsl:variable name="splitshp_Width_">
+                                               
+                       <xsl:choose>
+                               <xsl:when  test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $shpInstance_)]">
+                                       <xsl:value-of select="$BLKD_MOD_W"/>
+                               </xsl:when>
+                                               
+                               <xsl:when  test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $shpInstance_)])]/@MODS_W">
+<!--                                                           
+                                                               <xsl:message>Using mods width on <xsl:value-of select="$shpInstance_"/></xsl:message>
+-->                                                            
+                                       <xsl:value-of select="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(MODULE[(@INSTANCE = $shpInstance_)])]/@MODS_W * $BLKD_MOD_W)"/>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <xsl:value-of select="$BLKD_MOD_W"/>
+                               </xsl:otherwise>
+                       </xsl:choose>           
+                                               
+               </xsl:variable> 
+                                       
+<!--                                   
+                                       <xsl:message>Found width of <xsl:value-of select="$splitshp_Width_"/></xsl:message>
+-->                                    
+       
+                                       
+               <xsl:variable name="splitshp_Y_">
+                       <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                               <xsl:with-param name="iHorizIdx"  select="$shp_hori_idx_"/>
+                               <xsl:with-param name="iVertiIdx"  select="$shp_vert_idx_"/>
+                       </xsl:call-template>
+               </xsl:variable>
+                                       
+                                               
+               <xsl:variable name="splitStack_H_diff_">
+                       <xsl:choose>
+                               <xsl:when test="   (($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">0</xsl:when>
+                               <xsl:when test="not(($iStackToEast = 'NONE') or ($iStackToWest = 'NONE'))">
+       
+                                       <xsl:variable name="stackToWest_AbvSbs_H_">
+                                               <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                                       <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                                               </xsl:call-template>
+                                       </xsl:variable>
+                               
+                                       <xsl:variable name="stackToEast_AbvSbs_H_">
+                                               <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                                       <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+                                               </xsl:call-template>
+                                       </xsl:variable>
+                               
+                                       <xsl:choose>
+                                               <xsl:when test="(($shp_hori_idx_ = $iStackToEast) and ($stackToWest_AbvSbs_H_ &gt; $stackToEast_AbvSbs_H_))">
+                                                       <xsl:value-of select="($stackToWest_AbvSbs_H_ - $stackToEast_AbvSbs_H_)"/>
+                                               </xsl:when>     
+                                               <xsl:when test="(($shp_hori_idx_ = $iStackToWest) and ($stackToEast_AbvSbs_H_ &gt; $stackToWest_AbvSbs_H_))">
+                                                       <xsl:value-of select="($stackToEast_AbvSbs_H_ - $stackToWest_AbvSbs_H_)"/>
+                                               </xsl:when>     
+                                               <xsl:otherwise>0</xsl:otherwise>        
+                                       </xsl:choose>   
+                                                                               
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable>
+                                               
+                                       
+               <xsl:variable name="splitBif_Y_"    select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * BUSCONN/@BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+               <xsl:variable name="splitBusStd_"   select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $shpInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BUSSTD"/>
+               <xsl:variable name="splitBifType_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $shpInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@TYPE"/>
+               <xsl:variable name="splitBifSide_"  select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $shpInstance_)]/BUSINTERFACE[(@NAME = $bifName_)]/@BIF_X"/>
+                                                                       
+               <xsl:variable name="bcInSpace_X_">
+                       <xsl:choose>
+                               <xsl:when test="$splitBifSide_ = '1'"><xsl:value-of select="ceiling($splitshp_Width_ div 2)"/></xsl:when>
+                               <xsl:when test="$splitBifSide_ = '0'"><xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - ceiling($splitshp_Width_ div 2) - $BLKD_BIFC_W)"/></xsl:when>
+                       </xsl:choose>
+                                                               
+               </xsl:variable> 
+                                       
+               <xsl:variable name="bcBus_X_">
+                       <xsl:choose>
+                               <xsl:when test="$splitBifSide_ = '1'"><xsl:value-of select="$bcInSpace_X_"/></xsl:when>
+                               <xsl:when test="$splitBifSide_ = '0'"><xsl:value-of select="($space_W_ + $extSpaceWest_W_ + $extSpaceEast_W_ - ceiling($BLKD_MOD_W div 2) - $BLKD_BIFC_W)"/></xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+                                                       
+               <xsl:variable name="bcSplit_Y_">
+                       <xsl:choose>
+                               <xsl:when test="(BUSCONN/@IS_MEMCONN) and (($splitBusStd_ = 'LMB') or ($splitBusStd_ = 'OCM'))">
+<!--                                                           
+                                       <xsl:message>Found memory conn split connection on <xsl:value-of select="$shpInstance_"/> </xsl:message>
+-->    
+                                       <xsl:value-of select="($splitshp_Y_ + $BLKD_MOD_H + $BLKD_MOD_BIF_GAP_V + (BUSCONN/@BIF_Y * ($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V)) + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $splitStack_H_diff_)"/>
+                               </xsl:when>     
+                               <xsl:otherwise>
+                                       <xsl:value-of select="($splitshp_Y_ + $splitBif_Y_ + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2) + $splitStack_H_diff_)"/>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:variable>    
+                                       
+       <use   x="{$bcInSpace_X_}"   y="{$bcSplit_Y_}"  xlink:href="#{@BUSSTD}_busconn_{$splitBifType_}"/>
+                                       
+                       
+       <xsl:call-template name="Draw_SplitConnBus">
+               <xsl:with-param name="iBc_Y"    select="$bcSplit_Y_"/>
+               <xsl:with-param name="iBc_X"    select="$bcInSpace_X_"/>
+               <xsl:with-param name="iBusStd"  select="$iBusStd"/>
+               <xsl:with-param name="iBc_Type" select="$splitBifType_"/>
+               <xsl:with-param name="iBc_Side" select="$splitBifSide_"/>
+               <xsl:with-param name="iBusName" select="$iBusName"/>
+       </xsl:call-template>
+                                       
+       
+</xsl:template>        
+       
+       
+<xsl:template name="Define_BusLaneSpace"> 
+       
+       <xsl:param name="iStackToEast"  select="'NONE'"/>
+       <xsl:param name="iStackToWest"  select="'NONE'"/>
+       
+<!--   
+       <xsl:message>Input Stack to West <xsl:value-of select="$iStackToWest"/></xsl:message>
+       <xsl:message>Input Stack to East <xsl:value-of select="$iStackToEast"/></xsl:message>
+-->
+       
+       <xsl:variable name="stackToEast_">
+               <xsl:choose>
+                       <xsl:when test="not($iStackToEast = 'NONE')"><xsl:value-of select="$iStackToEast"/></xsl:when>
+                       <xsl:otherwise>NONE</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       <xsl:variable name="stackToWest_">
+               <xsl:choose>
+                       <xsl:when test=" not($iStackToWest = 'NONE')"><xsl:value-of select="$iStackToWest"/></xsl:when>
+                       <xsl:when test="(not($iStackToEast = 'NONE') and not($iStackToEast = '0'))"><xsl:value-of select="($iStackToEast - 1)"/></xsl:when>
+                       <xsl:otherwise>NONE</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       <xsl:variable name="spaceAbvSbs_H_">
+               <xsl:call-template name="F_Calc_Space_AbvSbs_Height">
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>
+       </xsl:variable> 
+       
+       <xsl:variable name="spaceBlwSbs_H_">
+               <xsl:call-template name="F_Calc_Space_BlwSbs_Height">
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>
+       </xsl:variable> 
+       
+       
+       <xsl:variable name="space_H_" select="($spaceAbvSbs_H_ + $BLKD_PROC2SBS_GAP + $G_Total_SharedBus_H + $spaceBlwSbs_H_)"/>
+       <xsl:variable name="space_W_">
+               <xsl:call-template name="F_Calc_Space_Width"> 
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name="spaceSharedBus_Y_" select="$spaceAbvSbs_H_ + $BLKD_PROC2SBS_GAP"/>
+       
+       <xsl:variable name="space_name_">
+               <xsl:call-template name="F_generate_Space_Name"> 
+                       <xsl:with-param name="iStackToEast"  select="$stackToEast_"/>
+                       <xsl:with-param name="iStackToWest"  select="$stackToWest_"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+       <xsl:variable name = "stackToWest_W_">
+               <xsl:choose>
+                       <xsl:when test="(($iStackToEast = '0')    and    ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="(($iStackToEast = 'NONE') and not($iStackToWest = 'NONE'))">
+                               <xsl:call-template name="F_Calc_Stack_Width">
+                                       <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:when test="(not($iStackToEast = '0') and not($iStackToEast = 'NONE') and ($iStackToWest = 'NONE'))">
+                               <xsl:call-template name="F_Calc_Stack_Width">
+                                       <xsl:with-param name="iStackIdx"  select="($iStackToEast - 1)"/>
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:otherwise>0</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name = "stackToEast_W_">
+               <xsl:call-template name="F_Calc_Stack_Width">
+                       <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+               </xsl:call-template>
+       </xsl:variable>
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($stackToWest_W_ div 2)"/>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($stackToEast_W_ div 2)"/>
+       
+       <g id="{$space_name_}">
+                <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[((@EAST = $iStackToEast) or (($iStackToEast = 'NONE') and (@WEST = $iStackToWest)))]/BUSCONNLANE[@BUSSTD and @BUSNAME]">
+                               
+                               <xsl:variable name="busStd_"  select="@BUSSTD"/>
+                               <xsl:variable name="busName_" select="@BUSNAME"/>
+                               <xsl:variable name="busLane_X_"  select="@BUSLANE_X"/>
+
+<!--
+                               <xsl:variable name="eastBusLane_X_">
+                                       <xsl:choose>
+                                          <xsl:when test="(@BUSLANE_X = 0)"><xsl:value-of select="@BUSLANE_X"/></xsl:when>
+                                          <xsl:otherwise><xsl:value-of select="(@BUSLANE_X  - 1)"/></xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable>
+-->                            
+                               <xsl:variable name="eastBusLane_X_" select="@BUSLANE_X"/>                               
+                               <xsl:variable name="laneInSpace_X_">
+                                       <xsl:choose>
+                                          <xsl:when test="(@ORIENTED = 'EAST')">
+                                                  <xsl:value-of select="($extSpaceWest_W_ + ($eastBusLane_X_ * $BLKD_BUS_LANE_W) - $BLKD_BUS_ARROW_W - $BLKD_P2P_BUS_W)"/>
+                                          </xsl:when>
+                                          <xsl:otherwise><xsl:value-of select="($extSpaceWest_W_ + (@BUSLANE_X * $BLKD_BUS_LANE_W))"/></xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable> 
+                                               
+                        
+                               <xsl:variable name="busColor_">
+                                       <xsl:call-template name="F_BusStd2RGB">
+                                               <xsl:with-param name="iBusStd" select="@BUSSTD"/>
+                                       </xsl:call-template>    
+                               </xsl:variable>
+                               
+                               <xsl:choose>
+<!-- 
+                ===========================================================
+                       Handle Bucket connections to the shared busses.
+                ===========================================================
+-->
+                                       <xsl:when test="@BUSLANE_X and @IS_BKTCONN and BUSCONN[@TYPE] and $G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $busName_)]/@BUS_INDEX">
+                                               <xsl:call-template name="BCLaneSpace_BucketToSharedBus">
+                                                       <xsl:with-param name="iBusName"           select="$busName_"/>
+                                                       <xsl:with-param name="iBusStd"            select="$busStd_"/>
+                                                       <xsl:with-param name="iBifType"           select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $busName_)]/BUSINTERFACE/@TYPE"/>
+                                                       <xsl:with-param name="iStackToEast"       select="$stackToEast_"/>
+                                                       <xsl:with-param name="iStackToWest"       select="$stackToWest_"/>
+                                                       <xsl:with-param name="iStackToEast_W"     select="$stackToEast_W_"/>
+                                                       <xsl:with-param name="iStackToWest_W"     select="$stackToWest_W_"/>
+                                                       <xsl:with-param name="iLaneInSpace_X"     select="$laneInSpace_X_"/>
+                                                       <xsl:with-param name="iSpaceSharedBus_Y"  select="$spaceSharedBus_Y_"/>
+                                               </xsl:call-template>    
+                                       </xsl:when>
+                                       
+<!--
+                ===========================================================
+                       Handle Processor's Shared bus connections.
+                ===========================================================
+-->
+                                       <xsl:when test="@BUSLANE_X and @IS_SBSCONN and not(@IS_MPMCCONN) and BUSCONN[@BIF_Y and @IS_PROCCONN and @INSTANCE and @BUSINTERFACE] and $G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $busName_)]/@BUS_INDEX">
+                                               <xsl:call-template name="BCLaneSpace_ProcBifToSharedBus">
+                                                       <xsl:with-param name="iBusStd"            select="$busStd_"/>
+                                                       <xsl:with-param name="iBusName"           select="$busName_"/>
+                                                       <xsl:with-param name="iBifType"           select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $busName_)]/BUSINTERFACE/@TYPE"/>
+                                                       <xsl:with-param name="iStackToEast"       select="$stackToEast_"/>
+                                                       <xsl:with-param name="iStackToWest"       select="$stackToWest_"/>
+                                                       <xsl:with-param name="iStackToEast_W"     select="$stackToEast_W_"/>
+                                                       <xsl:with-param name="iStackToWest_W"     select="$stackToWest_W_"/>
+                                                       <xsl:with-param name="iLaneInSpace_X"     select="$laneInSpace_X_"/>
+                                                       <xsl:with-param name="iSpaceSharedBus_Y"  select="$spaceSharedBus_Y_"/>
+                                               </xsl:call-template>    
+<!--                                           
+-->    
+                                       </xsl:when>     
+                                       
+<!--
+                ===========================================================
+                       Handle non Processor Shared Bus connections.
+                ===========================================================
+-->
+                                       <xsl:when test="@BUSLANE_X and @IS_SBSCONN and not(@IS_MPMCCONN) and BUSCONN[@BIF_Y and not(@IS_PROCCONN) and @INSTANCE and @BUSINTERFACE] and /EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $busName_)]/@BUS_INDEX">
+                                               <xsl:call-template name="BCLaneSpace_NonProcBifToSharedBus">
+                                                       <xsl:with-param name="iBusStd"            select="$busStd_"/>
+                                                       <xsl:with-param name="iBusName"           select="$busName_"/>
+                                                       <xsl:with-param name="iBifType"           select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $busName_)]/BUSINTERFACE/@TYPE"/>
+                                                       <xsl:with-param name="iStackToEast"       select="$stackToEast_"/>
+                                                       <xsl:with-param name="iStackToWest"       select="$stackToWest_"/>
+                                                       <xsl:with-param name="iStackToEast_W"     select="$stackToEast_W_"/>
+                                                       <xsl:with-param name="iStackToWest_W"     select="$stackToWest_W_"/>
+                                                       <xsl:with-param name="iLaneInSpace_X"     select="$laneInSpace_X_"/>
+                                                       <xsl:with-param name="iSpaceSharedBus_Y"  select="$spaceSharedBus_Y_"/>
+                                               </xsl:call-template>    
+<!--                                           
+-->    
+                                       </xsl:when>                                     
+                                       
+<!-- 
+                ===========================================================
+                       Handle connections from processors to Memory UNITs
+                ===========================================================
+-->                    
+                                       <xsl:when test="@BUSLANE_X and @IS_MEMCONN and not(@IS_MULTISTK) and BUSCONN[@BIF_Y and @IS_PROCCONN and not(@IS_SPLITCONN) and @INSTANCE and @BUSINTERFACE]">
+                                               <xsl:call-template name="BCLaneSpace_ProcBifToMemoryUnit">
+                                                       <xsl:with-param name="iBusStd"         select="$busStd_"/>
+                                                       <xsl:with-param name="iBusName"        select="$busName_"/>
+                                                       <xsl:with-param name="iBifType"        select="BUSCONN/@TYPE"/>
+                                                       <xsl:with-param name="iStackToEast"    select="$stackToEast_"/>
+                                                       <xsl:with-param name="iStackToWest"    select="$stackToWest_"/>
+                                                       <xsl:with-param name="iStackToEast_W"  select="$stackToEast_W_"/>
+                                                       <xsl:with-param name="iStackToWest_W"  select="$stackToWest_W_"/>
+                                                       <xsl:with-param name="iLaneInSpace_X"  select="$laneInSpace_X_"/>
+                                               </xsl:call-template>    
+<!--                                           
+-->    
+                                       </xsl:when>                             
+                               
+                                       
+<!-- 
+                ===========================================================
+                       Handle generic Point to Point connections
+                ===========================================================
+-->
+                                       <xsl:when test="@BUSLANE_X and not(@IS_MULTISTK) and not(@IS_MPMCCONN) and not(@IS_MEMCONN) and not(@IS_SBSCONN) and BUSCONN[@BIF_Y and @INSTANCE and @BUSINTERFACE and not(@IS_SPLITCONN)]">
+                                               <xsl:call-template name="BCLaneSpace_PointToPoint">
+                                                       <xsl:with-param name="iBusStd"         select="$busStd_"/>
+                                                       <xsl:with-param name="iBusName"        select="$busName_"/>
+                                                       <xsl:with-param name="iBifType"        select="BUSCONN/@TYPE"/>
+                                                       <xsl:with-param name="iStackToEast"    select="$stackToEast_"/>
+                                                       <xsl:with-param name="iStackToWest"    select="$stackToWest_"/>
+                                                       <xsl:with-param name="iStackToEast_W"  select="$stackToEast_W_"/>
+                                                       <xsl:with-param name="iStackToWest_W"  select="$stackToWest_W_"/>
+                                                       <xsl:with-param name="iLaneInSpace_X"  select="$laneInSpace_X_"/>
+                                               </xsl:call-template>    
+<!--                                           
+-->    
+                                       </xsl:when>                             
+                                       
+<!-- 
+                ===========================================================
+                       Handle MultiStack Point to Point connections
+                ===========================================================
+-->
+                                       <xsl:when test="@BUSLANE_X and (@IS_MULTISTK) and not(@IS_SBSCONN) and BUSCONN[@BIF_Y and @IS_PROCCONN and @INSTANCE and @BUSINTERFACE]">
+                                               <xsl:call-template name="BCLaneSpace_MultiStack_PointToPoint">
+                                                       <xsl:with-param name="iBusStd"         select="$busStd_"/>
+                                                       <xsl:with-param name="iBusName"        select="$busName_"/>
+                                                       <xsl:with-param name="iBifType"        select="BUSCONN/@TYPE"/>
+                                                       <xsl:with-param name="iStackToEast"    select="$stackToEast_"/>
+                                                       <xsl:with-param name="iStackToWest"    select="$stackToWest_"/>
+                                                       <xsl:with-param name="iStackToEast_W"  select="$stackToEast_W_"/>
+                                                       <xsl:with-param name="iStackToWest_W"  select="$stackToWest_W_"/>
+                                                       <xsl:with-param name="iLaneInSpace_X"  select="$laneInSpace_X_"/>
+                                               </xsl:call-template>    
+                                       </xsl:when>                             
+                                       
+<!-- 
+                ===========================================================
+                       Handle Processor to processor connections
+                ===========================================================
+-->
+                               <xsl:when test="(@IS_PROC2PROC and (count(BUSCONN[@BIF_Y and @INSTANCE and @BUSINTERFACE]) = 2))">
+                                       <xsl:call-template name="BCLaneSpace_ProcToProc">
+                                               <xsl:with-param name="iBusStd"         select="$busStd_"/>
+                                               <xsl:with-param name="iBusName"        select="$busName_"/>
+                                               <xsl:with-param name="iBifType"        select="BUSCONN/@TYPE"/>
+                                               <xsl:with-param name="iStackToEast"    select="$stackToEast_"/>
+                                               <xsl:with-param name="iStackToWest"    select="$stackToWest_"/>
+                                               <xsl:with-param name="iStackToEast_W"  select="$stackToEast_W_"/>
+                                               <xsl:with-param name="iStackToWest_W"  select="$stackToWest_W_"/>
+                                               <xsl:with-param name="iLaneInSpace_X"  select="$laneInSpace_X_"/>
+                                       </xsl:call-template>    
+                               </xsl:when>
+<!-- 
+                ===========================================================
+                       Handle connections to the StandAlone MPMC
+                ===========================================================
+-->
+                       <xsl:when test="@BUSLANE_X and (@IS_MPMCCONN) and not(@IS_SBSCONN) and BUSCONN[(@BIF_Y and @INSTANCE and @BUSINTERFACE)]">
+<!--                           
+-->                            
+                                       <xsl:call-template name="BCLaneSpace_ToStandAloneMPMC">
+                                               <xsl:with-param name="iBusStd"         select="$busStd_"/>
+                                               <xsl:with-param name="iBusName"        select="$busName_"/>
+                                               <xsl:with-param name="iBifType"        select="BUSCONN/@TYPE"/>
+                                               <xsl:with-param name="iStackToEast"    select="$stackToEast_"/>
+                                               <xsl:with-param name="iStackToWest"    select="$stackToWest_"/>
+                                               <xsl:with-param name="iStackToEast_W"  select="$stackToEast_W_"/>
+                                               <xsl:with-param name="iStackToWest_W"  select="$stackToWest_W_"/>
+                                               <xsl:with-param name="iLaneInSpace_X"  select="$laneInSpace_X_"/>
+                                       </xsl:call-template>    
+                       </xsl:when>
+                                       
+<!-- 
+                ===========================================================
+                       Handle Split connections, (connections that go between non adjacent stacks)
+                ===========================================================
+-->
+                       <xsl:when test="(BUSCONN[@BIF_Y and @INSTANCE and @BUSINTERFACE and @IS_SPLITCONN])">
+                               <xsl:call-template name="BCLaneSpace_SplitConn">
+                                       <xsl:with-param name="iBusStd"         select="$busStd_"/>
+                                       <xsl:with-param name="iBusName"        select="$busName_"/>
+                                       <xsl:with-param name="iBifType"        select="BUSCONN/@TYPE"/>
+                                       <xsl:with-param name="iStackToEast"    select="$stackToEast_"/>
+                                       <xsl:with-param name="iStackToWest"    select="$stackToWest_"/>
+                                       <xsl:with-param name="iStackToEast_W"  select="$stackToEast_W_"/>
+                                       <xsl:with-param name="iStackToWest_W"  select="$stackToWest_W_"/>
+                                       <xsl:with-param name="iLaneInSpace_X"  select="$laneInSpace_X_"/>
+                               </xsl:call-template>    
+<!--                           
+-->    
+                       </xsl:when>
+                                       
+               </xsl:choose>
+                                                               
+       </xsl:for-each>
+       </g>
+                       
+</xsl:template>        
+       
+<xsl:template name="Define_BusLaneSpaces"> 
+       
+       <xsl:variable name="lastStack_" select="(/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH) - 1"/>
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[@EAST]">
+               <xsl:sort select="@EAST" data-type="number"/>
+                       
+               <xsl:call-template name="Define_BusLaneSpace">
+                       <xsl:with-param name="iStackToEast"  select="@EAST"/>
+               </xsl:call-template>
+       </xsl:for-each> 
+       
+<!--   
+       <xsl:message>Last Stack <xsl:value-of select="$lastStack_"/></xsl:message>
+-->    
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(@WEST = $lastStack_)]">
+               <xsl:call-template name="Define_BusLaneSpace">
+                       <xsl:with-param name="iStackToWest"  select="$lastStack_"/>
+               </xsl:call-template>
+       </xsl:for-each> 
+                       
+</xsl:template>
+               
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Busses.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Busses.xsl
new file mode 100644 (file)
index 0000000..b95ad11
--- /dev/null
@@ -0,0 +1,546 @@
+<?xml version="1.0" standalone="no"?>
+ <xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">               
+       
+<!-- 
+<xsl:output method="xml"
+                  version="1.0" 
+                  encoding="UTF-8" 
+                  indent="yes"
+              doctype-public="-//W3C//DTD SVG 1.0//EN"
+                  doctype-system="http://www.w3.org/TR/SVG/DTD/svg10.dtd"/>
+-->
+       
+<xsl:template name="Define_Busses">
+<!--   
+       <xsl:param name="drawarea_w"  select="500"/>
+       <xsl:param name="drawarea_h"  select="500"/>
+-->    
+       
+       <xsl:for-each select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR">
+               
+               <xsl:call-template name="Define_BusArrowsEastWest"> 
+                       <xsl:with-param name="iBusStd"    select="@BUSSTD"/>
+               </xsl:call-template>
+               
+               <xsl:call-template name="Define_BusArrowsNorthSouth"> 
+                       <xsl:with-param name="iBusStd"    select="@BUSSTD"/>
+               </xsl:call-template>
+               
+               <xsl:call-template name="Define_SplitBusses"> 
+                       <xsl:with-param name="iBusStd"    select="@BUSSTD"/>
+               </xsl:call-template>
+               
+       </xsl:for-each>
+       
+       <xsl:call-template name="Define_SharedBus"> 
+               <xsl:with-param name="iBusStd"    select="'AXI'"/>
+       </xsl:call-template>
+       
+       <xsl:call-template name="Define_SharedBus"> 
+               <xsl:with-param name="iBusStd"    select="'OPB'"/>
+       </xsl:call-template>
+       
+       <xsl:call-template name="Define_SharedBus"> 
+               <xsl:with-param name="iBusStd"    select="'PLB'"/>
+       </xsl:call-template>
+       
+       <xsl:call-template name="Define_SharedBus"> 
+               <xsl:with-param name="iBusStd"    select="'PLBV46'"/>
+       </xsl:call-template>
+       
+       <xsl:call-template name="Define_SharedBus_Group"/> 
+       
+</xsl:template>
+
+<xsl:template name="Define_BusArrowsEastWest"> 
+       <xsl:param name="iBusStd"    select="'PLB'"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="busStdColor_lt_">
+               <xsl:call-template name="F_BusStd2RGB_LT">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <g id="{$iBusStd}_BusArrowEast">
+               <path class="bus"
+                         d="M   0,0
+                                L     {$BLKD_BUS_ARROW_W}, {ceiling($BLKD_BUS_ARROW_H div 2)}
+                                L   0,{$BLKD_BUS_ARROW_H}, 
+                                Z" style="stroke:none; fill:{$busStdColor_}"/>
+       </g>
+       
+       <g id="{$iBusStd}_BusArrowWest">
+               <use   x="0"   y="0"  xlink:href="#{$iBusStd}_BusArrowEast" transform="scale(-1,1) translate({$BLKD_BUS_ARROW_W * -1},0)"/>
+       </g>
+       
+       <g id="{$iBusStd}_BusArrowHInitiator">
+               <rect x="0" 
+                         y="{$BLKD_BUS_ARROW_G}"  
+                         width= "{$BLKD_BUS_ARROW_W}" 
+                         height="{$BLKD_P2P_BUS_W}" 
+                        style="stroke:none; fill:{$busStdColor_}"/>
+       </g>
+       
+</xsl:template>
+
+<!--   
+       <xsl:param name="bus_col"     select="'OPB'"/>
+-->    
+
+<xsl:template name="Define_BusArrowsNorthSouth">
+       <xsl:param name="iBusStd"    select="'PLB'"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="busStdColor_lt_">
+               <xsl:call-template name="F_BusStd2RGB_LT">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <g id="{$iBusStd}_BusArrowSouth">
+               <path class="bus"
+                         d="M   0,0
+                                L   {$BLKD_BUS_ARROW_H},0
+                                L   {ceiling($BLKD_BUS_ARROW_H div 2)}, {$BLKD_BUS_ARROW_W}
+                                Z" style="stroke:none; fill:{$busStdColor_}"/>
+       </g>
+       
+       <g id="{$iBusStd}_BusArrowNorth">
+               <use   x="0"   y="0"  xlink:href="#{$iBusStd}_BusArrowSouth" transform="scale(1,-1) translate(0,{$BLKD_BUS_ARROW_H * -1})"/>
+       </g>
+       
+       <g id="{$iBusStd}_BusArrowInitiator">
+               <rect x="{$BLKD_BUS_ARROW_G}" 
+                         y="0"  
+                         width= "{$BLKD_BUS_ARROW_W - ($BLKD_BUS_ARROW_G * 2)}" 
+                         height="{$BLKD_BUS_ARROW_H}" 
+                        style="stroke:none; fill:{$busStdColor_}"/>
+       </g>
+       
+</xsl:template>
+       
+
+<xsl:template name="Draw_P2PBus">
+       
+       <xsl:param name="iBusX"        select="0"/>
+       <xsl:param name="iBusTop"          select="0"/>
+       <xsl:param name="iBusBot"          select="0"/>
+       <xsl:param name="iBusStd"          select="'_bstd_'"/>
+       <xsl:param name="iBusName"         select="'_p2pbus_'"/>
+       <xsl:param name="iBotBifType"  select="'_unk_'"/>
+       <xsl:param name="iTopBifType"  select="'_unk_'"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:choose>
+                       
+                       <xsl:when test="@BUSSTD">
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="@BUSSTD"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       
+                       <xsl:when test="not($iBusStd = '_bstd_')">
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       
+                       <xsl:otherwise>
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="'TRS'"/>
+                               </xsl:call-template>    
+                       </xsl:otherwise>
+                       
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name="p2pH_" select="($iBusBot - $iBusTop) - ($BLKD_BUS_ARROW_H * 2)"/>
+
+       <xsl:variable name="botArrow_">
+               <xsl:choose>
+                       <xsl:when test="((($iBotBifType = 'INITIATOR') or ($iBotBifType = 'MASTER')) and ($iBusStd = 'FSL'))">BusArrowInitiator</xsl:when>
+                       <xsl:otherwise>BusArrowSouth</xsl:otherwise> 
+               </xsl:choose>           
+       </xsl:variable>
+       
+       <xsl:variable name="topArrow_">
+               <xsl:choose>
+                       <xsl:when test="((($iTopBifType = 'INITIATOR') or ($iTopBifType = 'MASTER')) and ($iBusStd = 'FSL'))">BusArrowInitiator</xsl:when>
+                       <xsl:otherwise>BusArrowNorth</xsl:otherwise> 
+               </xsl:choose>           
+       </xsl:variable>
+       
+       <xsl:if test="@BUSSTD">         
+               <use  x="{($iBusX + ceiling($BLKD_BIFC_W div 2)) - ceiling($BLKD_BUS_ARROW_W div 2)}"  
+                     y="{$iBusTop + ($BLKD_BIFC_H  - $BLKD_BUS_ARROW_H) + $BLKD_BUS_ARROW_H}"  
+                     xlink:href="#{@BUSSTD}_{$topArrow_}"/>    
+                 
+               <use  x="{($iBusX + ceiling($BLKD_BIFC_W div 2)) - ceiling($BLKD_BUS_ARROW_W div 2)}"  
+                     y="{$iBusBot - $BLKD_BUS_ARROW_H}"  
+                     xlink:href="#{@BUSSTD}_{$botArrow_}"/>    
+       </xsl:if>                 
+       
+       <xsl:if test="(not(@BUSSTD) and not($iBusStd = '_bstd_'))">             
+               <use  x="{($iBusX + ceiling($BLKD_BIFC_W div 2)) - ceiling($BLKD_BUS_ARROW_W div 2)}"  
+                     y="{$iBusTop + ($BLKD_BIFC_H  - $BLKD_BUS_ARROW_H) + $BLKD_BUS_ARROW_H}"  
+                     xlink:href="#{$iBusStd}_{$topArrow_}"/>   
+                 
+               <use  x="{($iBusX + ceiling($BLKD_BIFC_W div 2)) - ceiling($BLKD_BUS_ARROW_W div 2)}"  
+                     y="{$iBusBot - $BLKD_BUS_ARROW_H}"  
+                     xlink:href="#{$iBusStd}_{$botArrow_}"/>   
+       </xsl:if>                 
+       
+       
+       <rect x="{($iBusX + ceiling($BLKD_BIFC_W div 2)) - ceiling($BLKD_BUS_ARROW_W div 2) + $BLKD_BUS_ARROW_G}"  
+                 y="{$iBusTop + $BLKD_BIFC_H + $BLKD_BUS_ARROW_H}"  
+                 height= "{$p2pH_  - ($BLKD_BUS_ARROW_H * 2)}" 
+                 width="{$BLKD_BUS_ARROW_W - ($BLKD_BUS_ARROW_G * 2)}" 
+                 style="stroke:none; fill:{$busStdColor_}"/>
+                 
+<!--
+       <text class="p2pbuslabel" 
+                         x="{$iBusX   + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 4}"
+                         y="{$iBusTop + ($BLKD_BUS_ARROW_H * 3)}">
+                       <xsl:value-of select="$iBusName"/>
+       </text>
+-->    
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="($iBusX   + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 4)"/>
+                       <xsl:with-param name="iY"               select="($iBusTop + ($BLKD_BUS_ARROW_H * 3))"/>
+                       <xsl:with-param name="iText"    select="$iBusName"/>
+                       <xsl:with-param name="iClass"   select="'p2pbus_label'"/>
+               </xsl:call-template>
+                         
+       <xsl:if test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iBusName)]/@GROUP">
+<!-- 
+          <text class="ioplblgrp" 
+                 x="{$iBusX   +  $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 6}"
+                 y="{$iBusTop + ($BLKD_BUS_ARROW_H * 10)}">
+                          <xsl:value-of select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iBusName)]/@GROUP"/>
+               </text>
+-->            
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(iBusX   +  $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 6)"/>
+                       <xsl:with-param name="iY"               select="($iBusTop + ($BLKD_BUS_ARROW_H * 10))"/>
+                       <xsl:with-param name="iText"    select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iBusName)]/@GROUP"/>
+                       <xsl:with-param name="iClass"   select="'iogrp_label'"/>
+               </xsl:call-template>
+          
+       </xsl:if>       
+               
+</xsl:template>
+
+       
+<xsl:template name="Draw_Proc2ProcBus">
+       
+       <xsl:param name="iBc_Y"         select="0"/>
+       <xsl:param name="iBusStd"       select="'_bstd_'"/>
+       <xsl:param name="iBusName"      select="'_p2pbus_'"/>
+       <xsl:param name="iBcLeft_X"     select="0"/>
+       <xsl:param name="iBcRght_X"     select="0"/>
+       <xsl:param name="iLeftBifType"  select="'_unk_'"/>
+       <xsl:param name="iRghtBifType"  select="'_unk_'"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="pr2pr_W_" select="($iBcRght_X - $iBcLeft_X)"/>
+
+       <xsl:variable name="leftArrow_">
+               <xsl:choose>
+                       <xsl:when test="((($iLeftBifType = 'INITIATOR') or ($iLeftBifType = 'MASTER')) and ($iBusStd = 'FSL'))">BusArrowHInitiator</xsl:when>
+                       <xsl:otherwise>BusArrowWest</xsl:otherwise> 
+               </xsl:choose>           
+       </xsl:variable>
+       
+       <xsl:variable name="rghtArrow_">
+               <xsl:choose>
+                       <xsl:when test="((($iRghtBifType = 'INITIATOR') or ($iRghtBifType = 'MASTER')) and ($iBusStd = 'FSL'))">BusArrowHInitiator</xsl:when>
+                       <xsl:otherwise>BusArrowEast</xsl:otherwise> 
+               </xsl:choose>           
+       </xsl:variable>
+       
+       
+       <xsl:variable name="bus_Y_" select="($iBc_Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2))"/>
+       
+       <use  x="{$iBcLeft_X}"                     y="{$bus_Y_}"  xlink:href="#{$iBusStd}_{$leftArrow_}"/>      
+       <use  x="{$iBcRght_X - $BLKD_BUS_ARROW_W}" y="{$bus_Y_}"  xlink:href="#{$iBusStd}_{$rghtArrow_}"/>      
+       
+       <rect x="{$iBcLeft_X + $BLKD_BUS_ARROW_W}" 
+                 y="{$bus_Y_    + $BLKD_BUS_ARROW_G}"  
+                 width= "{$pr2pr_W_    -      (2 * $BLKD_BUS_ARROW_W)}" 
+                 height="{$BLKD_BUS_ARROW_H - (2 * $BLKD_BUS_ARROW_G)}" style="stroke:none; fill:{$busStdColor_}"/>
+       
+<!-- 
+               <text class="horizp2pbuslabel" 
+                         x="{$iBcLeft_X  + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 4}"
+                         y="{($bus_Y_)}"><xsl:value-of select="$iBusName"/></text>
+                         
+               <text class="horizp2pbuslabel" 
+                         x="{$iBcRght_X - (string-length($iBusName) * 8)}"
+                         y="{($bus_Y_)}"><xsl:value-of select="$iBusName"/></text>
+-->    
+          
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="($iBcLeft_X  + $BLKD_BUS_ARROW_W + ceiling($BLKD_BUS_ARROW_W div 2) + ceiling($BLKD_BUS_ARROW_W div 4) + 4)"/>
+                       <xsl:with-param name="iY"               select="$bus_Y_"/>
+                       <xsl:with-param name="iText"    select="$iBusName"/>
+                       <xsl:with-param name="iClass"   select="'p2pbus_label'"/>
+               </xsl:call-template>    
+               
+<!--
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(iBcRght_X - (string-length($iBusName) * 8))"/>
+                       <xsl:with-param name="iY"               select="$bus_Y_"/>
+                       <xsl:with-param name="iText"    select="$iBusName"/>
+                       <xsl:with-param name="iClass"   select="'p2pbus_label'"/>
+               </xsl:call-template>                                    
+               
+-->            
+       
+</xsl:template>
+       
+       
+<xsl:template name="Draw_SplitConnBus">
+       
+       <xsl:param name="iBc_X"     select="0"/>
+       <xsl:param name="iBc_Y"     select="0"/>
+       <xsl:param name="iBc_Type"  select="'_unk_'"/>
+       <xsl:param name="iBc_Side"  select="'_unk_'"/>
+       <xsl:param name="iBusStd"   select="'_bstd_'"/>
+       <xsl:param name="iBusName"  select="'_p2pbus_'"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="connArrow_">
+               <xsl:choose>
+                       <xsl:when test="((($iBc_Type = 'INITIATOR') or ($iBc_Type = 'MASTER')) and ($iBusStd = 'FSL'))">BusArrowHInitiator</xsl:when>
+                       <xsl:otherwise>BusArrowEast</xsl:otherwise> 
+               </xsl:choose>           
+       </xsl:variable>
+       
+       <xsl:variable name="arrow_Y_" select="($iBc_Y + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_BUS_ARROW_H div 2))"/>
+       
+       <xsl:variable name="bus_X_">
+               <xsl:choose>
+                       <xsl:when test="$iBc_Side = '0'"><xsl:value-of select="($iBc_X - ($BLKD_BUS_ARROW_W * 2))"/></xsl:when>
+                       <xsl:when test="$iBc_Side = '1'"><xsl:value-of select="($iBc_X + $BLKD_BIFC_W + $BLKD_BUS_ARROW_W)"/></xsl:when>
+               </xsl:choose>           
+       </xsl:variable> 
+       
+<!--   
+       <use  x="{$bus_X_}"  y="{$arrow_Y_}"  xlink:href="#{$busStd}_BusArrowHInitiator"/>      
+-->    
+       
+       <xsl:variable name="arrow_X_">
+               <xsl:choose>
+                       <xsl:when test="$iBc_Side = '0'"><xsl:value-of select="($iBc_X - $BLKD_BUS_ARROW_W)"/></xsl:when>
+                       <xsl:when test="$iBc_Side = '1'"><xsl:value-of select="($iBc_X + $BLKD_BIFC_W)"/></xsl:when>
+               </xsl:choose>           
+       </xsl:variable> 
+       <xsl:choose>
+               <xsl:when test="(($iBusStd = 'FSL') and (($iBc_Type = 'MASTER') or ($iBc_Type = 'INITIATOR')))">
+                       <use  x="{$arrow_X_}"  y="{$arrow_Y_}"  xlink:href="#{$iBusStd}_{$connArrow_}"/>        
+                       <use  x="{$bus_X_}"    y="{$arrow_Y_}"  xlink:href="#{$iBusStd}_BusArrowHInitiator"/>   
+               </xsl:when>
+               <xsl:when test="(($iBc_Side = '1') and not($iBusStd = 'FSL') and (($iBc_Type = 'MASTER') or ($iBc_Type = 'INITIATOR')))">
+                       <use  x="{$arrow_X_ - $BLKD_BIFC_W}"  y="{$arrow_Y_}"  xlink:href="#{$iBusStd}_SplitBus_WEST"/>
+               </xsl:when>
+               <xsl:when test="(($iBc_Side = '1') and (($iBc_Type = 'SLAVE') or ($iBc_Type = 'TARGET') or ($iBc_Type = 'USER')))">
+                       <use  x="{$arrow_X_}"  y="{$arrow_Y_}"  xlink:href="#{$iBusStd}_SplitBus_EAST"/>
+               </xsl:when>
+               <xsl:otherwise>
+                       <use  x="{$arrow_X_}" y="{$arrow_Y_}" xlink:href="#{$iBusStd}_{$connArrow_}"/>  
+                       <use  x="{$bus_X_}"   y="{$arrow_Y_}" xlink:href="#{$iBusStd}_BusArrowHInitiator"/>     
+               </xsl:otherwise>
+       </xsl:choose>
+       
+       <xsl:variable name="text_X_">
+               <xsl:choose>
+                       <xsl:when test="$iBc_Side = '0'"><xsl:value-of select="($bus_X_ - $BLKD_BUS_ARROW_W - (string-length($iBusName) * 5))"/></xsl:when>
+                       <xsl:when test="$iBc_Side = '1'"><xsl:value-of select="($bus_X_ + $BLKD_BUS_ARROW_W)"/></xsl:when>
+               </xsl:choose>           
+       </xsl:variable> 
+               
+       
+<!-- 
+       <text class="horizp2pbuslabel" 
+                         x="{$text_X_}"
+                         y="{($arrow_Y_)}">
+                       <xsl:value-of select="$iBusName"/>
+       </text>
+-->    
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="$text_X_"/>
+                       <xsl:with-param name="iY"               select="$arrow_Y_"/>
+                       <xsl:with-param name="iText"    select="$iBusName"/>
+                       <xsl:with-param name="iClass"   select="'p2pbus_label'"/>
+               </xsl:call-template>
+       
+</xsl:template>
+       
+       
+<xsl:template name="Define_SharedBus"> 
+       
+       <xsl:param name="iBusStd"    select="'PLB46'"/>
+       
+       <xsl:variable name="sharedbus_w_"  select="($G_Total_DrawArea_W - ($BLKD_INNER_GAP * 2))"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="busStdColor_lt_">
+               <xsl:call-template name="F_BusStd2RGB_LT">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+        <g id="{$iBusStd}_SharedBus">
+               <use  x="0"                                   y="0"  xlink:href="#{$iBusStd}_BusArrowWest"/>    
+               <use  x="{$sharedbus_w_ - $BLKD_BUS_ARROW_W}" y="0"  xlink:href="#{$iBusStd}_BusArrowEast"/>    
+               
+               <rect x="{$BLKD_BUS_ARROW_W}" 
+                         y="{$BLKD_BUS_ARROW_G}"  
+                         width= "{$sharedbus_w_  - ($BLKD_BUS_ARROW_W * 2)}" 
+                         height="{$BLKD_BUS_ARROW_H - (2 * $BLKD_BUS_ARROW_G)}" style="stroke:none; fill:{$busStdColor_}"/>
+       </g>
+</xsl:template>
+
+       
+<xsl:template name="Define_SplitBusses"> 
+       
+       <xsl:param name="iBusStd"    select="'FSL'"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="bifc_r_" select="ceiling($BLKD_BIFC_W div 3)"/>
+       
+        <g id="{$iBusStd}_SplitBus_EAST">
+               <use  x="0"  y="0"    xlink:href="#{$iBusStd}_BusArrowWest"/>   
+               
+               <rect x="{$BLKD_BUS_ARROW_W}" 
+                         y="{$BLKD_BUS_ARROW_G}"  
+                         width= "{$BLKD_BIFC_W}" 
+                         height="{$BLKD_BUS_ARROW_H - (2 * $BLKD_BUS_ARROW_G)}" style="stroke:none; fill:{$busStdColor_}"/>
+                
+       </g>
+       
+       <xsl:variable name="splbus_w_" select="($BLKD_BUS_ARROW_W + $BLKD_BIFC_W + $BLKD_BIFC_Wi)"/>
+       
+        <g id="{$iBusStd}_SplitBus_WEST">
+               <use   x="0"   y="0"  xlink:href="#{$iBusStd}_SplitBus_EAST" transform="scale(-1,1) translate({$splbus_w_ * -1},0)"/>
+       </g>
+       
+        <g id="{$iBusStd}_SplitBus_OneWay">
+                
+               <rect x="0" 
+                         y="{$BLKD_BUS_ARROW_G}"  
+                         width= "{($BLKD_BUS_ARROW_W * 2)}" 
+                         height="{$BLKD_BUS_ARROW_H - (2 * $BLKD_BUS_ARROW_G)}" style="stroke:none; fill:{$busStdColor_}"/>
+                
+               <rect x="{($BLKD_BUS_ARROW_W * 2)}"
+                         y="0"  
+                         width= "{$BLKD_BUS_ARROW_H}" 
+                         height="{$BLKD_BUS_ARROW_H}" style="stroke:none; fill:{$busStdColor_}"/>
+                
+       </g>
+</xsl:template>
+
+
+<xsl:template name="Define_SharedBus_Group"> 
+
+<!-- The Bridges go into the shared bus shape -->
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE">        
+       
+               <xsl:variable name="modInst_" select="@INSTANCE"/>
+               <xsl:variable name="modType_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInst_)]/@MODTYPE"/>
+               
+               <xsl:call-template name="Define_Peripheral"> 
+                       <xsl:with-param name="iModVori"  select="'normal'"/>
+                       <xsl:with-param name="iModInst"  select="$modInst_"/>
+                       <xsl:with-param name="iModType"  select="$modType_"/>
+               </xsl:call-template>
+       
+       </xsl:for-each>
+       
+<g id="group_sharedBusses">
+       
+       <!-- Draw the shared bus shapes first -->       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSSHAPES/MODULE">   
+               <xsl:variable name="instance_"  select="@INSTANCE"/>
+               
+               <xsl:variable name="busStd_"   select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $instance_)]/@BUSSTD"/>    
+               <xsl:variable name="busIndex_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $instance_)]/@BUS_INDEX"/> 
+               
+               <xsl:variable name="busY_"  select="($busIndex_ * $BLKD_SBS_LANE_H)"/>  
+               
+               <use  x="0"  y="{$busY_}"  xlink:href="#{$busStd_}_SharedBus"/> 
+               
+<!-- 
+               <text class="sharedbuslabel" 
+                         x="8"
+                         y="{$busY_ + $BLKD_BUS_ARROW_H + 10}">
+                       <xsl:value-of select="$instance_"/>
+               </text>
+-->            
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'8'"/>
+                       <xsl:with-param name="iY"               select="($busY_ + $BLKD_BUS_ARROW_H + 10)"/>
+                       <xsl:with-param name="iText"    select="$instance_"/>
+                       <xsl:with-param name="iClass"   select="'sharedbus_label'"/>
+               </xsl:call-template>                            
+       </xsl:for-each>
+       
+</g>   
+
+<g id="KEY_SharedBus">
+       <use  x="0"  y="0"  xlink:href="#KEY_BusArrowWest"/>    
+       <use  x="30" y="0"  xlink:href="#KEY_BusArrowEast"/>    
+        
+       <xsl:variable name="key_col_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="'KEY'"/>
+               </xsl:call-template>    
+       </xsl:variable>
+               
+       <rect x="{$BLKD_BUS_ARROW_W}" 
+                 y="{$BLKD_BUS_ARROW_G}"  
+                 width= "{30 - $BLKD_BUS_ARROW_W}" 
+                 height="{$BLKD_BUS_ARROW_H - (2 * $BLKD_BUS_ARROW_G)}" style="stroke:none; fill:{$key_col_}"/>
+</g>
+       
+</xsl:template>
+       
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Functions.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Functions.xsl
new file mode 100644 (file)
index 0000000..5b091ab
--- /dev/null
@@ -0,0 +1,1112 @@
+<?xml version="1.0" standalone="no"?>
+
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       extension-element-prefixes="math dyn exsl xlink">
+<!--
+xmlns:svg="http://www.w3.org/2000/svg"
+<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
+              doctype-public="-//W3C//DTD SVG 1.0//EN"
+                  doctype-system="http://www.w3.org/TR/SVG/DTD/svg10.dtd"/>
+-->           
+<xsl:template name="F_Calc_Proc_Height">
+       <xsl:param name="iProcInst"  select="_processor_"/>
+       
+       <xsl:variable name="tot_bifs_h_">
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $iProcInst)]/@BIFS_H)">0</xsl:if>
+               
+               <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $iProcInst)]/@BIFS_H">
+                       <xsl:variable name="bifs_h_" select="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $iProcInst)]/@BIFS_H)"/>
+                       <xsl:value-of select="(($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_H) * $bifs_h_)"/>       
+               </xsl:if>
+       </xsl:variable> 
+       
+       <xsl:value-of select="(($BLKD_MOD_LANE_H * 2) + $tot_bifs_h_ + ($BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_H))"/>    
+</xsl:template>
+
+<xsl:template name="F_Calc_Max_Proc_Height">
+
+       <!-- Store the heights in a variable -->        
+       <xsl:variable name="proc_heights_">
+       
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE)">
+                       <PROC HEIGHT="0"/>
+               </xsl:if>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE">
+                       <xsl:variable name="procInst_" select="@INSTANCE"/> 
+                       <xsl:variable name="proc_height_">
+                               <xsl:call-template name="F_Calc_Proc_Height">   
+                                       <xsl:with-param name="iProcInst" select="$procInst_"/>
+                               </xsl:call-template>    
+                       </xsl:variable>
+                       
+<!--                   
+                       <xsl:message>Found Proc height as <xsl:value-of select="$proc_height_"/></xsl:message>
+-->                    
+                       <PROC HEIGHT="{$proc_height_}"/>
+               </xsl:for-each>
+       </xsl:variable>
+       
+       <!-- Return the max of them --> 
+<!--   
+       <xsl:message>Found Proc ax as <xsl:value-of select="math:max(exsl:node-set($proc_heights_)/PROC/@HEIGHT)"/></xsl:message>
+-->    
+
+       <xsl:value-of select="math:max(exsl:node-set($proc_heights_)/PROC/@HEIGHT)"/>
+</xsl:template>
+
+
+<xsl:template name="F_Calc_Proc_MemoryUnits_Height">
+       <xsl:param name="iProcInst"  select="_processor_"/>
+       
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@PROCESSOR = $iProcInst) and (@MODCLASS = 'MEMORY_UNIT'))])">0</xsl:if>
+       
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@PROCESSOR = $iProcInst) and (@MODCLASS='MEMORY_UNIT'))]">
+               
+       <xsl:variable name="peri_gap_">
+               <xsl:choose>
+                       <xsl:when test="not(@CSTACK_INDEX)">
+                               <xsl:value-of select="$BLKD_BIF_H"/>
+                       </xsl:when>
+                       <xsl:otherwise>0</xsl:otherwise>
+               </xsl:choose>   
+       </xsl:variable> 
+                       
+               
+               <!-- Store the all memory unit heights in a variable -->
+               <xsl:variable name="memU_heights_">
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@PROCESSOR = $iProcInst) and (@MODCLASS='MEMORY_UNIT'))]">
+<!--                           
+                               <xsl:variable name="unitId_" select="@PSTACK_MODS_Y"/>
+-->                            
+                               <xsl:variable name="unitHeight_">
+                                       <xsl:call-template name="F_Calc_MemoryUnit_Height">     
+                                               <xsl:with-param name="iShapeId" select="@SHAPE_ID"/>
+                                       </xsl:call-template>    
+                               </xsl:variable>
+                               
+                               <MEM_UNIT HEIGHT="{$unitHeight_ + $peri_gap_}"/>
+                       </xsl:for-each>
+               </xsl:variable>
+               
+               <xsl:value-of select="sum(exsl:node-set($memU_heights_)/MEM_UNIT/@HEIGHT)"/>
+       </xsl:if>
+</xsl:template>
+       
+
+<xsl:template name="F_Calc_Proc_Peripherals_Height">
+       <xsl:param name="iProcInst"  select="_processor_"/>
+       
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@PROCESSOR = $iProcInst) and not(@MODCLASS = 'MEMORY_UNIT'))])">0</xsl:if>
+       
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@PROCESSOR = $iProcInst) and not(@MODCLASS='MEMORY_UNIT'))]">
+       
+               <xsl:variable name="peri_gap_">
+                       <xsl:if test="@CSTACK_INDEX">
+                               <xsl:value-of select="$BLKD_BIF_H"/>
+                       </xsl:if>
+                       <xsl:if test="not(@IS_CSTACK)">0</xsl:if>
+               </xsl:variable>
+       
+               <!-- Store the all peripheral heights in a variable -->
+               <xsl:variable name="peri_heights_">
+                       
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@PROCESSOR = $iProcInst) and not(@MODCLASS='MEMORY_UNIT'))]">
+                               <xsl:for-each select="MODULE">
+<!--                                   
+                                       <xsl:message><xsl:value-of select="@INSTANCE"/></xsl:message>           
+-->                                    
+                                       <xsl:variable name="peri_height_">
+                                               <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                                       <xsl:with-param name="iShapeInst" select="@INSTANCE"/>
+                                               </xsl:call-template>    
+                                       </xsl:variable>
+                                       <PERI HEIGHT="{$peri_height_ + $peri_gap_}"/>
+                               </xsl:for-each>         
+                       </xsl:for-each>
+               </xsl:variable>
+               
+               <xsl:value-of select="sum(exsl:node-set($peri_heights_)/PERI/@HEIGHT)"/>
+       </xsl:if>
+</xsl:template>
+       
+       
+<xsl:template name="F_Calc_Space_AbvSbs_Height">
+       <xsl:param name="iStackToEast"  select="'NONE'"/>
+       <xsl:param name="iStackToWest"  select="'NONE'"/>
+       
+       
+       <xsl:variable name = "stackAbvSbs_West_H_">
+               <xsl:choose>
+                       <xsl:when test="(($iStackToEast = '0')   and     ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="(($iStackToEast = 'NONE') and not($iStackToWest = 'NONE'))">
+                               <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                       <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:when test="(not($iStackToEast = '0') and ($iStackToWest = 'NONE'))">
+                               <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                       <xsl:with-param name="iStackIdx"  select="($iStackToEast - 1)"/>
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:otherwise>0</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name = "stackAbvSbs_East_H_">
+               <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                       <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+               </xsl:call-template>
+       </xsl:variable>
+       
+       <xsl:variable name="stackAbvSbs_heights_">
+               <STACK HEIGHT="{$stackAbvSbs_East_H_}"/>
+               <STACK HEIGHT="{$stackAbvSbs_West_H_}"/>
+       </xsl:variable>
+       
+       <xsl:value-of select="math:max(exsl:node-set($stackAbvSbs_heights_)/STACK/@HEIGHT)"/>
+</xsl:template>
+
+       
+<xsl:template name="F_Calc_Space_BlwSbs_Height">
+       <xsl:param name="iStackToEast"  select="'NONE'"/>
+       <xsl:param name="iStackToWest"  select="'NONE'"/>
+               
+       <xsl:variable name = "stackBlwSbs_West_H_">
+               <xsl:choose>
+                       <xsl:when test="(($iStackToEast = '0')    and    ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="(($iStackToEast = 'NONE') and not($iStackToWest = 'NONE'))">
+                               <xsl:call-template name="F_Calc_Stack_BlwSbs_Height">
+                                       <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:when test="(not($iStackToEast = '0') and    ($iStackToWest = 'NONE'))">
+                               <xsl:call-template name="F_Calc_Stack_BlwSbs_Height">
+                                       <xsl:with-param name="iStackIdx"  select="($iStackToEast - 1)"/>
+                               </xsl:call-template>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>
+       
+       
+       <xsl:variable name = "stackBlwSbs_East_H_">
+               <xsl:call-template name="F_Calc_Stack_BlwSbs_Height">
+                       <xsl:with-param name="iStackIdx"  select="$iStackToEast"/>
+               </xsl:call-template>
+       </xsl:variable>
+       
+       <xsl:variable name="stackBlwSbs_heights_">
+               <STACK HEIGHT="{$stackBlwSbs_East_H_}"/>
+               <STACK HEIGHT="{$stackBlwSbs_West_H_}"/>
+       </xsl:variable>
+       
+       <xsl:value-of select="math:max(exsl:node-set($stackBlwSbs_heights_)/STACK/@HEIGHT)"/>
+</xsl:template>
+       
+
+       
+<xsl:template name="F_Calc_Stack_AbvSbs_Height">
+       <xsl:param name="iStackIdx"  select="100"/>
+<!--   
+       <xsl:message>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</xsl:message>
+-->    
+       
+       <xsl:if test="(not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and (@IS_ABVSBS))]) and
+                                  not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@STACK_HORIZ_INDEX = $iStackIdx)]))"><xsl:value-of select="$BLKD_PROC2SBS_GAP"/></xsl:if>
+       
+       <xsl:if test="(($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and (@IS_ABVSBS))]) or
+                                  ($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[      (@STACK_HORIZ_INDEX = $iStackIdx)]))">
+               
+<!--                   
+               <xsl:variable name="peri_gap_">
+                       <xsl:value-of select="$BLKD_BIF_H"/>
+                       <xsl:choose>
+                               <xsl:when test="(@SHAPE_VERTI_INDEX)">
+                               </xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable> 
+-->                    
+                       
+<!--           
+               <xsl:message>The gap is <xsl:value-of select="$peri_gap_"/></xsl:message>
+               <xsl:message>The gap is <xsl:value-of select="$peri_gap_"/></xsl:message>
+               <xsl:message>================================</xsl:message>
+               <xsl:message>================================</xsl:message>
+               <xsl:message>This is above <xsl:value-of select="@INSTANCE"/></xsl:message>
+               <xsl:message><xsl:value-of select="@INSTANCE"/> : <xsl:value-of select="$peri_height_"/></xsl:message>
+-->    
+       
+       
+               <!-- Store the all peripheral heights in a variable -->
+               <xsl:variable name="peri_heights_">
+                       
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and not(@MODCLASS = 'MEMORY_UNIT') and (@IS_ABVSBS))]">
+                               <xsl:for-each select="MODULE">
+<!--                                   
+                                       <xsl:message>This is above <xsl:value-of select="@INSTANCE"/></xsl:message>
+-->                                    
+                                       
+                                       <xsl:variable name="peri_height_">
+<!--                                           
+                                               <xsl:call-template name="F_Calc_Shape_Height">  
+                                                       <xsl:with-param name="shapeId" select="@SHAPE_ID"/>
+                                               </xsl:call-template>    
+-->     
+       
+                                               <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                                       <xsl:with-param name="iShapeInst" select="@INSTANCE"/>
+                                               </xsl:call-template>    
+                                       </xsl:variable>
+                                       
+                                       <PERI HEIGHT="{$peri_height_ + $BLKD_BIF_H}"/>
+                               </xsl:for-each>
+                       </xsl:for-each>
+                       
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and (@MODCLASS = 'MEMORY_UNIT') and (@IS_ABVSBS))]">
+                       
+                               <xsl:variable name="memu_height_">
+                                       <xsl:call-template name="F_Calc_MemoryUnit_Height">     
+                                               <xsl:with-param name="iShapeId" select="@SHAPE_ID"/>
+                                       </xsl:call-template>    
+                               </xsl:variable>
+                       
+<!--                           
+                               <xsl:message>Mem_Unit : <xsl:value-of select="@SHAPE_ID"/> : <xsl:value-of select="$memu_height_ + $peri_gap_"/></xsl:message>
+-->                            
+                               <PERI HEIGHT="{$memu_height_ + $BLKD_BIF_H}"/>
+                       
+                       </xsl:for-each>
+                       
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[((@STACK_HORIZ_INDEX = $iStackIdx) and (@IS_ABVSBS))]">
+                                       
+                               <xsl:variable name="proc_height_">
+                                       <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                               <xsl:with-param name="iShapeInst" select="@INSTANCE"/>
+                                       </xsl:call-template>    
+                               </xsl:variable>
+                               
+<!--                           
+               <xsl:message>===================================</xsl:message>
+               <xsl:message>Processor : <xsl:value-of select="@INSTANCE"/> : <xsl:value-of select="$peri_height_ + $peri_gap_"/></xsl:message>
+                               <PERI HEIGHT="{$proc_height_ + $BLKD_PROC2SBS_GAP }"/>
+-->                                    
+                               <PERI HEIGHT="{$proc_height_ + $BLKD_BIF_H}"/>
+                               
+                       </xsl:for-each>
+               
+               </xsl:variable>
+               
+<!--           
+       <xsl:message><xsl:value-of select="@INSTANCE"/> : <xsl:value-of select="$peri_height_ + $peri_gap_"/></xsl:message>
+       <xsl:message>================================</xsl:message>
+-->
+               
+<!--           
+       <xsl:message>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</xsl:message>
+-->            
+               <xsl:value-of select="sum(exsl:node-set($peri_heights_)/PERI/@HEIGHT)"/>
+       </xsl:if>
+       
+</xsl:template>
+       
+<xsl:template name="F_Calc_Stack_BlwSbs_Height">
+       <xsl:param name="iStackIdx"  select="100"/>
+       
+               <!-- Store the all peripheral heights in a variable -->
+               <xsl:variable name="stack_heights_">
+                       
+                       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and (@IS_BLWSBS))])">
+                               <STACKSHAPE HEIGHT="0"/>
+                       </xsl:if>
+                       
+                       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and (@IS_BLWSBS))]">
+       
+                               <xsl:variable name="peri_gap_">
+                                       <xsl:choose>
+                                               <xsl:when test="(@SHAPE_VERTI_INDEX)">
+                                                       <xsl:value-of select="$BLKD_BIF_H"/>
+                                               </xsl:when>
+                                               <xsl:otherwise>0</xsl:otherwise>
+                                       </xsl:choose>   
+                               </xsl:variable> 
+                               
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and not(@MODCLASS = 'MEMORY_UNIT') and (@IS_BLWSBS))]">
+                                       <xsl:for-each select="MODULE">
+<!--                                   
+                                       <xsl:message>This is below <xsl:value-of select="@INSTANCE"/></xsl:message>
+-->    
+                                               <xsl:variable name="peri_height_">
+                                                       <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                                               <xsl:with-param name="iShapeInst" select="@INSTANCE"/>
+                                                       </xsl:call-template>    
+                                               </xsl:variable>
+                                               
+                                               <STACKSHAPE HEIGHT="{$peri_height_ + $peri_gap_}"/>
+                                       </xsl:for-each>
+                               </xsl:for-each>
+               
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and (@MODCLASS = 'MEMORY_UNIT') and (@IS_BLWSBS))]">
+                       
+                                       <xsl:variable name="memu_height_">
+                                               <xsl:call-template name="F_Calc_MemoryUnit_Height">     
+                                                       <xsl:with-param name="iShapeId" select="@SHAPE_ID"/>
+                                               </xsl:call-template>    
+                                       </xsl:variable>
+                       
+                                       <STACKSHAPE HEIGHT="{$memu_height_ + $peri_gap_}"/>
+                               
+<!--                           
+                               <xsl:message>Mem_Unit : <xsl:value-of select="@SHAPE_ID"/> : <xsl:value-of select="$memu_height_ + $peri_gap_"/></xsl:message>
+-->    
+                       
+                       </xsl:for-each>
+               </xsl:if>
+                       
+               <xsl:variable name="sbsBuckets_H_">
+                       <xsl:call-template name="F_Calc_Stack_SbsBuckets_Height">
+                               <xsl:with-param name="iStackIdx" select="$iStackIdx"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+                       
+                       <STACKSHAPE HEIGHT="{$sbsBuckets_H_}"/>
+<!--                   
+                       <xsl:message>Sbs Bucket H : <xsl:value-of select="$sbsBuckets_H_"/></xsl:message>
+-->
+               </xsl:variable>
+               
+<!--           
+               <xsl:message>vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv</xsl:message>
+-->            
+               <xsl:value-of select="sum(exsl:node-set($stack_heights_)/STACKSHAPE/@HEIGHT)"/>
+       
+</xsl:template>
+       
+
+<xsl:template name="F_Calc_Stack_SbsBuckets_Height">
+       <xsl:param name="iStackIdx"  select="1000"/>
+       
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@STACK_HORIZ_INDEX = $iStackIdx)])">0</xsl:if>
+       
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@STACK_HORIZ_INDEX = $iStackIdx)]">
+       
+               <!-- Store the all buckets heights in a variable -->
+               <xsl:variable name="bkt_heights_">
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@STACK_HORIZ_INDEX = $iStackIdx)]">
+               
+                               <xsl:variable name="bkt_height_">
+                                       <xsl:call-template name="F_Calc_SbsBucket_Height">      
+                                               <xsl:with-param name="iBucketId" select="@BUS_INDEX"/>
+                                       </xsl:call-template>    
+                               </xsl:variable>
+<!--                           
+                               <xsl:message>Found shared buckets height as <xsl:value-of select="$bkt_height_"/></xsl:message>
+-->                            
+                               <BKT HEIGHT="{$bkt_height_ + $BLKD_BIF_H}"/>
+                       </xsl:for-each>
+               </xsl:variable>
+               
+               <xsl:value-of select="sum(exsl:node-set($bkt_heights_)/BKT/@HEIGHT)"/>
+       </xsl:if>
+</xsl:template>
+
+       
+<xsl:template name="F_Calc_Max_Stack_BlwSbs_Height">
+
+       <!-- Store the heights in a variable -->        
+       <xsl:variable name="blwSbs_heights_">
+               
+               <!-- Default, in case there are no modules or ports -->         
+               <BLW HEIGHT="0"/>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(@EAST &lt; $G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH)]">
+       
+<!--                   
+                       <xsl:message>Found a space of index <xsl:value-of select="@EAST"/></xsl:message>
+-->    
+                       
+                       <xsl:variable name="stack_height_">
+                               <xsl:call-template name="F_Calc_Stack_BlwSbs_Height">
+                                       <xsl:with-param name="iStackIdx"  select="@EAST"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                       
+                       
+                       <BLW HEIGHT="{$stack_height_}"/>
+                       
+               </xsl:for-each>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(@WEST = ($G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH -1))]">
+                       
+<!--                   
+                       <xsl:message>Last stack of index <xsl:value-of select="@WEST"/></xsl:message>
+-->                    
+                       
+                       <xsl:variable name="stack_height_">
+                               <xsl:call-template name="F_Calc_Stack_BlwSbs_Height">
+                                       <xsl:with-param name="iStackIdx"  select="@WEST"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                       
+                       
+                       <BLW HEIGHT="{$stack_height_}"/>
+                       
+               </xsl:for-each>
+               
+               
+       </xsl:variable>
+       
+<!--   
+       <xsl:message>Found Blw Sbs max as <xsl:value-of select="math:max(exsl:node-set($blwSbs_heights_)/BLW/@HEIGHT)"/></xsl:message>
+-->    
+       <!-- Return the max of them --> 
+       <xsl:value-of select="math:max(exsl:node-set($blwSbs_heights_)/BLW/@HEIGHT)"/>
+</xsl:template>
+       
+       
+<xsl:template name="F_Calc_Max_Stack_AbvSbs_Height">
+
+       <!-- Store the heights in a variable -->        
+       <xsl:variable name="abvSbs_heights_">
+               
+               <!-- Default, in case there are no modules or ports -->         
+               <ABV HEIGHT="0"/>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(@EAST &lt; $G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH)]">
+                       
+<!--                   
+                       <xsl:message>Found a space of index <xsl:value-of select="@EAST"/></xsl:message>
+-->    
+                       
+                       <xsl:variable name="stack_height_">
+                               <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                                       <xsl:with-param name="iStackIdx"  select="@EAST"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                       
+<!--                   
+                       <xsl:message>Found stack of width <xsl:value-of select="$stack_width_"/></xsl:message>
+                       <xsl:message>==============================</xsl:message>
+-->                    
+                       
+                       <ABV HEIGHT="{$stack_height_}"/>
+                       
+               </xsl:for-each>
+               
+               
+       </xsl:variable>
+       
+<!--   
+       <xsl:message>Found Blw Sbs max as <xsl:value-of select="math:max(exsl:node-set($blwSbs_heights_)/BLW/@HEIGHT)"/></xsl:message>
+-->    
+       <!-- Return the max of them --> 
+       <xsl:value-of select="math:max(exsl:node-set($abvSbs_heights_)/ABV/@HEIGHT)"/>
+</xsl:template>
+       
+       
+<xsl:template name="F_Calc_MultiProc_Stack_Height">
+       <xsl:param name="iMPStack_Blkd_X"  select="100"/>
+       
+               <xsl:variable name="mpStk_ShpHeights_">
+                       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@HAS_MULTIPROCCONNS) and (@PSTACK_BLKD_X = $iMPStack_Blkd_X))])">
+                               <MPSHAPE HEIGHT="0"/>
+                       </xsl:if>
+                       
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@HAS_MULTIPROCCONNS) and (@PSTACK_BLKD_X = $iMPStack_Blkd_X))]">
+                               <xsl:variable name="shpClass_" select="@MODCLASS"/> 
+                               <xsl:variable name="shpHeight_">
+                                       <xsl:choose>
+                                               <xsl:when test="$shpClass_ = 'PERIPHERAL'">
+<!--                                                   
+                                                       <xsl:message>Found Multi Proc Peripheral</xsl:message> 
+-->    
+                                                       <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                                               <xsl:with-param name="iShapeInst" select="MODULE/@INSTANCE"/>
+                                                       </xsl:call-template>    
+                                               </xsl:when>
+                                               <xsl:when test="$shpClass_ = 'MEMORY_UNIT'">
+<!--                                                   
+                                                       <xsl:message>Found Multi Proc Memory Unit</xsl:message> 
+-->    
+                                                       <xsl:call-template name="F_Calc_MemoryUnit_Height">     
+                                                               <xsl:with-param name="iShapeIndex"  select="@CSHAPE_INDEX"/>
+                                                       </xsl:call-template>    
+                                               </xsl:when>
+                                               <xsl:otherwise>0</xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>Found <xsl:value-of select="$shpHeight_"/></xsl:message>
+-->                            
+                               
+                               <MPSHAPE HEIGHT="{$shpHeight_}"/>
+                       </xsl:for-each>
+       </xsl:variable>
+       
+<!--   
+       <xsl:message>Found stack of height <xsl:value-of select="sum(exsl:node-set($mpStk_ShpHeights_)/MPSHAPE/@HEIGHT)"/></xsl:message>
+-->    
+       
+       <xsl:value-of select="sum(exsl:node-set($mpStk_ShpHeights_)/MPSHAPE/@HEIGHT)"/>
+</xsl:template>
+
+<xsl:template name="F_Calc_Max_MultiProc_Stack_Height">
+       
+       <!-- Store the heights in a variable -->        
+       
+       <xsl:variable name="mpStks_Heights_">
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE)">
+                       <MPSTK HEIGHT="0"/>
+               </xsl:if>
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@PSTACK_BLKD_X)]">
+                       <xsl:variable name="mpstack_height_">
+                               <xsl:call-template name="F_Calc_MultiProc_Stack_Height">
+                                       <xsl:with-param name="iMPStack_Blkd_X" select="(@PSTACK_BLKD_X + 1)"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                       
+<!--                   
+                       <xsl:message>Found <xsl:value-of select="$mpstack_height_"/></xsl:message>
+-->                    
+                       <MPSTK HEIGHT="{$mpstack_height_}"/>
+               </xsl:for-each>
+               
+       </xsl:variable>
+
+               <!-- Return the max of them --> 
+       <xsl:value-of select="math:max(exsl:node-set($mpStks_Heights_)/MPSTK/@HEIGHT)"/>
+       
+</xsl:template>
+
+
+
+<xsl:template name="F_Calc_Stack_Shape_Y">
+       
+       <xsl:param name="iHorizIdx"  select="100"/>
+       <xsl:param name="iVertiIdx"  select="100"/>
+       
+       
+<!--   
+       <xsl:param name="sbsGap"    select="0"/>
+       <xsl:variable name="numSBSs_"     select="count($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSSHAPES/MODULE)"/>       
+       <xsl:variable name="sbs_LANE_H_"    select="($numSBSs_ * $BLKD_SBS_LANE_H)"/>
+       <xsl:variable name="sbsGap_"   select="($BLKD_PROC2SBS_GAP + $sbs_LANE_H_)"/>
+-->    
+       
+       <xsl:variable name="sbsGap_" select="((count($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSSHAPES/MODULE) * $BLKD_SBS_LANE_H) + $BLKD_PROC2SBS_GAP)"/>        
+       
+       <xsl:if test="(not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))]) and  
+                          not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(  (@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))]) and
+                          not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(     (@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))]))">0</xsl:if>
+                          
+                           
+<!-- 
+       <xsl:if test="(not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))]) and  
+                          not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(  (@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))]) and
+                          not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(     (@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))]))">
+               <xsl:message>Something is missing </xsl:message>                           
+       </xsl:if>
+-->    
+       
+       <xsl:if test="(($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))])   or  
+                          ($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(  (@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))])   or
+                          ($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(     (@STACK_HORIZ_INDEX = $iHorizIdx) and ((@SHAPE_VERTI_INDEX = $iVertiIdx) or ($iVertiIdx = 100)))]))">
+               <!-- Store the spaces above this one in a variable -->
+               <xsl:variable name="spaces_above_">
+               
+                       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iHorizIdx) and (@SHAPE_VERTI_INDEX &lt; $iVertiIdx))])">
+                               <SPACE HEIGHT="0"/>
+                       </xsl:if>
+                       
+                       <!-- Store the height of all peripherals and memory units above this one-->
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iHorizIdx)  and (@SHAPE_VERTI_INDEX &lt; $iVertiIdx))]">
+                               
+                               <xsl:if test="not(@MODCLASS='MEMORY_UNIT')">    
+                                       <xsl:variable name="peri_height_">
+                                               <xsl:call-template name="F_Calc_Shape_Height">  
+                                                       <xsl:with-param name="iShapeId" select="@SHAPE_ID"/>
+                                               </xsl:call-template>    
+                                       </xsl:variable>
+<!--                                   
+                                       <xsl:message>Found peri height <xsl:value-of select="$peri_height_"/></xsl:message>
+-->    
+                                       <SPACE HEIGHT="{$peri_height_ + $BLKD_BIF_H}"/>
+                               </xsl:if>
+                               
+                               <xsl:if test="(@MODCLASS='MEMORY_UNIT')">       
+                                       <xsl:variable name="memu_height_">
+                                               <xsl:call-template name="F_Calc_MemoryUnit_Height">     
+                                                       <xsl:with-param name="iShapeId" select="@SHAPE_ID"/>
+                                               </xsl:call-template>    
+                                       </xsl:variable>
+<!--                                   
+                                       <xsl:message>Found unit height <xsl:value-of select="$memu_height_"/></xsl:message>
+-->                                    
+                                       <SPACE HEIGHT="{$memu_height_ + $BLKD_BIF_H}"/>
+                               </xsl:if>
+                               
+                       </xsl:for-each>
+                       
+                       <!-- Store the height of all the processors above this one-->
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[((@STACK_HORIZ_INDEX = $iHorizIdx)  and (@SHAPE_VERTI_INDEX &lt; $iVertiIdx))]">
+                               <xsl:variable name="proc_height_">
+                                               <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                                       <xsl:with-param name="iShapeInst" select="@INSTANCE"/>
+                                               </xsl:call-template>    
+                               </xsl:variable>
+                               
+<!-- 
+                                       <xsl:message>Found Proc height <xsl:value-of select="$proc_height_ + $BLKD_BIF_H"/></xsl:message>
+-->                                    
+                               <SPACE HEIGHT="{$proc_height_ + $BLKD_BIF_H}"/>
+                       </xsl:for-each>
+                       
+                       <!-- If its a peripheral that is below the shared busses, or its a shared bus bucket -->
+                       <!-- add the height of the shared busses and the processor.                           -->
+                       <xsl:if  test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iHorizIdx) and (@SHAPE_VERTI_INDEX = $iVertiIdx))]/@IS_BLWSBS)">
+                               <SPACE HEIGHT="{$sbsGap_}"/>
+                       </xsl:if>
+                       <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[((@STACK_HORIZ_INDEX = $iHorizIdx) and (@SHAPE_VERTI_INDEX = $iVertiIdx))])">
+                               <SPACE HEIGHT="{$sbsGap_}"/>
+                       </xsl:if>
+                       
+                       <!-- Store the height of all shared bus buckets above this one-->
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[((@STACK_HORIZ_INDEX = $iHorizIdx)  and (@SHAPE_VERTI_INDEX &lt; $iVertiIdx))]">
+                               <xsl:variable name="bkt_height_">
+                                       <xsl:call-template name="F_Calc_SbsBucket_Height">
+                                               <xsl:with-param name="iBucketId" select="@BUS_INDEX"/>
+                                       </xsl:call-template>
+                               </xsl:variable>
+                               
+<!-- 
+                                       <xsl:message>Found bucket height <xsl:value-of select="$bkt_height_ + $BLKD_BIF_H"/></xsl:message>
+-->                                    
+                               
+                               <SPACE HEIGHT="{$bkt_height_ + $BLKD_BIF_H}"/>
+                       </xsl:for-each>
+                       
+               </xsl:variable>
+               
+               <xsl:value-of select="sum(exsl:node-set($spaces_above_)/SPACE/@HEIGHT)"/>
+       </xsl:if>
+       
+</xsl:template>
+       
+       
+<xsl:template name="F_Calc_Max_BusConnLane_BifY">
+       
+       <xsl:param name="iBusName" select="'_busname_'"/>
+       
+       <!-- Store the heights in a variable -->        
+       <xsl:variable name="busConnYs_">
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/BUSCONNS/BUSCONNLANE/BUSCONN)">
+                       <BUSCONNY HEIGHT="0"/>
+               </xsl:if>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/BUSCONNS/BUSCONNLANE[(@BUSNAME = $iBusName)]/BUSCONN">
+                       
+                       <xsl:variable name="peri_cstk_y_">
+                               <xsl:call-template name="F_Calc_CStackShapesAbv_Height">
+                                       <xsl:with-param name="iCStackIndex"  select="../@CSTACK_INDEX"/>
+                                       <xsl:with-param name="ICStackModY"   select="@CSTACK_MODS_Y"/>
+                               </xsl:call-template>    
+                       </xsl:variable> 
+                               
+                               <xsl:variable name="peri_bif_dy_">
+                                       <xsl:value-of select="(($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_H)  * @BIF_Y)"/>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="peri_bc_y_">
+                                       <xsl:value-of select="($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_H + $peri_bif_dy_ + ceiling($BLKD_BIF_H div 2)) - ceiling($BLKD_BIFC_H div 2)"/>
+                               </xsl:variable>
+                       
+<!--                   
+                       <xsl:message>Found a busconn lane</xsl:message>
+-->                    
+                       <BUSCONNY HEIGHT="{$peri_cstk_y_ + $peri_bif_dy_ + $peri_bc_y_}"/>
+               </xsl:for-each>
+               
+       </xsl:variable>
+
+               <!-- Return the max of them --> 
+       <xsl:value-of select="math:max(exsl:node-set($busConnYs_)/BUSCONNY/@HEIGHT)"/>
+       
+</xsl:template>
+       
+       
+<xsl:template name="F_Calc_Min_BusConnLane_BifY">
+       
+       <xsl:param name="iBusName" select="'_busname_'"/>
+       
+       <!-- Store the heights in a variable -->        
+       <xsl:variable name="busConnYs_">
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/BUSCONNS/BUSCONNLANE/BUSCONN)">
+                       <BUSCONNY HEIGHT="0"/>
+               </xsl:if>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/BUSCONNS/BUSCONNLANE[(@BUSNAME = $iBusName)]/BUSCONN">
+                       
+                       <xsl:variable name="peri_cstk_y_">
+                               <xsl:call-template name="F_Calc_CStackShapesAbv_Height">
+                                       <xsl:with-param name="iCStackIndex"  select="../@CSTACK_INDEX"/>
+                                       <xsl:with-param name="iCStackModY"   select="@CSTACK_MODS_Y"/>
+                               </xsl:call-template>    
+                       </xsl:variable> 
+                               
+                               <xsl:variable name="peri_bif_dy_">
+                                       <xsl:value-of select="(($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_H)  * @BIF_Y)"/>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="peri_bc_y_">
+                                       <xsl:value-of select="($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_H + $peri_bif_dy_ + ceiling($BLKD_BIF_H div 2)) - ceiling($BLKD_BIFC_H div 2)"/>
+                               </xsl:variable>
+                       
+<!--                   
+                       <xsl:message>Found a busconn lane</xsl:message>
+-->                    
+                       <BUSCONNY HEIGHT="{$peri_cstk_y_ + $peri_bc_y_}"/>
+               </xsl:for-each>
+               
+       </xsl:variable>
+
+               <!-- Return the min of them --> 
+       <xsl:value-of select="math:min(exsl:node-set($busConnYs_)/BUSCONNY/@HEIGHT)"/>
+       
+</xsl:template>
+       
+<xsl:template name="F_Calc_Stack_Height">
+       <xsl:param name="iStackIdx"  select="100"/>
+       
+<!--  
+       <xsl:message>Calculating height for Stack Index <xsl:value-of select="$iStackIdx"/></xsl:message>
+-->    
+       
+       
+       <xsl:variable name="stack_height_">
+               <!-- if this is called with no vert index of a shape 
+                        it defaults to the total height of the stack -->
+               <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                       <xsl:with-param name="iHorizIdx"  select="$iStackIdx"/>
+               </xsl:call-template>
+       </xsl:variable>
+       
+<!-- 
+       <xsl:message>Calculated height for Stack as <xsl:value-of select="$stack_height_"/></xsl:message>
+-->    
+       <xsl:value-of select="$stack_height_"/>
+</xsl:template>
+       
+<!--   
+-->    
+       
+       
+<xsl:template name="F_Calc_Stack_Width">
+       <xsl:param name="iStackIdx"  select="100"/>
+       
+<!--   
+       <xsl:message>=============Stack Idx <xsl:value-of select="$iStackIdx"/>====</xsl:message>                       
+-->    
+       <xsl:variable name="shape_widths_">     
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[@STACK_HORIZ_INDEX = $iStackIdx])">
+                       <SHAPE WIDTH="0"/>
+               </xsl:if>
+                       
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[@STACK_HORIZ_INDEX = $iStackIdx])">
+                       <SHAPE WIDTH="0"/>
+               </xsl:if>
+                       
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@STACK_HORIZ_INDEX = $iStackIdx)]">
+<!--                   
+                       <xsl:variable name="proc_w_">
+                               <xsl:value-of select="$BLKD_MOD_W"/>
+                       </xsl:variable>
+                       <xsl:message>Found processor of width <xsl:value-of select="$proc_w_"/></xsl:message>
+-->    
+                       <SHAPE WIDTH="{$BLKD_MOD_W}"/>
+               </xsl:for-each>
+                       
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@STACK_HORIZ_INDEX = $iStackIdx)]">
+                               
+                       <xsl:variable name="shpClass_" select="@MODCLASS"/> 
+                       <xsl:variable name="shape_w_">
+                               <xsl:choose>
+                                               
+                                               <xsl:when test="$shpClass_ = 'PERIPHERAL'">
+                                                       <xsl:value-of select="$BLKD_MOD_W"/>
+                                               </xsl:when>
+                                               
+                                               <xsl:when test="$shpClass_ = 'MEMORY_UNIT'">
+                                                       <xsl:value-of select="($BLKD_MOD_W * @MODS_W)"/>
+                                               </xsl:when>
+                                               
+                                               <xsl:otherwise>0</xsl:otherwise>
+                                               
+                                       </xsl:choose>
+                               </xsl:variable>
+                               
+<!--           
+                       <xsl:message>Found shape width <xsl:value-of select="$shape_w_"/></xsl:message>
+-->                            
+                               
+                       <SHAPE WIDTH="{$shape_w_}"/>
+               </xsl:for-each>
+                       
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@STACK_HORIZ_INDEX = $iStackIdx)]">
+                       <xsl:variable name="bucket_w_">
+                                 <xsl:value-of select="(($BLKD_MOD_BKTLANE_W * 2) + (($BLKD_MOD_W * @MODS_W) + ($BLKD_MOD_BUCKET_G * (@MODS_W - 1))))"/>
+                       </xsl:variable>
+                       
+<!--                           
+                       <xsl:message>Found bucket of width <xsl:value-of select="$bucket_w_"/></xsl:message>
+-->                            
+                       <SHAPE WIDTH="{$bucket_w_}"/>
+               </xsl:for-each>
+                       
+       </xsl:variable>
+       
+       <xsl:value-of select="math:max(exsl:node-set($shape_widths_)/SHAPE/@WIDTH)"/>
+</xsl:template>
+       
+       
+<xsl:template name="F_Calc_Stack_X">
+       <xsl:param name="iStackIdx"  select="0"/>
+<!--   
+       <xsl:message>Looking for stack indexes less than <xsl:value-of select="$iStackIdx"/></xsl:message>
+-->    
+       
+       <!-- Store the stack widths in a variable -->   
+       <xsl:variable name="stackspace_widths_">
+       
+               <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH = $iStackIdx)">
+                       <STACKSPACE WIDTH="{$BLKD_BUS_LANE_W}"/>
+               </xsl:if>
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES[(@STACK_HORIZ_INDEX &lt; $iStackIdx)])">
+                       <STACKSPACE WIDTH="0"/>
+               </xsl:if>
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES[(@STACK_HORIZ_INDEX &lt; $iStackIdx)])">
+                       <STACKSPACE WIDTH="0"/>
+               </xsl:if>
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/SBSBUCKETS/SBSBUCKET[(@STACK_HORIZ_INDEX &lt; $iStackIdx)])">
+                       <STACKSPACE WIDTH="0"/>
+               </xsl:if>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(@EAST &lt;= $iStackIdx)]">
+                       
+<!--           
+                       <xsl:message>==============================</xsl:message>
+                       <xsl:message>Found a space of index <xsl:value-of select="@EAST"/></xsl:message>
+                       <xsl:message>Bus lane space width <xsl:value-of select="@BUSLANES_W"/></xsl:message>
+                       <xsl:message>Bus lane space is <xsl:value-of select="$space_width_"/></xsl:message>
+                       <xsl:variable name="space_width_" select="($BLKD_BUS_LANE_W * @BUSLANES_W)"/>
+-->    
+
+                       <xsl:variable name="East_">
+                               <xsl:choose>
+                                       <xsl:when test="@EAST"><xsl:value-of select="@EAST"/></xsl:when>
+                                       <xsl:otherwise>'NONE'</xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="West_">
+                               <xsl:choose>
+                                       <xsl:when test="@WEST"><xsl:value-of select="@WEST"/></xsl:when>
+                                       <xsl:otherwise>NONE</xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+<!--
+                       <xsl:message>1 - West_ <xsl:value-of select="$West_"/></xsl:message>
+                       <xsl:message>1 - East_ <xsl:value-of select="$East_"/></xsl:message>
+-->
+                       <xsl:variable name="space_width_">
+                               <xsl:call-template name="F_Calc_Space_Width">
+                                       <xsl:with-param name="iStackToWest" select="$West_"/>
+                                       <xsl:with-param name="iStackToEast" select="$East_"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="stack_width_">
+                               <xsl:if test="not(@EAST = $iStackIdx)">
+                                       <xsl:call-template name="F_Calc_Stack_Width">
+                                               <xsl:with-param name="iStackIdx"  select="@EAST"/>
+                                       </xsl:call-template>
+                               </xsl:if>
+                               <xsl:if test="(@EAST = $iStackIdx)">0</xsl:if>
+                       </xsl:variable>
+<!--                   
+                       <xsl:message>Found stack of width <xsl:value-of select="$stack_width_"/></xsl:message>
+                       <xsl:message>==============================</xsl:message>
+-->                    
+                       <STACKSPACE WIDTH="{$stack_width_ + $space_width_}"/>
+                       
+               </xsl:for-each>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(not(@EAST) and (@WEST = ($iStackIdx -1)))]">
+                       <xsl:variable name="space_width_" select="($BLKD_BUS_LANE_W * @BUSLANES_W)"/>
+<!--                   
+                       <xsl:message>Found end space of <xsl:value-of select="$space_width_"/></xsl:message>
+-->                    
+                       <STACKSPACE WIDTH="{$space_width_}"/>
+               </xsl:for-each>
+               
+               
+       </xsl:variable>
+       
+       <xsl:value-of select="sum(exsl:node-set($stackspace_widths_)/STACKSPACE/@WIDTH)"/>
+       
+</xsl:template>        
+       
+<xsl:template name="F_Calc_Space_Width">
+       
+       <xsl:param name="iStackToWest"  select="'NONE'"/>
+       <xsl:param name="iStackToEast"  select="'NONE'"/>
+       
+<!--   
+       <xsl:message>Stack to West <xsl:value-of select="$stackToWest"/></xsl:message>
+       <xsl:message>Stack to East <xsl:value-of select="$stackToEast"/></xsl:message>
+-->    
+       
+       <xsl:variable name="spaceWidth_">
+               <xsl:choose>
+                       <xsl:when test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[((@EAST = $iStackToEast) or (not($iStackToWest = 'NONE') and (@WEST = $iStackToWest)))]">
+                               <xsl:value-of select="((($G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[((@EAST = $iStackToEast) or (not($iStackToWest = 'NONE') and (@WEST = $iStackToWest)))]/@BUSLANES_W) + 1) * $BLKD_BUS_LANE_W)"/>
+                       </xsl:when>     
+                       <xsl:otherwise>0</xsl:otherwise>        
+               </xsl:choose>   
+       </xsl:variable> 
+       
+<!--   
+       <xsl:message>Space width <xsl:value-of select="$spaceWidth_"/></xsl:message>
+-->    
+       
+       <xsl:value-of select="$spaceWidth_"/>
+</xsl:template>
+       
+       
+<xsl:template name="F_Calc_Space_X">
+       
+       <xsl:param name="iStackToWest"  select="'NONE'"/>
+       <xsl:param name="iStackToEast"  select="'NONE'"/>
+       
+<!--   
+       <xsl:message>Stack East <xsl:value-of select="$stackToEast"/></xsl:message>
+       <xsl:message>Stack West <xsl:value-of select="$stackToWest"/></xsl:message>
+-->    
+       
+       <!-- Store the stack widths in a variable -->   
+       
+<!--   
+       <xsl:message>Looking for stack indexes less than <xsl:value-of select="$stackIdx"/></xsl:message>
+-->    
+       
+       <xsl:variable name="stackspace_widths_">
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES[(@STACK_HORIZ_INDEX &lt; $iStackToEast)])">
+                       <STACKSPACE WIDTH="0"/>
+               </xsl:if>
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES[(@STACK_HORIZ_INDEX &lt; $iStackToEast)])">
+                       <STACKSPACE WIDTH="0"/>
+               </xsl:if>
+               
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/SBSBUCKETS/SBSBUCKET[(@STACK_HORIZ_INDEX &lt; $iStackToEast)])">
+                       <STACKSPACE WIDTH="0"/>
+               </xsl:if>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[((@EAST &lt; $iStackToEast) or (not($iStackToWest = 'NONE') and (@EAST &lt;= $iStackToWest)))]">
+                       
+<!--           
+                       <xsl:message>==============================</xsl:message>
+                       <xsl:message>Found a space of index <xsl:value-of select="@EAST"/></xsl:message>
+-->    
+
+                       <xsl:variable name="East_">
+                               <xsl:choose>
+                                       <xsl:when test="@EAST"><xsl:value-of select="@EAST"/></xsl:when>
+                                       <xsl:otherwise>'NONE'</xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="West_">
+                               <xsl:choose>
+                                       <xsl:when test="@WEST"><xsl:value-of select="@WEST"/></xsl:when>
+                                       <xsl:otherwise>NONE</xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+<!--
+                       <xsl:message>2 - West_ <xsl:value-of select="$West_"/></xsl:message>
+                       <xsl:message>2 - East_ <xsl:value-of select="$East_"/></xsl:message>
+ -->                   
+                       <xsl:variable name="space_width_">
+                               <xsl:call-template name="F_Calc_Space_Width">
+                                       <xsl:with-param name="iStackToWest" select="$West_"/>
+                                       <xsl:with-param name="iStackToEast" select="$East_"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                       
+<!--                   
+                       <xsl:variable name="space_width_" select="($BLKD_BUS_LANE_W * @BUSLANES_W)"/>
+                       <xsl:message>Bus lane space width <xsl:value-of select="@BUSLANES_W"/></xsl:message>
+                       <xsl:message>Bus lane space is <xsl:value-of select="$space_width_"/></xsl:message>
+-->    
+                       
+                       <xsl:variable name="stack_width_">
+                               <xsl:call-template name="F_Calc_Stack_Width">
+                                       <xsl:with-param name="iStackIdx"  select="@EAST"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                       
+<!--                   
+                       <xsl:message>Found stack of width <xsl:value-of select="$stack_width_"/></xsl:message>
+                       <xsl:message>==============================</xsl:message>
+-->                    
+                       
+                       <STACKSPACE WIDTH="{$stack_width_ + $space_width_}"/>
+               </xsl:for-each>
+       </xsl:variable>
+       
+       <xsl:variable name = "stackToWest_W_">
+               <xsl:choose>
+                       <xsl:when test="(($iStackToEast = '0')   and     ($iStackToWest = 'NONE'))">0</xsl:when>
+                       <xsl:when test="(($iStackToEast = 'NONE') and not($iStackToWest = 'NONE'))">
+                               <xsl:call-template name="F_Calc_Stack_Width">
+                                       <xsl:with-param name="iStackIdx"  select="$iStackToWest"/>
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:when test="(not($iStackToEast = '0') and ($iStackToWest = 'NONE'))">
+                               <xsl:call-template name="F_Calc_Stack_Width">
+                                       <xsl:with-param name="iStackIdx"  select="($iStackToEast - 1)"/>
+                               </xsl:call-template>
+                       </xsl:when>
+                       <xsl:otherwise>0</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+<!--   
+       <xsl:variable name = "stackToEast_W_">
+               <xsl:call-template name="F_Calc_Stack_Width">
+                       <xsl:with-param name="stackIdx"  select="$stackToEast"/>
+               </xsl:call-template>
+       </xsl:variable>
+       <xsl:variable name ="extSpaceEast_W_" select="ceiling($stackToEast_W_ div 2)"/>
+-->    
+       
+       <xsl:variable name ="extSpaceWest_W_" select="ceiling($stackToWest_W_ div 2)"/>
+        
+       <xsl:value-of select="sum(exsl:node-set($stackspace_widths_)/STACKSPACE/@WIDTH) - $extSpaceWest_W_"/>
+</xsl:template>        
+
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Globals.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Globals.xsl
new file mode 100644 (file)
index 0000000..87bd7f3
--- /dev/null
@@ -0,0 +1,115 @@
+<?xml version="1.0" standalone="no"?>
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+
+<xsl:variable name="G_ROOT" select="/"/>
+
+<!-- 
+   ===========================================================================
+                       CALCULATE GLOBAL VARIABLES BASED ON BLKDIAGRAM DEF IN INPUT XML 
+   ===========================================================================
+-->
+       
+<xsl:variable name="G_Total_StandAloneMpmc_H">
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/MPMCSHAPE">
+               <xsl:value-of select="($BLKD_MPMC_MOD_H + $BLKD_MPMC2PROC_GAP)"/>       
+       </xsl:if>
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/MPMCSHAPE)">0</xsl:if>
+</xsl:variable>
+       
+<xsl:variable name="G_Max_Stack_BlwSbs_H">
+       <xsl:call-template name="F_Calc_Max_Stack_BlwSbs_Height"/>
+</xsl:variable>
+
+<xsl:variable name="G_Max_Stack_AbvSbs_H">
+       <xsl:call-template name="F_Calc_Max_Stack_AbvSbs_Height"/>
+</xsl:variable>
+       
+<xsl:variable name="G_Total_Stacks_W">
+       <xsl:call-template name="F_Calc_Stack_X">
+               <xsl:with-param name="iStackIdx"    select="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH)"/>
+       </xsl:call-template>
+</xsl:variable>
+       
+<xsl:variable name="G_NumOfSharedBusses"   select="count($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSSHAPES/MODULE)"/>
+<xsl:variable name="G_Total_SharedBus_H"   select="($G_NumOfSharedBusses * $BLKD_SBS_LANE_H)"/>
+
+<xsl:variable name="G_NumOfBridges"        select="count($G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE)"/>
+<xsl:variable name="G_Total_Bridges_W"     select="(($G_NumOfBridges * ($BLKD_MOD_W + ($BLKD_BUS_LANE_W * 2))) + $BLKD_BRIDGE_GAP)"/>
+       
+<xsl:variable name="G_Total_DrawArea_CLC"  select="($G_Total_Stacks_W + $G_Total_Bridges_W + ($BLKD_INNER_GAP * 2))"/>
+       
+<xsl:variable name="G_Total_DrawArea_W">
+       <xsl:if test="$G_Total_DrawArea_CLC &gt; ($BLKD_KEY_W + $BLKD_SPECS_W + $BLKD_SPECS2KEY_GAP)">
+               <xsl:value-of select="$G_Total_DrawArea_CLC"/>
+       </xsl:if>
+       <xsl:if test="not($G_Total_DrawArea_CLC &gt; ($BLKD_KEY_W + $BLKD_SPECS2KEY_GAP + $BLKD_SPECS_W))">
+               <xsl:value-of select="($BLKD_KEY_W + $BLKD_SPECS_W + $BLKD_SPECS2KEY_GAP)"/>
+       </xsl:if>
+</xsl:variable>
+       
+<xsl:variable name="G_IpBucketMods_H">
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/IPBUCKET/@MODS_H"><xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/IPBUCKET/@MODS_H"/></xsl:if>
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/IPBUCKET/@MODS_H)">0</xsl:if>
+</xsl:variable>
+<xsl:variable name="G_Total_IpBucket_H"   select="($G_IpBucketMods_H * ($BLKD_MOD_H + $BLKD_BIF_H))"/>
+       
+<xsl:variable name="G_Total_UnkBucket_H">
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET">
+       
+               <xsl:variable name="unkBucketMods_H_">
+                       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET/@MODS_H"><xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET/@MODS_H"/></xsl:if>
+                       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET/@MODS_H)">0</xsl:if>
+               </xsl:variable>
+               
+               <xsl:variable name="total_UnkMod_H_"       select="($unkBucketMods_H_ * ($BLKD_MOD_H + $BLKD_BIF_H))"/>         
+               
+               <xsl:variable name="unkBucketBifs_H_">
+                       <xsl:if test="/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET/@BIFS_H"><xsl:value-of select="/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET/@BIFS_H"/></xsl:if>
+                       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET/@BIFS_H)">0</xsl:if>
+               </xsl:variable>
+               
+               <xsl:variable name="total_UnkBif_H_"       select="($unkBucketBifs_H_ * ($BLKD_MOD_H + $BLKD_BIF_H))"/>
+               
+               <xsl:value-of select="($total_UnkBif_H_ + $total_UnkMod_H_)"/>  
+       </xsl:if>
+       
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET)">0</xsl:if>
+</xsl:variable>
+       
+<xsl:variable name="G_SharedBus_Y"    select="($BLKD_INNER_Y + $G_Total_StandAloneMpmc_H + $G_Max_Stack_AbvSbs_H + $BLKD_PROC2SBS_GAP)"/>
+       
+<!-- ===========================================================================
+    Calculate the width of the Block Diagram based on the total number of      
+    buslanes and modules in the design. If there are no buslanes or modules,
+       a default width, just wide enough to display the KEY and SPECS is used
+   =========================================================================== -->
+<xsl:variable name="G_Total_Blkd_W"  select="($G_Total_DrawArea_W + (($BLKD_PRTCHAN_W  + $BLKD_IORCHAN_W)* 2))"/>
+<xsl:variable name="G_Total_Diag_W"  select="$G_Total_Blkd_W"/>
+       
+<!-- =========================================================================== -->
+<!-- Calculate the height of the Block Diagram based on the total number of      -->
+<!-- buslanes and modules in the design. Take into account special shapes such   -->
+<!-- as MultiProc shapes.                                                                                                           -->
+<!-- =========================================================================== -->
+       
+       
+<xsl:variable name="G_Total_DrawArea_H"  select="($G_Total_StandAloneMpmc_H + $G_Max_Stack_AbvSbs_H + $BLKD_PROC2SBS_GAP + $G_Total_SharedBus_H + $G_Max_Stack_BlwSbs_H + $BLKD_SBS2IP_GAP + $G_Total_IpBucket_H + $BLKD_IP2UNK_GAP + $G_Total_UnkBucket_H + ($BLKD_INNER_GAP * 2))"/>
+<xsl:variable name="G_Total_Blkd_H"      select="($G_Total_DrawArea_H + (($BLKD_PRTCHAN_H  + $BLKD_IORCHAN_H)* 2))"/>
+       
+<xsl:variable name="G_Total_Diag_H">
+       <xsl:if test="($IN_TESTMODE = 'TRUE')">
+               <xsl:message>Generating Blkdiagram in TestMode </xsl:message>
+       <xsl:value-of select="$G_Total_Blkd_H"/>
+       </xsl:if>
+       <xsl:if test="(not($IN_TESTMODE) or ($IN_TESTMODE = 'FALSE'))">
+       <xsl:value-of select="($G_Total_Blkd_H + $BLKD_DRAWAREA2KEY_GAP + $BLKD_KEY_H)"/>
+       </xsl:if>
+</xsl:variable>                        
+
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_IOPorts.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_IOPorts.xsl
new file mode 100644 (file)
index 0000000..4a9d671
--- /dev/null
@@ -0,0 +1,495 @@
+<?xml version="1.0" standalone="no"?>
+<xsl:stylesheet version="1.0"
+       xmlns:svg="http://www.w3.org/2000/svg"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+<!-- 
+<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
+              doctype-public="-//W3C//DTD SVG Tiny 1.1//EN"
+                  doctype-system="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"/>
+-->           
+       
+<!-- ======================= DEF BLOCK =============================== -->
+<xsl:template name="Define_IOPorts">
+       
+       <xsl:variable name="key_col_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="'KEY'"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+               <xsl:variable name="key_lt_col_">
+                       <xsl:call-template name="F_BusStd2RGB_LT">
+                               <xsl:with-param name="iBusStd" select="'KEY'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+
+        <g id="G_IOPort">
+               <rect  
+                       x="0"  
+                       y="0" 
+                       width= "{$BLKD_IOP_W}" 
+                       height="{$BLKD_IOP_H}" 
+                   fill="{$COL_IORING_LT}" 
+                   stroke="{$COL_IORING}" 
+                   stroke-width="1"/> 
+                       
+               <path d="M   0,0
+                                L   {$BLKD_IOP_W},{ceiling($BLKD_IOP_H div 2)}
+                                L   0,{$BLKD_IOP_H}
+                                Z" 
+                                stroke="none"
+                                fill="{$COL_SYSPRT}"/> 
+       </g>
+
+        <g id="G_BIPort">
+               <rect  
+                       x="0"  
+                       y="0" 
+                       width= "{$BLKD_IOP_W}" 
+                       height="{$BLKD_IOP_H}" style="fill:{$COL_IORING_LT}; stroke:{$COL_IORING}; stroke-width:1"/> 
+                       
+               <path class="btop"
+                         d="M 0,{ceiling($BLKD_IOP_H div 2)}
+                                {ceiling($BLKD_IOP_W div 2)},0
+                                {$BLKD_IOP_W},{ceiling($BLKD_IOP_H div 2)}
+                                Z" style="stroke:none; fill:{$COL_SYSPRT}"/>   
+                                
+               <path class="bbot"
+                         d="M 0,{ceiling($BLKD_IOP_H div 2)}
+                                {ceiling($BLKD_IOP_W div 2)},{$BLKD_IOP_H}
+                                {$BLKD_IOP_W},{ceiling($BLKD_IOP_H div 2)}
+                                Z" style="stroke:none; fill:{$COL_SYSPRT}"/>   
+                                
+       </g>
+
+        <g id="KEY_IOPort">
+               <rect  
+                       x="0"  
+                       y="0" 
+                       width= "{$BLKD_IOP_W}" 
+                       height="{$BLKD_IOP_H}" style="fill:{$key_lt_col_}; stroke:none;"/> 
+                       
+               <path class="ioport"
+                         d="M   0,0
+                                L   {$BLKD_IOP_W},{ceiling($BLKD_IOP_H div 2)}
+                                L   0,{$BLKD_IOP_H}
+                                Z" style="stroke:none; fill:{$key_col_}"/>     
+       </g>
+       
+        <g id="KEY_BIPort">
+               <rect  
+                       x="0"  
+                       y="0" 
+                       width= "{$BLKD_IOP_W}" 
+                       height="{$BLKD_IOP_H}" style="fill:{$key_lt_col_}; stroke:none;"/> 
+                       
+               <path class="btop"
+                         d="M 0,{ceiling($BLKD_IOP_H div 2)}
+                                {ceiling($BLKD_IOP_W div 2)},0
+                                {$BLKD_IOP_W},{ceiling($BLKD_IOP_H div 2)}
+                                Z" style="stroke:none; fill:{$key_col_}"/>     
+                                
+               <path class="bbot"
+                         d="M 0,{ceiling($BLKD_IOP_H div 2)}
+                                {ceiling($BLKD_IOP_W div 2)},{$BLKD_IOP_H}
+                                {$BLKD_IOP_W},{ceiling($BLKD_IOP_H div 2)}
+                                Z" style="stroke:none; fill:{$key_col_}"/>
+       </g>
+       
+        <g id="KEY_INPort">
+               <use   x="0"   y="0"   xlink:href="#KEY_IOPort"/>
+               <rect  
+                       x="{$BLKD_IOP_W}"  
+                       y="0" 
+                       width= "{ceiling($BLKD_IOP_W div 2)}" 
+                       height="{$BLKD_IOP_H}" style="fill:{$COL_SYSPRT}; stroke:none;"/> 
+       </g>
+       
+        <g id="KEY_OUTPort">
+               <use   x="0"   y="0"   xlink:href="#KEY_IOPort" transform="scale(-1,1) translate({$BLKD_IOP_W * -1},0)"/>
+               <rect  
+                       x="{$BLKD_IOP_W}"  
+                       y="0" 
+                       width= "{ceiling($BLKD_IOP_W div 2)}" 
+                       height="{$BLKD_IOP_H}" style="fill:{$COL_SYSPRT}; stroke:none;"/> 
+       </g>
+
+        <g id="KEY_INOUTPort">
+               <use   x="0"   y="0"   xlink:href="#KEY_BIPort"/>
+               <rect  
+                       x="{$BLKD_IOP_W}"  
+                       y="0" 
+                       width= "{ceiling($BLKD_IOP_W div 2)}" 
+                       height="{$BLKD_IOP_H}" style="fill:{$COL_SYSPRT}; stroke:none;"/> 
+       </g>
+</xsl:template>
+
+<!-- ======================= DRAW BLOCK =============================== -->
+
+<xsl:template name="Draw_IOPorts"> 
+       
+       <xsl:variable name="ports_count_"    select="count($G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT)"/>
+       
+       <xsl:if test="($ports_count_ &gt; 30)">
+               <xsl:call-template name="Draw_IOPorts_4Sides"/> 
+       </xsl:if>
+       
+       <xsl:if test="($ports_count_ &lt;= 30)">
+               <xsl:call-template name="Draw_IOPorts_2Sides"/> 
+       </xsl:if>
+</xsl:template>
+
+<xsl:template name="Draw_IOPorts_2Sides"> 
+       
+       <xsl:variable name="ports_count_"    select="count($G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT)"/>
+       <xsl:variable name="ports_per_side_" select="ceiling($ports_count_ div 2)"/>
+       
+       <xsl:variable name="h_ofs_">
+               <xsl:value-of select="$BLKD_PRTCHAN_W + ceiling(($G_Total_DrawArea_W  - (($ports_per_side_ * $BLKD_IOP_W) + (($ports_per_side_ - 1) * $BLKD_IOP_SPC))) div 2)"/>
+       </xsl:variable>
+       
+       <xsl:variable name="v_ofs_">
+               <xsl:value-of select="$BLKD_PRTCHAN_H + ceiling(($G_Total_DrawArea_H  - (($ports_per_side_ * $BLKD_IOP_H) + (($ports_per_side_ - 1) * $BLKD_IOP_SPC))) div 2)"/>
+       </xsl:variable>
+       
+
+       <xsl:for-each select="EXTERNALPORTS/PORT">
+               <xsl:sort data-type="number" select="@INDEX" order="ascending"/>
+               
+               <xsl:variable name="poffset_" select="0"/>
+               <xsl:variable name="pcount_"  select="$poffset_ + (position() -1)"/>
+               
+               <xsl:variable name="pdir_">
+                       <xsl:choose>
+                               <xsl:when test="(@DIR='I'  or @DIR='IN'  or @DIR='INPUT')">I</xsl:when>
+                               <xsl:when test="(@DIR='O'  or @DIR='OUT' or @DIR='OUTPUT')">O</xsl:when>
+                               <xsl:when test="(@DIR='IO' or @DIR='INOUT')">B</xsl:when>
+                               <xsl:otherwise>I</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="pside_">
+                       <xsl:choose>
+                               <xsl:when test="($pcount_ &gt;= ($ports_per_side_ * 0) and ($pcount_ &lt; ($ports_per_side_ * 1)))">W</xsl:when>
+                               <xsl:when test="($pcount_ &gt;= ($ports_per_side_ * 1) and ($pcount_ &lt; ($ports_per_side_ * 2)))">E</xsl:when>
+                               <xsl:otherwise>D</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="pdec_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_ = 'W')"><xsl:value-of select="($ports_per_side_ * 0)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'E')"><xsl:value-of select="($ports_per_side_ * 1)"/></xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="px_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_ = 'W')"><xsl:value-of select="($BLKD_PRTCHAN_W - $BLKD_IOP_W)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'S')"><xsl:value-of select="($h_ofs_ + (((position() - 1) - $pdec_) * ($BLKD_IOP_SPC + $BLKD_IOP_W)) - 2)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'E')"><xsl:value-of select="($BLKD_PRTCHAN_W + ($BLKD_IORCHAN_W * 2) + $G_Total_DrawArea_W)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'N')"><xsl:value-of select="($h_ofs_ + (((position() - 1) - $pdec_) * ($BLKD_IOP_SPC + $BLKD_IOP_W)))"/></xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="py_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_ = 'W')"><xsl:value-of select="($v_ofs_ + (((position() - 1) - $pdec_) * ($BLKD_IOP_SPC + $BLKD_IOP_H)))"/></xsl:when>
+                               <xsl:when test="($pside_ = 'S')"><xsl:value-of select="($BLKD_PRTCHAN_H + ($BLKD_IORCHAN_H * 2) + $G_Total_DrawArea_H)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'E')"><xsl:value-of select="($v_ofs_ + (((position() - 1) - $pdec_) * ($BLKD_IOP_SPC + $BLKD_IOP_H)))"/></xsl:when>
+                               <xsl:when test="($pside_ = 'N')"><xsl:value-of select="($BLKD_PRTCHAN_H - $BLKD_IOP_H)"/></xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="prot_">
+                       <xsl:choose>
+                               <xsl:when test="(($pside_ = 'W') and ($pdir_ = 'I'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'S') and ($pdir_ = 'I'))">-90</xsl:when>
+                               <xsl:when test="(($pside_ = 'E') and ($pdir_ = 'I'))">180</xsl:when>
+                               <xsl:when test="(($pside_ = 'N') and ($pdir_ = 'I'))">90</xsl:when>
+                               
+                               <xsl:when test="(($pside_ = 'W') and ($pdir_ = 'O'))">180</xsl:when>
+                               <xsl:when test="(($pside_ = 'S') and ($pdir_ = 'O'))">90</xsl:when>
+                               <xsl:when test="(($pside_ = 'E') and ($pdir_ = 'O'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'N') and ($pdir_ = 'O'))">-90</xsl:when>
+                               
+                               <xsl:when test="(($pside_ = 'W') and ($pdir_ = 'B'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'S') and ($pdir_ = 'B'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'E') and ($pdir_ = 'B'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'N') and ($pdir_ = 'B'))">0</xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               
+               <xsl:variable name="txo_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_  = 'W')">-10</xsl:when>
+                               <xsl:when test="($pside_  = 'S')">6</xsl:when>
+                                <xsl:when test="($pside_ = 'E')"><xsl:value-of select="(($BLKD_IOP_W * 2) - 4)"/></xsl:when>
+                               <xsl:when test="($pside_  = 'N')">6</xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="tyo_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_ = 'W')"><xsl:value-of select="ceiling($BLKD_IOP_H div 2) + 6"/></xsl:when>
+                               <xsl:when test="($pside_ = 'S')"><xsl:value-of select="($BLKD_IOP_H * 2) + 4"/></xsl:when>
+                               <xsl:when test="($pside_ = 'E')"><xsl:value-of select="ceiling($BLKD_IOP_H div 2) + 6"/></xsl:when>
+                               <xsl:when test="($pside_ = 'N')">-2</xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+
+               <xsl:if test="$pdir_ = 'B'">       
+                       <use   x="{$px_}"  
+                              y="{$py_}"  
+                                  id="{@NAME}"
+                              xlink:href="#G_BIPort" 
+                              transform="rotate({$prot_},{$px_ + ceiling($BLKD_IOP_W div 2)},{$py_ + ceiling($BLKD_IOP_H div 2)})"/>
+               </xsl:if>
+               
+               <xsl:if test="(($pside_ = 'S') and not($pdir_ = 'B'))">    
+                       <rect  
+                               x="{$px_}"  
+                               y="{$py_}" 
+                               width= "{$BLKD_IOP_W}" 
+                               height="{$BLKD_IOP_H}" style="stroke:{$COL_IORING}; stroke-width:1"/> 
+               </xsl:if>
+               
+               <xsl:if test="not($pdir_ = 'B')">          
+                       <use   x="{$px_}"  
+                              y="{$py_}"  
+                                  id="{@NAME}"
+                              xlink:href="#G_IOPort" 
+                              transform="rotate({$prot_},{$px_ + ceiling($BLKD_IOP_W div 2)},{$py_ + ceiling($BLKD_IOP_H div 2)})"/>
+               </xsl:if>
+               
+               <text class="iopnumb"
+                       x="{$px_ + $txo_}" 
+                       y="{$py_ + $tyo_}">
+                       <xsl:value-of select="@INDEX"/><tspan class="iopgrp"><xsl:value-of select="@GROUP"/></tspan>
+               </text>
+               
+       </xsl:for-each>
+       
+</xsl:template>
+
+
+<xsl:template name="Draw_IOPorts_4Sides"> 
+       
+       <xsl:variable name="ports_count_"    select="count($G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT)"/>
+       <xsl:variable name="ports_per_side_" select="ceiling($ports_count_ div 4)"/>
+       
+       <xsl:variable name="h_ofs_">
+               <xsl:value-of select="$BLKD_PRTCHAN_W + ceiling(($G_Total_DrawArea_W  - (($ports_per_side_ * $BLKD_IOP_W) + (($ports_per_side_ - 1) * $BLKD_IOP_SPC))) div 2)"/>
+       </xsl:variable>
+       
+       <xsl:variable name="v_ofs_">
+               <xsl:value-of select="$BLKD_PRTCHAN_H + ceiling(($G_Total_DrawArea_H  - (($ports_per_side_ * $BLKD_IOP_H) + (($ports_per_side_ - 1) * $BLKD_IOP_SPC))) div 2)"/>
+       </xsl:variable>
+       
+
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT">
+               <xsl:sort data-type="number" select="@INDEX" order="ascending"/>
+               
+               <xsl:variable name="poffset_" select="0"/>
+               <xsl:variable name="pcount_"  select="$poffset_ + (position() -1)"/>
+               
+               <xsl:variable name="pdir_">
+                       <xsl:choose>
+                               <xsl:when test="(@DIR='I'  or @DIR='IN'  or @DIR='INPUT')">I</xsl:when>
+                               <xsl:when test="(@DIR='O'  or @DIR='OUT' or @DIR='OUTPUT')">O</xsl:when>
+                               <xsl:when test="(@DIR='IO' or @DIR='INOUT')">B</xsl:when>
+                               <xsl:otherwise>I</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="pside_">
+                       <xsl:choose>
+                               <xsl:when test="($pcount_ &gt;= ($ports_per_side_ * 0) and ($pcount_ &lt; ($ports_per_side_ * 1)))">W</xsl:when>
+                               <xsl:when test="($pcount_ &gt;= ($ports_per_side_ * 1) and ($pcount_ &lt; ($ports_per_side_ * 2)))">S</xsl:when>
+                               <xsl:when test="($pcount_ &gt;= ($ports_per_side_ * 2) and ($pcount_ &lt; ($ports_per_side_ * 3)))">E</xsl:when>
+                               <xsl:when test="($pcount_ &gt;= ($ports_per_side_ * 3) and ($pcount_ &lt; ($ports_per_side_ * 4)))">N</xsl:when>
+                               <xsl:otherwise>D</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="pdec_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_ = 'W')"><xsl:value-of select="($ports_per_side_ * 0)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'S')"><xsl:value-of select="($ports_per_side_ * 1)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'E')"><xsl:value-of select="($ports_per_side_ * 2)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'N')"><xsl:value-of select="($ports_per_side_ * 3)"/></xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="px_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_ = 'W')"><xsl:value-of select="($BLKD_PRTCHAN_W - $BLKD_IOP_W)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'S')"><xsl:value-of select="($h_ofs_ + (((position() - 1) - $pdec_) * ($BLKD_IOP_SPC + $BLKD_IOP_W)) - 2)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'E')"><xsl:value-of select="($BLKD_PRTCHAN_W + ($BLKD_IORCHAN_W * 2) + $G_Total_DrawArea_W)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'N')"><xsl:value-of select="($h_ofs_ + (((position() - 1) - $pdec_) * ($BLKD_IOP_SPC + $BLKD_IOP_W)))"/></xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="py_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_ = 'W')"><xsl:value-of select="($v_ofs_ + (((position() - 1) - $pdec_) * ($BLKD_IOP_SPC + $BLKD_IOP_H)))"/></xsl:when>
+                               <xsl:when test="($pside_ = 'S')"><xsl:value-of select="($BLKD_PRTCHAN_H + ($BLKD_IORCHAN_H * 2) + $G_Total_DrawArea_H)"/></xsl:when>
+                               <xsl:when test="($pside_ = 'E')"><xsl:value-of select="($v_ofs_ + (((position() - 1) - $pdec_) * ($BLKD_IOP_SPC + $BLKD_IOP_H)))"/></xsl:when>
+                               <xsl:when test="($pside_ = 'N')"><xsl:value-of select="($BLKD_PRTCHAN_H - $BLKD_IOP_H)"/></xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+       
+               <xsl:variable name="prot_">
+                       <xsl:choose>
+                               <xsl:when test="(($pside_ = 'W') and ($pdir_ = 'I'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'S') and ($pdir_ = 'I'))">-90</xsl:when>
+                               <xsl:when test="(($pside_ = 'E') and ($pdir_ = 'I'))">180</xsl:when>
+                               <xsl:when test="(($pside_ = 'N') and ($pdir_ = 'I'))">90</xsl:when>
+                               
+                               <xsl:when test="(($pside_ = 'W') and ($pdir_ = 'O'))">180</xsl:when>
+                               <xsl:when test="(($pside_ = 'S') and ($pdir_ = 'O'))">90</xsl:when>
+                               <xsl:when test="(($pside_ = 'E') and ($pdir_ = 'O'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'N') and ($pdir_ = 'O'))">-90</xsl:when>
+                               
+                               <xsl:when test="(($pside_ = 'W') and ($pdir_ = 'B'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'S') and ($pdir_ = 'B'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'E') and ($pdir_ = 'B'))">0</xsl:when>
+                               <xsl:when test="(($pside_ = 'N') and ($pdir_ = 'B'))">0</xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="txo_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_  = 'W')">-14</xsl:when>
+                               <xsl:when test="($pside_  = 'S')">8</xsl:when>
+                                <xsl:when test="($pside_ = 'E')"><xsl:value-of select="(($BLKD_IOP_W * 2) - 4)"/></xsl:when>
+                               <xsl:when test="($pside_  = 'N')">8</xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+               
+               <xsl:variable name="tyo_">
+                       <xsl:choose>
+                               <xsl:when test="($pside_ = 'W')"><xsl:value-of select="ceiling($BLKD_IOP_H div 2) + 6"/></xsl:when>
+                               <xsl:when test="($pside_ = 'S')"><xsl:value-of select="($BLKD_IOP_H * 2) + 4"/></xsl:when>
+                               <xsl:when test="($pside_ = 'E')"><xsl:value-of select="ceiling($BLKD_IOP_H div 2) + 6"/></xsl:when>
+                               <xsl:when test="($pside_ = 'N')">-2</xsl:when>
+                               <xsl:otherwise>0</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable>
+
+               <xsl:if test="$pdir_ = 'B'">       
+                       <use   x="{$px_}"
+                              y="{$py_}"
+                                  id="{@NAME}"
+                              xlink:href="#G_BIPort" 
+                              transform="rotate({$prot_},{$px_ + ceiling($BLKD_IOP_W div 2)},{$py_ + ceiling($BLKD_IOP_H div 2)})"/>
+               </xsl:if>
+               
+               <xsl:if test="(($pside_ = 'S') and not($pdir_ = 'B'))">    
+                       <rect  
+                               x="{$px_}"
+                               y="{$py_}"
+                               width= "{$BLKD_IOP_W}"
+                               height="{$BLKD_IOP_H}" style="stroke:{$COL_IORING}; stroke-width:1"/> 
+               </xsl:if>
+               
+               <xsl:if test="not($pdir_ = 'B')">          
+                       <use   x="{$px_}"
+                              y="{$py_}"
+                                  id="{@NAME}"
+                              xlink:href="#G_IOPort"
+                              transform="rotate({$prot_},{$px_ + ceiling($BLKD_IOP_W div 2)},{$py_ + ceiling($BLKD_IOP_H div 2)})"/>
+               </xsl:if>
+               
+               <text class="iopnumb"
+                       x="{$px_ + $txo_}" 
+                       y="{$py_ + $tyo_}"><xsl:value-of select="@INDEX"/><tspan class="iopgrp"><xsl:value-of select="@GROUP"/></tspan>
+               </text>
+
+       </xsl:for-each>
+       
+</xsl:template>
+       
+<xsl:template name="Define_ExtPortsTable">
+       
+<!--   
+               <xsl:if test="$oriented_= 'WEST'"><xsl:value-of select="$proc2procX_ - (string-length(@BUSNAME) * 6)"/></xsl:if>        
+               <xsl:variable name="max_name_" select="math:max(string-length($G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT/@NAME))"/>
+               <xsl:variable name="max_sgnm_" select="math:max(string-length($G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT/@SIGNAME))"/>
+       
+               <xsl:message>MAX NAME <xsl:value-of select="$max_name_"/></xsl:message>
+               <xsl:message>MAX SIG  <xsl:value-of select="$max_sgnm_"/></xsl:message>
+-->    
+       
+               <xsl:variable name="ext_ports_">        
+                       <xsl:if test="not($G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT)">
+                               <EXTPORT NAME="__none__" SIGNAME="__none_" NAMELEN="0" SIGLEN="0"/>
+                       </xsl:if>
+                       <xsl:if test="$G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT">
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/EXTERNALPORTS/PORT">
+                                       <EXTPORT  NAME="{@NAME}" SIGNAME="{@SIGNAME}" NAMELEN="{string-length(@NAME)}" SIGLEN="{string-length(@SIGNAME)}"/>
+                               </xsl:for-each>
+                       </xsl:if>
+               </xsl:variable>
+       
+               <xsl:variable name="max_name_" select="math:max(exsl:node-set($ext_ports_)/EXTPORT/@NAMELEN)"/>
+               <xsl:variable name="max_sign_" select="math:max(exsl:node-set($ext_ports_)/EXTPORT/@SIGLEN)"/>
+       
+               <xsl:variable name="h_font_" select="12"/>
+               <xsl:variable name="w_font_" select="12"/>
+       
+               <xsl:variable name="w_num_"    select="($w_font_ * 5)"/>
+               <xsl:variable name="w_dir_"    select="($w_font_ * 3)"/>
+               <xsl:variable name="w_lsbmsb_" select="($w_font_ * 9)"/>
+               <xsl:variable name="w_attr_"   select="($w_font_ * 4)"/>
+               <xsl:variable name="w_name_"   select="($w_font_ * $max_name_)"/>
+               <xsl:variable name="w_sign_"   select="($w_font_ * $max_sign_)"/>
+       
+               <xsl:variable name="w_table_" select="($w_num_ + $w_name_ + $w_dir_ + $w_sign_ + $w_attr_)"/>
+       
+<!--   
+               <xsl:message>MAX NAME <xsl:value-of select="$max_name_"/></xsl:message>
+               <xsl:message>MAX SIG  <xsl:value-of select="$max_sign_"/></xsl:message>
+       
+               <xsl:message>W NUM  <xsl:value-of select="$w_num_"/></xsl:message>
+               <xsl:message>W DIR  <xsl:value-of select="$w_dir_"/></xsl:message>
+               <xsl:message>W NAM  <xsl:value-of select="$w_name_"/></xsl:message>
+               <xsl:message>W SIG  <xsl:value-of select="$w_sign_"/></xsl:message>
+               <xsl:message>W ATT  <xsl:value-of select="$w_attr_"/></xsl:message>
+       
+               <xsl:message>W TABLE  <xsl:value-of select="$w_table_"/></xsl:message>
+-->    
+       
+        <g id="BlkDiagram_ExtPortsTable">
+               <rect  
+                       x="0"  
+                       y="0" 
+                       width= "{$w_table_}" 
+                       height="{$h_font_}"  style="fill:{$COL_RED}; stroke:none; stroke-width:1"/> 
+       </g>     
+       
+       
+       
+</xsl:template>
+
+<!-- ======================= END MAIN BLOCK =========================== -->
+
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Main.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Main.xsl
new file mode 100644 (file)
index 0000000..7fe3adb
--- /dev/null
@@ -0,0 +1,1566 @@
+<?xml version="1.0" standalone="no"?>
+
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+           
+                  
+<!-- 
+      xmlns:svg="http://www.w3.org/2000/svg"
+       ===============================================
+                               INCLUDES
+       ===============================================
+ -->   
+<xsl:include href="MdtSvgBLKD_Dimensions.xsl"/>
+
+<xsl:include href="MdtSvgDiag_Colors.xsl"/>
+<xsl:include href="MdtSvgDiag_Globals.xsl"/>
+<xsl:include href="MdtSvgDiag_StyleDefs.xsl"/>
+
+<xsl:include href="MdtTinySvgDiag_BifShapes.xsl"/>
+
+<xsl:include href="MdtTinySvgBLKD_IOPorts.xsl"/>
+<xsl:include href="MdtTinySvgBLKD_Busses.xsl"/>
+<xsl:include href="MdtTinySvgBLKD_Globals.xsl"/>
+<xsl:include href="MdtTinySvgBLKD_Functions.xsl"/>
+<xsl:include href="MdtTinySvgBLKD_Peripherals.xsl"/>
+<xsl:include href="MdtTinySvgBLKD_Processors.xsl"/>
+<xsl:include href="MdtTinySvgBLKD_BusLaneSpaces.xsl"/>
+       
+<xsl:output method="xml" 
+                   version="1.0" 
+                   indent="yes"
+                   encoding="UTF-8" 
+               doctype-public="-//W3C//DTD SVG 1.1//EN"
+                   doctype-system="http://www.w3.org/Graphics/SVG/1.1/svg11-tiny.dtd"/>
+       
+<!-- 
+       ===============================================
+                               PARAMETERS
+       ===============================================
+ -->   
+<xsl:param    name="ADD_VIEWBOX"   select="'FALSE'"/>             
+<xsl:param    name="IN_TESTMODE"   select="'FALSE'"/>
+
+
+<!-- 
+<xsl:param    name="CSS_SVG_DIAGRAMS"   select="'MdtSvgDiag_StyleDefs.css'"/>
+<xsl:param    name="CSS_SVG_DIAGRAMS"   select="'__INTERNAL__'"/>
+ -->
+               
+<!-- 
+       ====================================================== 
+                               MAIN BLOCKDIAGRAM TEMPLATE      
+       ====================================================== 
+-->
+<xsl:template match="EDKSYSTEM[not(BLKDIAGRAM)]">
+       <xsl:message>ERROT: Project is missing BLKDIAGRAM Element. Cannot generate.</xsl:message>
+</xsl:template>
+
+<xsl:template match="EDKSYSTEM[BLKDIAGRAM]">
+       
+<!--
+<xsl:message>STCK_W is <xsl:value-of select="$G_Total_Stacks_W"/></xsl:message>
+<xsl:message>BRDG_W is <xsl:value-of select="$G_Total_Bridges_W"/></xsl:message>
+<xsl:message>MPMC is <xsl:value-of select="$G_Total_StandAloneMpmc_H"/></xsl:message>
+<xsl:message>MPMC is <xsl:value-of select="$G_Total_StandAloneMpmc_H"/></xsl:message>
+<xsl:message>MABV is <xsl:value-of select="$G_Max_Stack_AbvSbs_H"/></xsl:message>
+<xsl:message>MBLW is <xsl:value-of select="$G_Max_Stack_BlwSbs_H"/></xsl:message>
+<xsl:message>IPBK is <xsl:value-of select="$G_Total_IpBucket_H"/></xsl:message>
+<xsl:message>Blkd Total is <xsl:value-of select="$blkd_H_"/></xsl:message>
+<xsl:message>max abv is <xsl:value-of select="$max_Stack_AbvSbs_H_"/></xsl:message>
+<xsl:message>max blw is <xsl:value-of select="$max_Stack_BlwSbs_H_"/></xsl:message>
+<xsl:message>Ip Bkt is <xsl:value-of select="$totalIpBkt_H_"/></xsl:message>
+<xsl:message>Sbs is <xsl:value-of select="$totalSbs_H_"/></xsl:message>
+<xsl:message>Unk Bkt is <xsl:value-of select="$totalUnkBkt_H_"/></xsl:message>
+<xsl:message>Blkd DrawArea height as <xsl:value-of select="$total_DrawArea_H_"/></xsl:message>
+-->
+
+<!--specify a css for the file -->
+<!-- 
+<xsl:processing-instruction name="xml-stylesheet">href="<xsl:value-of select="$CSS_SVG_DIAGRAMS"/>" type="text/css"</xsl:processing-instruction>
+<xsl:variable name="BLKD_ZOOM_Y">
+       <xsl:choose>
+               <xsl:when test="($ADD_VIEWBOX = 'TRUE')">
+                       <xsl:value-of select="($G_Total_Diag_H * 2)"/>
+               </xsl:when>
+               <xsl:otherwise>0</xsl:otherwise>                
+       </xsl:choose>
+</xsl:variable>
+<xsl:message>EDWVERSION is <xsl:value-of select="$G_ROOT/EDKSYSTEM/@EDWVERSION"/></xsl:message>
+ -->
+       
+<xsl:text>&#10;</xsl:text>
+<!--
+<svg width="{$G_Total_Diag_W}" height="{$G_Total_Diag_H}" viewBox="0 0 0 {$BLKD_ZOOM_Y}">      
+-->
+<svg width="{$G_Total_Diag_W}" height="{$G_Total_Diag_H}">
+<!-- 
+        =============================================== 
+              Layout All the various definitions       
+        =============================================== 
+-->
+       <defs>
+               
+               <!-- IO Port Defs -->
+               <xsl:call-template name="Define_IOPorts"/>              
+               
+               <!-- BIF Defs -->
+               <xsl:call-template name="Define_ConnectedBifTypes"/>            
+               
+               <!-- Bus Defs -->
+               <xsl:call-template name="Define_Busses"/>               
+               
+               <!-- Shared Bus Buckets Defs -->
+               <xsl:call-template name="Define_SBSBuckets"/>           
+               
+               <!-- IP Bucket Defs -->
+               <xsl:call-template name="Define_IPBucket"/>             
+               
+               <!-- Stack Defs -->
+               <xsl:call-template name="Define_AllStacks"/>            
+               
+               <!-- Space Defs -->
+               <xsl:call-template name="Define_BusLaneSpaces"/>                
+               
+               <!-- Main MPMC Defs -->
+               <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/MPMCSHAPE">
+                       <xsl:call-template name="Define_StandAlone_MPMC"/>      
+               </xsl:if>
+               
+               <!-- Diagram Key Definition -->
+               <xsl:call-template name="Define_BlkDiagram_Key"/>               
+               
+               <!-- Diagram Specs Definition -->
+               <xsl:call-template name="Define_BlkDiagram_Specs">              
+                       <xsl:with-param name="iArch"       select="SYSTEMINFO/@ARCH"/>
+                       <xsl:with-param name="iPart"       select="SYSTEMINFO/@PART"/>
+                       <xsl:with-param name="iTimeStamp"  select="@TIMESTAMP"/>
+                       <xsl:with-param name="iEdkVersion" select="@EDKVERSION"/>
+               </xsl:call-template>            
+               
+       </defs>
+       
+<!-- =============================================== -->
+<!--             Draw Outlines                       -->
+<!-- =============================================== -->
+       
+        <!-- The surrounding black liner -->
+     <rect x="0"  
+                  y="0" 
+                  width ="{$G_Total_Diag_W}"
+                  height="{$G_Total_Diag_H}" 
+                  fill="{$COL_WHITE}" 
+                  stroke="{$COL_BLACK}"
+                  stroke-width="4"/>
+                  
+        <!-- The outer IO channel -->
+     <rect x="{$BLKD_PRTCHAN_W}"  
+                  y="{$BLKD_PRTCHAN_H}" 
+                  width= "{$G_Total_Blkd_W - ($BLKD_PRTCHAN_W * 2)}" 
+                  height="{$G_Total_Blkd_H - ($BLKD_PRTCHAN_H * 2)}" style="fill:{$COL_IORING}"/>
+                  
+        <!-- The Diagram's drawing area -->
+     <rect x="{$BLKD_PRTCHAN_W + $BLKD_IORCHAN_W}"  
+                  y="{$BLKD_PRTCHAN_H + $BLKD_IORCHAN_H}" 
+                  rx="8" 
+                  ry="8" 
+                  width= "{$G_Total_DrawArea_W}"
+                  height="{$G_Total_DrawArea_H}" 
+                  fill="{$COL_BG}"/>
+                  
+<!-- =============================================== -->
+<!--        Draw All the various components          -->
+<!-- =============================================== -->
+       
+       <!--   Layout the IO Ports    -->       
+<!-- 
+       <xsl:if test="(not($IN_TESTMODE) or ($IN_TESTMODE = 'FALSE'))">
+               <xsl:call-template name="Draw_IOPorts"/>        
+       </xsl:if>
+ -->   
+       
+       <!--   Layout the Shapes      -->       
+       <xsl:call-template name="Draw_BlkDiagram_Shapes"/>              
+       
+</svg>
+       
+<!-- ======================= END MAIN SVG BLOCK =============================== -->
+</xsl:template>
+       
+<xsl:template name="Draw_BlkDiagram_Shapes">
+
+       <!-- 
+               ************************************************************ 
+               ***************  BEGIN DRAWING BLOCK DIAGRAM   ************* 
+               ************************************************************ 
+       -->     
+       
+       <!-- 
+                ===========================================================
+                                               Draw the Stand Alone MPMC, (if any)
+        ===========================================================
+       -->
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/MPMCSHAPE">
+       
+               <xsl:variable name="mpmc_inst_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/MPMCSHAPE/@INSTANCE"/>
+               
+               <use   x="{$BLKD_INNER_X}"  y="{$BLKD_INNER_Y}"  xlink:href="#mpmcmodule_{$mpmc_inst_}"/> 
+       <!-- 
+                ===========================================================
+                                               Draw the connections to the Stand Alone MPMC
+                ===========================================================
+       -->
+               <xsl:call-template name="Draw_BlkDiagram_StandAloneMpmcConnections"/>   
+       </xsl:if>       
+       
+       <!-- 
+                ===========================================================
+                                               Draw the Stacks
+                ===========================================================
+       -->
+       <xsl:call-template name="Draw_BlkDiagram_Stacks"/>      
+       
+       <!-- 
+                ===========================================================
+                                               Draw the Bus Lane Spaces 
+                ===========================================================
+       -->
+       <xsl:call-template name="Draw_BlkDiagram_BusLaneSpaces"/>       
+       
+       <!-- 
+                ===========================================================
+                                               Draw the shared busses 
+                ===========================================================
+       -->
+       <use   x="{$BLKD_INNER_X}"      y="{$G_SharedBus_Y}"  xlink:href="#group_sharedBusses"/> 
+       
+       <!-- 
+                ===========================================================
+                                               Draw the Bridges
+                ===========================================================
+       -->
+       <xsl:call-template name="Draw_BlkDiagram_Bridges"/>     
+       
+       
+       <!-- 
+                ===========================================================
+                                               Draw the Ip Bucket
+                ===========================================================
+       -->
+       <xsl:call-template name="Draw_BlkDiagram_IPBucket"/>
+       
+       <!-- 
+                ===========================================================
+                                               Draw the Key
+                ===========================================================
+       -->
+       <xsl:if test="(not($IN_TESTMODE) or ($IN_TESTMODE = 'FALSE'))">
+               <use   x="{$G_Total_Blkd_W - $BLKD_KEY_W - $BLKD_PRTCHAN_W}" y="{$G_Total_Blkd_H + $BLKD_DRAWAREA2KEY_GAP - 8}"  xlink:href="#BlkDiagram_Key"/> 
+       </xsl:if>
+       
+       <!-- 
+                ===========================================================
+                                               Draw the Specs
+                ===========================================================
+       -->
+       <xsl:if test="(not($IN_TESTMODE) or ($IN_TESTMODE = 'FALSE'))">
+               <use   x="{$BLKD_PRTCHAN_W}"  y="{$G_Total_Blkd_H + $BLKD_DRAWAREA2KEY_GAP - 8}"  xlink:href="#BlkDiagram_Specs"/> 
+       </xsl:if>
+       
+       <!-- 
+               ************************************************************ 
+               ***************  DONE DRAWING BLOCK DIAGRAM   ************** 
+               ************************************************************ 
+       -->     
+       
+</xsl:template>        
+       
+       
+<!-- ======================================================================= -->
+<!--                         FUNCTION TEMPLATE                               -->
+<!--                                                                                                                                            -->
+<!--  Draw stacks on the Block Diagram                                                                          -->
+<!-- ======================================================================= -->
+<xsl:template name="Draw_BlkDiagram_Stacks">
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(@EAST &lt; $G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH)]">
+                       
+               <xsl:variable name="stack_line_x_">
+                       <xsl:call-template name="F_Calc_Stack_X">
+                               <xsl:with-param name="iStackIdx"  select="@EAST"/>
+                       </xsl:call-template>
+               </xsl:variable>
+               
+               <xsl:variable name="stack_abv_sbs_">
+                       <xsl:call-template name="F_Calc_Stack_AbvSbs_Height">
+                               <xsl:with-param name="iStackIdx"  select="@EAST"/>
+                       </xsl:call-template>
+               </xsl:variable>
+               
+               <xsl:variable name="bridges_w_"    select="(($G_NumOfBridges * ($BLKD_MOD_W + ($BLKD_BUS_LANE_W * 2))) + $BLKD_BRIDGE_GAP)"/>
+               
+               <xsl:variable name="stack_y_" select="($G_SharedBus_Y - $stack_abv_sbs_ - $BLKD_PROC2SBS_GAP)"/>
+               <xsl:variable name="stack_x_" select="($BLKD_INNER_X + $stack_line_x_ + $bridges_w_)"/>
+               
+               <xsl:variable name="stack_name_">
+                       <xsl:call-template name="F_generate_Stack_Name"> 
+                               <xsl:with-param name="iHorizIdx" select="@EAST"/>
+                       </xsl:call-template>            
+               </xsl:variable> 
+               
+               <use   x="{$stack_x_}"    y="{$stack_y_}"  xlink:href="#{$stack_name_}"/> 
+       
+       </xsl:for-each> 
+                       
+</xsl:template>
+       
+<xsl:template name="Draw_BlkDiagram_StandAloneMpmcConnections">
+       
+       <xsl:variable name="mpmcInst_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/MPMCSHAPE/@INSTANCE"/>
+       <xsl:variable name="lastStack_" select="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH) - 1"/>
+       
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE">
+               <xsl:variable name="currentLane_" select="position()"/>
+<!--           
+               <xsl:message>Current lane <xsl:value-of select="$currentLane_"/></xsl:message>
+-->    
+               <xsl:variable name="stackToEast_">
+                       <xsl:choose>
+                               <xsl:when test="not(@WEST = $lastStack_)"><xsl:value-of select="@EAST"/></xsl:when>
+                               <xsl:when test="   (@WEST = $lastStack_)"><xsl:value-of select="'NONE'"/></xsl:when>
+                       </xsl:choose>
+               </xsl:variable>
+               
+               <xsl:variable name="stackToWest_">
+                       <xsl:choose>
+                               <xsl:when test="not(@WEST = $lastStack_)"><xsl:value-of select="'NONE'"/></xsl:when>
+                               <xsl:when test="   (@WEST = $lastStack_)"><xsl:value-of select="@WEST"/></xsl:when>
+                       </xsl:choose>
+               </xsl:variable>
+               
+               <xsl:variable name="spaceAbvSbs_H_">
+                       <xsl:call-template name="F_Calc_Space_AbvSbs_Height">
+                               <xsl:with-param name="iStackToEast"  select="$stackToEast_"/>
+                               <xsl:with-param name="iStackToWest"  select="$stackToWest_"/>
+                       </xsl:call-template>
+               </xsl:variable> 
+               
+               <xsl:variable name="space_y_"   select="($G_SharedBus_Y - $spaceAbvSbs_H_ - $BLKD_PROC2SBS_GAP)"/>
+       
+<!--           
+               <xsl:message>Stack To East <xsl:value-of select="$stackToEast_"/></xsl:message>
+               <xsl:message>Stack To West <xsl:value-of select="$stackToWest_"/></xsl:message>
+               <xsl:variable name="space_X_">
+                       <xsl:call-template name="F_Calc_Space_X"> 
+                               <xsl:with-param name="iStackToEast" select="$stackToEast_"/>
+                               <xsl:with-param name="iStackToWest" select="$stackToWest_"/>
+                       </xsl:call-template>            
+               </xsl:variable>
+               <xsl:variable name="space_y_"   select="($G_SharedBus_Y - $spaceAbvSbs_H_ - $BLKD_PROC2SBS_GAP)"/>
+               <xsl:variable name="space_x_"   select="($BLKD_INNER_X + $G_Total_Bridges_W + $space_line_x_)"/>
+-->            
+               
+       
+               <xsl:for-each select="BUSCONNLANE[@IS_MPMCCONN]">
+                       
+<!--                   
+                       <xsl:variable name="bifSide_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = BUSCONN/@INSTANCE)]/BUSINTERFACE[(@BUSNAME = @BUSNAME)]/@BIF_X"/>
+-->    
+                       <xsl:variable name="bifInst_"     select="BUSCONN/@INSTANCE"/>
+                       <xsl:variable name="busName_"     select="@BUSNAME"/>
+                       <xsl:variable name="bifSide_"     select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $bifInst_)]/BUSINTERFACE[(@BUSNAME = $busName_)]/@BIF_X"/>
+                       
+                       <xsl:variable name="mpmcBifName_">
+                               <xsl:choose>
+                                       <xsl:when test="   (@IS_SBSCONN)"><xsl:value-of select="BUSCONN/@BUSINTERFACE"/></xsl:when>
+                                       <xsl:when test="not(@IS_SBSCONN)"><xsl:value-of select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $mpmcInst_)]/BUSINTERFACE[(@BUSNAME = $busName_)]/@NAME"/></xsl:when>
+                                       <xsl:otherwise><xsl:value-of select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $mpmcInst_)]/BUSINTERFACE[(@BUSNAME = $busName_)]/@NAME"/></xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+<!--                   
+                       <xsl:message>MPMC Bif Name <xsl:value-of select="$mpmcBifName_"/></xsl:message>
+                       <xsl:message>Bif Side <xsl:value-of select="$bifSide_"/></xsl:message>
+                       <xsl:message>Bus Name <xsl:value-of select="@BUSNAME"/></xsl:message>
+                       <xsl:message>Instance <xsl:value-of select="$bifInst_"/></xsl:message>
+                       <xsl:message>Space line x <xsl:value-of select="$space_line_X_"/></xsl:message>
+-->
+                       <xsl:variable name="space_line_X_">
+                               <xsl:call-template name="F_Calc_Space_X">
+                                       <xsl:with-param name="iStackToEast"  select="$stackToEast_"/>
+                                       <xsl:with-param name="iStackToWest"  select="$stackToWest_"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="space_X_"   select="($BLKD_INNER_X + $G_Total_Bridges_W + $space_line_X_)"/>
+                       
+                       <xsl:variable name = "stackToWest_W_">
+                               <xsl:choose>
+                                       <xsl:when test="(($stackToEast_ = '0')   and     ($stackToWest_ = 'NONE'))">0</xsl:when>
+                                       <xsl:when test="(($stackToEast_ = 'NONE') and not($stackToWest_ = 'NONE'))">
+                                               <xsl:call-template name="F_Calc_Stack_Width">
+                                                       <xsl:with-param name="iStackIdx"  select="$stackToWest_"/>
+                                               </xsl:call-template>
+                                       </xsl:when>
+                                       <xsl:when test="(not($stackToEast_ = '0') and not($stackToEast_ = 'NONE') and ($stackToWest_ = 'NONE'))">
+                                               <xsl:call-template name="F_Calc_Stack_Width">
+                                                       <xsl:with-param name="iStackIdx"  select="($stackToEast_ - 1)"/>
+                                               </xsl:call-template>
+                                       </xsl:when>
+                                       <xsl:otherwise>0</xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+       
+                       <xsl:variable name = "stackToEast_W_">
+                               <xsl:call-template name="F_Calc_Stack_Width">
+                                       <xsl:with-param name="iStackIdx"  select="$stackToEast_"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+       
+                       <xsl:variable name ="extSpaceWest_W_" select="ceiling($stackToWest_W_ div 2)"/>
+                       <xsl:variable name ="extSpaceEast_W_" select="ceiling($stackToEast_W_ div 2)"/>
+                       <xsl:variable name="laneInSpace_X_">
+                               <xsl:choose>
+                                  <xsl:when test="(@ORIENTED = 'EAST')">
+                                          <xsl:value-of select="($extSpaceWest_W_ + (@BUSLANE_X * $BLKD_BUS_LANE_W) - $BLKD_BUS_ARROW_W - $BLKD_P2P_BUS_W)"/>
+<!-- 
+                                          <xsl:value-of select="($extSpaceWest_W_ + (@BUSLANE_X * $BLKD_BUS_LANE_W) - $BLKD_BUS_LANE_W - $BLKD_BUS_ARROW_W - $BLKD_P2P_BUS_W)"/>
+-->                               
+                                  </xsl:when>
+                                  <xsl:otherwise><xsl:value-of select="($extSpaceWest_W_ + (@BUSLANE_X * $BLKD_BUS_LANE_W))"/></xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable> 
+                                               
+                       
+                       <xsl:variable name="lane_X_"        select="($space_X_ + $laneInSpace_X_)"/>
+                       
+                       <xsl:variable name="mpmcBifType_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $mpmcInst_)]/BUSINTERFACE[(@NAME = $mpmcBifName_)]/@TYPE"/>
+                       
+               <!--    
+                       <xsl:variable name="bc_X_" select="($lane_X_ +  ceiling($BLKD_BIFC_W div 2) - ceiling($BLKD_BUS_ARROW_W div 2))"/>
+                       <xsl:variable name="bc_X_" select="($lane_X_ +  ceiling($BLKD_BIFC_W div 2) - ceiling($BLKD_BUS_ARROW_W div 2))"/>
+                       <xsl:variable name="bc_X_" select="($lane_X_ + ceiling($BLKD_BIFC_W div 2))"/>
+               -->     
+                       
+                       <xsl:variable name="bc_Y_" select="($BLKD_INNER_Y + $BLKD_MPMC_MOD_H)"/>
+                       <xsl:variable name="bc_X_" >
+                               <xsl:choose>
+                                       <xsl:when test="($bifSide_ = '0')"><xsl:value-of select="($lane_X_ + ceiling($BLKD_BIFC_W div 2))"/></xsl:when>
+                                       <xsl:when test="($bifSide_ = '1')"><xsl:value-of select="($lane_X_ + $BLKD_BIFC_dx)"/></xsl:when>
+                                       <xsl:otherwise>                    <xsl:value-of select="($lane_X_ + ceiling($BLKD_BIFC_W div 2))"/></xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="busColor_">
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="@BUSSTD"/>
+                               </xsl:call-template>    
+                       </xsl:variable>
+               
+                       <!-- Place the MPMC bif label -->
+                       <xsl:variable name="bcl_X_" select="($bc_X_ + ceiling($BLKD_BIFC_W div 2) - ceiling($BLKD_BIF_W div 2))"/>
+                       <xsl:variable name="bcl_Y_" select="($bc_Y_ - $BLKD_BIF_H - $BLKD_MOD_BIF_GAP_H)"/>
+                       <use  x="{$bcl_X_}"   y="{$bcl_Y_}"  xlink:href="#{@BUSSTD}_BifLabel"/>
+                       
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="($bcl_X_ + ceiling($BLKD_BIF_W div 2))"/>
+                               <xsl:with-param name="iY"               select="($bcl_Y_ + ceiling($BLKD_BIF_H div 2) + 3)"/>
+                               <xsl:with-param name="iText"    select="$mpmcBifName_"/>
+                               <xsl:with-param name="iClass"   select="'mpmc_biflabel'"/>
+                       </xsl:call-template>    
+                                 
+                       <!-- Place the MPMC bif -->
+                       <use   x="{$bc_X_}"   y="{$bc_Y_}"  xlink:href="#{@BUSSTD}_busconn_{$mpmcBifType_}"/>
+<!-- 
+-->
+                       
+                       <xsl:variable name="bcArrow_X_" select="($bc_X_ +  ceiling($BLKD_BIFC_W div 2) - ceiling($BLKD_BUS_ARROW_H div 2))"/>
+                       <xsl:variable name="bcArrow_Y_" select="($bc_Y_ + $BLKD_BIFC_H - 3)"/>
+                       
+                       <!-- Place the MPMC Arrow -->
+                       <use   x="{$bcArrow_X_}"   y="{$bcArrow_Y_}"  xlink:href="#{@BUSSTD}_BusArrowNorth"/>
+                       
+                       <!-- 
+                               Place a block to cover the gap btw MPMC and top of Bus Lane Space, or to the correct SBS 
+                               For non SBS connections a vertical block will already have been drawn to the top of the
+                               space.
+                       -->
+                       
+                       <xsl:variable name="sbsDy_">
+                               <xsl:choose>
+                                       <xsl:when test="@IS_SBSCONN"><xsl:value-of select="2 + ($G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $busName_)]/@BUS_INDEX * $BLKD_SBS_LANE_H)"/></xsl:when>
+                                       <xsl:when test="not(@IS_SBSCONN)">0</xsl:when>
+                                       <xsl:otherwise>0></xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="mpmcBusHeight_">
+                               <xsl:choose>
+                                       <xsl:when    test="(@IS_SBSCONN)"><xsl:value-of select="($G_SharedBus_Y - ($bcArrow_Y_ + $BLKD_BUS_ARROW_W + 4) + $sbsDy_)"/></xsl:when>
+                                       <xsl:when test="not(@IS_SBSCONN)">
+                                               <xsl:choose>
+                                                       <xsl:when test="($space_y_ &gt;= ($bcArrow_Y_ + $BLKD_BUS_ARROW_W + 4 + $sbsDy_))">
+                                                               <xsl:value-of select="($space_y_ - ($bcArrow_Y_ + $BLKD_BUS_ARROW_W + 4 + $sbsDy_))"/>
+                                                       </xsl:when>
+                                                       <xsl:when test="($space_y_ &lt; ($bcArrow_Y_ + $BLKD_BUS_ARROW_W + 4 + $sbsDy_))">
+                                                               <xsl:value-of select="(($bcArrow_Y_ + $BLKD_BUS_ARROW_W + 4 + $sbsDy_) - $space_y_)"/>
+                                                       </xsl:when>
+                                               </xsl:choose>
+                                       </xsl:when>
+                                       <xsl:otherwise><xsl:value-of select="$BLKD_BIFC_H"/></xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <rect x="{$bcArrow_X_ + $BLKD_BUS_ARROW_G}" 
+                                 y="{$bcArrow_Y_ + $BLKD_BUS_ARROW_W + 4}"  
+                                 width= "{$BLKD_P2P_BUS_W}" 
+                                 height="{$mpmcBusHeight_}"  
+                             style="stroke:none; fill:{$busColor_}"/>  
+                       
+                       <!-- place the bus label here -->
+
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="($bcArrow_X_ + $BLKD_BUS_ARROW_W + 6)"/>
+                               <xsl:with-param name="iY"               select="($bcArrow_Y_ + ceiling($mpmcBusHeight_ div 2) + 6)"/>
+                               <xsl:with-param name="iText"    select="$busName_"/>
+                               <xsl:with-param name="iClass"   select="'p2pbus_label'"/>
+                       </xsl:call-template>    
+                       
+               </xsl:for-each>                         
+       </xsl:for-each> 
+       
+</xsl:template>
+       
+       
+<!-- ======================================================================= -->
+<!--                         FUNCTION TEMPLATE                               -->
+<!--                                                                                                                                            -->
+<!--  Draw bus lane spaces on the Block Diagram                                                                 -->
+<!-- ======================================================================= -->
+<xsl:template name="Draw_BlkDiagram_BusLaneSpaces">
+       
+       <xsl:variable name="lastStack_" select="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH) - 1"/>
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[@EAST]">
+               <xsl:sort select="@EAST" data-type="number"/>
+                       
+               <xsl:call-template name="Draw_BlkDiagram_BusLaneSpace">
+                       <xsl:with-param name="iStackToEast"  select="@EAST"/>
+               </xsl:call-template>
+       </xsl:for-each> 
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(@WEST = $lastStack_)]">
+               <xsl:call-template name="Draw_BlkDiagram_BusLaneSpace">
+                       <xsl:with-param name="iStackToWest"  select="$lastStack_"/>
+               </xsl:call-template>
+       </xsl:for-each> 
+                       
+</xsl:template>
+       
+<xsl:template name="Draw_BlkDiagram_BusLaneSpace">
+       
+       <xsl:param name="iStackToEast" select="'NONE'"/>
+       <xsl:param name="iStackToWest" select="'NONE'"/>
+       
+       <xsl:variable name="spaceAbvSbs_H_">
+               <xsl:call-template name="F_Calc_Space_AbvSbs_Height">
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>
+       </xsl:variable> 
+       
+       <xsl:variable name="spaceBlwSbs_H_">
+               <xsl:call-template name="F_Calc_Space_BlwSbs_Height">
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>
+       </xsl:variable> 
+       
+       <xsl:variable name="space_line_x_">
+               <xsl:call-template name="F_Calc_Space_X">
+                       <xsl:with-param name="iStackToEast"  select="$iStackToEast"/>
+                       <xsl:with-param name="iStackToWest"  select="$iStackToWest"/>
+               </xsl:call-template>
+       </xsl:variable>
+       
+       <xsl:variable name="space_y_"   select="($G_SharedBus_Y - $spaceAbvSbs_H_ - $BLKD_PROC2SBS_GAP)"/>
+       <xsl:variable name="space_x_"   select="($BLKD_INNER_X + $G_Total_Bridges_W + $space_line_x_)"/>
+       
+       <xsl:variable name="stackToEast_">
+               <xsl:choose>
+                       <xsl:when test="not($iStackToEast = 'NONE')"><xsl:value-of select="$iStackToEast"/></xsl:when>
+                       <xsl:otherwise>NONE</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable> 
+       
+       <xsl:variable name="stackToWest_">
+               <xsl:choose>
+                       <xsl:when test=" not($iStackToWest = 'NONE')"><xsl:value-of select="$iStackToWest"/></xsl:when>
+                       <xsl:when test="(not($iStackToEast = 'NONE') and not($iStackToEast = '0'))"><xsl:value-of select="($iStackToEast - 1)"/></xsl:when>
+                       <xsl:otherwise>NONE</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable> 
+       
+               
+       <xsl:variable name="space_Name_">
+               <xsl:call-template name="F_generate_Space_Name"> 
+                       <xsl:with-param name="iStackToEast" select="$stackToEast_"/>
+                       <xsl:with-param name="iStackToWest" select="$stackToWest_"/>
+               </xsl:call-template>            
+       </xsl:variable> 
+       
+<!--   
+       <xsl:message>StackToEast is <xsl:value-of select="$iStackToEast"/></xsl:message>
+       <xsl:message>StackToWest is <xsl:value-of select="$iStackToWest"/></xsl:message>
+       <xsl:message>SpaceName is <xsl:value-of select="$space_Name_"/></xsl:message>
+-->    
+               
+       <use   x="{$space_x_}"    y="{$space_y_}"  xlink:href="#{$space_Name_}"/> 
+       
+</xsl:template>
+       
+       
+<!-- =========================================================================== -->
+<!--                          FUNCTION TEMPLATE                                  -->
+<!--                                                                                                                                                    -->
+<!--  Draw Bridges on the Block Diagram                                                                                         -->
+<!-- =========================================================================== -->
+<xsl:template name="Draw_BlkDiagram_Bridges">
+       
+       <!-- First save all the bridge indexs in a variable      -->
+       <xsl:variable name="bridgeShapes_">
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE/BUSCONNS[(@ORIENTED = 'WEST')]/BUSCONN"> 
+                       <BRIDGE BUS_INDEX="{@BUS_INDEX}" INSTANCE="{../../@INSTANCE}" POSITION="{(position() -1)}"/>
+                       <BRIDGECONN BUS_INDEX="{@BUS_INDEX}" INSTANCE="{../../@INSTANCE}" ORIENTED="{../@ORIENTED}" POSITION="{(position()  - 1)}" BUSSTD="{@BUSSTD}" TYPE="{@TYPE}"/>
+                       <!-- So both bus conns have same position.... -->
+                       <xsl:if test="../../BUSCONNS[(@ORIENTED = 'EAST')]">
+                               <BRIDGECONN BUS_INDEX="{../../BUSCONNS[(@ORIENTED ='EAST')]/BUSCONN/@BUS_INDEX}" INSTANCE="{../../@INSTANCE}" ORIENTED="EAST" POSITION="{(position()  - 1)}"   BUSSTD="{../../BUSCONNS[(@ORIENTED = 'EAST')]/BUSCONN/@BUSSTD}" TYPE="{../../BUSCONNS[(@ORIENTED = 'EAST')]/BUSCONN/@TYPE}"/>
+                       </xsl:if>
+               </xsl:for-each>
+       </xsl:variable>
+<!--                           
+                       <xsl:message>Found an east connection on <xsl:value-of select="../../@INSTANCE"/></xsl:message>
+-->                            
+       <!-- Now layout the bridge shapes between the shared busses      -->
+       <xsl:for-each select="exsl:node-set($bridgeShapes_)/BRIDGE">
+               <xsl:sort select="@POSITION" data-type="number"/>
+               
+               <xsl:variable name="brdgPosition_"  select="@POSITION"/>
+               <xsl:variable name="brdgInstance_"  select="@INSTANCE"/>
+               
+               <xsl:variable name="min_bus_idx_" select="math:min(exsl:node-set($bridgeShapes_)/BRIDGECONN[(@POSITION = $brdgPosition_)]/@BUS_INDEX)"/>
+<!--           
+               <xsl:variable name="max_bus_idx_" select="math:max(exsl:node-set($bridgeShapes_)/BRIDGECONN[(@POSITION = $brdgPosition_)]/@BUS_INDEX)"/>
+               
+       <xsl:message>Maximum index <xsl:value-of select="$max_bus_idx_"/></xsl:message>
+       <xsl:message>Minimum index <xsl:value-of select="$min_bus_idx_"/></xsl:message>
+-->
+               
+               
+               <xsl:variable name="brdg_X_"  select="($BLKD_INNER_X + $BLKD_BRIDGE_GAP + $BLKD_BUS_LANE_W + (@POSITION * ($BLKD_MOD_W + ($BLKD_BUS_LANE_W * 2))))"/>   
+               <xsl:variable name="brdg_Y_"  select="($G_SharedBus_Y  + ($min_bus_idx_ * $BLKD_SBS_LANE_H) + ceiling($BLKD_SBS_LANE_H div 2) - ceiling($BLKD_MOD_H div 2))"/>
+               
+               <use  x="{$brdg_X_}"  y="{$brdg_Y_}"  xlink:href="#symbol_{$brdgInstance_}"/>   
+       </xsl:for-each> 
+       
+               
+       
+<!--   
+       <xsl:message>Found <xsl:value-of select="count(exsl:node-set($bridgeShapes_)/BRIDGECONN)"/> busconns </xsl:message>
+               <xsl:message>Drawing connection for bridge <xsl:value-of select="$brdgInstance_"/> at <xsl:value-of select="@POSITION"/> </xsl:message>
+-->    
+       
+       <xsl:for-each select="exsl:node-set($bridgeShapes_)/BRIDGECONN">
+               <xsl:sort select="@POSITION" data-type="number"/>
+               
+               <xsl:variable name="brdgInstance_"  select="@INSTANCE"/>
+               <xsl:variable name="brdgPosition_"  select="@POSITION"/>
+               
+               <xsl:variable name="busColor_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="@BUSSTD"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+               
+               <xsl:variable name="min_bus_idx_" select="math:min(exsl:node-set($bridgeShapes_)/BRIDGECONN[(@POSITION = $brdgPosition_)]/@BUS_INDEX)"/>
+               <xsl:variable name="brdg_Y1_"     select="($G_SharedBus_Y  + ($min_bus_idx_ * $BLKD_SBS_LANE_H) + ceiling($BLKD_SBS_LANE_H div 2) - ceiling($BLKD_MOD_H div 2))"/>
+               <xsl:variable name="brdg_X_"      select="($BLKD_INNER_X   + $BLKD_BRIDGE_GAP + $BLKD_BUS_LANE_W + (@POSITION * ($BLKD_MOD_W + ($BLKD_BUS_LANE_W * 2))))"/>     
+               
+               <xsl:variable name="bc_Y_"        select="$brdg_Y1_ + $BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V + ceiling($BLKD_BIF_H div 2) - ceiling($BLKD_BIFC_H div 2)"/>  
+               <xsl:variable name="bc_X_">
+                       <xsl:choose>
+                               <xsl:when test="@ORIENTED='WEST'">
+                                       <xsl:value-of select="($brdg_X_ - $BLKD_BIFC_W)"/>
+                               </xsl:when>
+                               <xsl:when test="@ORIENTED='EAST'">
+                                       <xsl:value-of select="($brdg_X_ + $BLKD_MOD_W)"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+               
+               <!-- Layout the bus conn -->
+               <use   x="{$bc_X_}"   y="{$bc_Y_}"  xlink:href="#{@BUSSTD}_busconn_{@TYPE}"/>
+               
+               <!-- Figure out the positions of the lines -->
+               
+<!--           
+               <xsl:variable name="vert_line_x_"  select="$bc_X_    + ceiling($BLKD_BIFC_W div 2)"/>
+               <xsl:message>vert line x <xsl:value-of select="$vert_line_x_"/></xsl:message>
+               <xsl:message>bus index <xsl:value-of select="@BUS_INDEX"/></xsl:message>
+-->            
+               
+               <xsl:variable name="vert_line_x_">
+                       <xsl:choose>
+                               <xsl:when test="@ORIENTED='WEST'">
+                                       <xsl:value-of select="($bc_X_ - ($BLKD_BUS_LANE_W - $BLKD_BIFC_W))"/>
+                               </xsl:when>
+                               <xsl:when test="@ORIENTED='EAST'">
+                                       <xsl:value-of select="($bc_X_ + ($BLKD_BUS_LANE_W - $BLKD_P2P_BUS_W))"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+               
+               <!-- At least one of the points is going to be the bus -->
+<!--           
+               <xsl:variable name="vert_line_y1_" select="($G_SharedBus_Y  + $BLKD_PROC2SBS_GAP + (@BUS_INDEX * $BLKD_SBS_LANE_H))"/>
+-->            
+               <xsl:variable name="vert_line_y1_" select="($G_SharedBus_Y  + (@BUS_INDEX * $BLKD_SBS_LANE_H))"/>
+               <xsl:variable name="vert_line_y2_" select="$bc_Y_ + ceiling($BLKD_BIFC_H div 2)"/>
+               
+               <xsl:variable name="v_bus_ul_y_">
+                       <xsl:choose>
+                               <xsl:when test="$vert_line_y1_ &gt; $vert_line_y2_">
+                                       <xsl:value-of select="$vert_line_y2_"/>
+                               </xsl:when>
+                               <xsl:when test="$vert_line_y2_ &gt; $vert_line_y1_">
+                                       <xsl:value-of select="$vert_line_y1_"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+<!--           
+               <xsl:variable name="v_bus_ul_x_" select="$vert_line_x_"/>
+-->    
+               <xsl:variable name="v_bus_ul_x_">
+                       <xsl:choose>
+                               <xsl:when test="@ORIENTED='WEST'">
+                                       <xsl:value-of select="($vert_line_x_ + $BLKD_MOD_BIF_GAP_H)"/>
+                               </xsl:when>
+                               <xsl:when test="@ORIENTED='EAST'">
+                                       <xsl:value-of select="($vert_line_x_ - $BLKD_MOD_BIF_GAP_H)"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+               
+               
+               <xsl:variable name="v_bus_width_" select="$BLKD_P2P_BUS_W"/>
+               <xsl:variable name="v_bus_height_">
+                       <xsl:choose>
+                               <xsl:when test="$vert_line_y1_ &gt; $vert_line_y2_">
+                                       <xsl:value-of select="($vert_line_y1_ - $vert_line_y2_)"/>
+                               </xsl:when>
+                               <xsl:when test="$vert_line_y2_ &gt; $vert_line_y1_">
+                                       <xsl:value-of select="($vert_line_y2_ - $vert_line_y1_)"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+               
+               <xsl:variable name="h_bus_ul_x_">
+                       <xsl:choose>
+                               <xsl:when test="@ORIENTED='WEST'">
+                                       <xsl:value-of select="($bc_X_ - ($BLKD_BUS_LANE_W - $BLKD_BIFC_W) + $BLKD_MOD_BIF_GAP_H)"/>
+                               </xsl:when>
+                               <xsl:when test="@ORIENTED='EAST'">
+                                       <xsl:value-of select="($bc_X_ + $BLKD_BIFC_W - ceiling(($BLKD_BIFC_W - $BLKD_BIFC_Wi) div 2))"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+               
+               <xsl:variable name="h_bus_ul_y_" select="$bc_Y_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+               <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+               
+               <xsl:variable name="h_bus_width_">
+                       <xsl:choose>
+                               <xsl:when test="@ORIENTED='WEST'">
+                                       <xsl:value-of select="(($bc_X_ + ceiling(($BLKD_BIFC_W - $BLKD_BIFC_Wi) div 2)) - $h_bus_ul_x_ + 1)"/>
+                               </xsl:when>
+                               <xsl:when test="@ORIENTED='EAST'">
+                                       <xsl:value-of select="(($v_bus_ul_x_ + $BLKD_P2P_BUS_W) - $h_bus_ul_x_)"/>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:variable> 
+               
+               
+<!--           
+               <xsl:message>vert line y1 <xsl:value-of select="$vert_line_y1_"/></xsl:message>
+-->            
+               
+               <rect x="{$v_bus_ul_x_}" 
+                         y="{$v_bus_ul_y_ + 2}"  
+                         width= "{$v_bus_width_}" 
+                         height="{$v_bus_height_}" 
+                         style="stroke:none; fill:{$busColor_}"/>
+               
+               <rect x="{$h_bus_ul_x_}" 
+                         y="{$h_bus_ul_y_}"  
+                         width= "{$h_bus_width_}" 
+                         height="{$h_bus_height_}" 
+                         style="stroke:none; fill:{$busColor_}"/>
+               
+       </xsl:for-each> 
+       
+</xsl:template>
+       
+       
+       
+       
+<!-- =========================================================================== -->
+<!--                          FUNCTION TEMPLATE                                  -->
+<!--                                                                                                                                                    -->
+<!-- Draw the IP Bucket                                                                                                         -->
+<!-- =========================================================================== -->
+<xsl:template name="Draw_BlkDiagram_IPBucket">
+       
+       <!-- Draw IP Bucket --> 
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/IPBUCKET">
+       
+               <xsl:variable name="bucket_w_"  select="(($BLKD_MOD_BKTLANE_W * 2) + (($BLKD_MOD_W * @MODS_W) + ($BLKD_MOD_BUCKET_G * (@MODS_W - 1))))"/>
+               <xsl:variable name="bucket_h_"  select="(($BLKD_MOD_BKTLANE_H * 2) + (($BLKD_MOD_H * @MODS_H) + ($BLKD_MOD_BUCKET_G * (@MODS_H - 1))))"/>
+               
+               <xsl:variable name="bucket_x_"  select="(ceiling($G_Total_Blkd_W div 2) - ceiling($bucket_w_ div 2))"/>
+               <xsl:variable name="bucket_y_"  select="($G_SharedBus_Y + $G_Total_SharedBus_H + $G_Max_Stack_BlwSbs_H + $BLKD_SBS2IP_GAP)"/>
+               
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="$bucket_x_"/>
+                       <xsl:with-param name="iY"               select="($bucket_y_ - 4)"/>
+                       <xsl:with-param name="iText"    select="'IP'"/>
+                       <xsl:with-param name="iClass"   select="'bkt_label'"/>
+               </xsl:call-template>
+               
+               <use   x="{$bucket_x_}"   y="{$bucket_y_}"  xlink:href="#ipbucket"/>
+               
+       </xsl:for-each>
+       
+</xsl:template>
+       
+       
+<xsl:template name="Draw_BlkDiagram_Key">
+       <use   x="{ceiling($G_Total_Blkd_W div 2) - ceiling($BLKD_KEY_W div 2)}"   y="0"  xlink:href="#BlkDiagram_Key"/> 
+</xsl:template>
+
+<xsl:template name="Define_BlkDiagram_Key">
+       
+       <xsl:variable name="key_col_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="'KEY'"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="key_lt_col_">
+               <xsl:call-template name="F_BusStd2RGB_LT">
+                       <xsl:with-param name="iBusStd" select="'KEY'"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <g id="KEY_IntrCntrl">
+               <rect  
+                       x="0"
+                       y="0"
+                       rx="3"
+                       ry="3"
+                       width= "{ceiling($BLKD_INTR_W div 2)}" 
+                       height="{$BLKD_INTR_H}" style="fill:{$key_lt_col_}; stroke:none; stroke-width:1"/> 
+                       
+               <line x1="0" 
+                         y1="{ceiling($BLKD_INTR_H div 4)}"
+                         x2="{ceiling($BLKD_INTR_W div 2)}" 
+                         y2="{ceiling($BLKD_INTR_H div 4)}" 
+                         style="stroke:{$COL_BLACK};stroke-width:2"/>
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="1.5"/>
+                       <xsl:with-param name="iY"               select="(7 + ceiling($BLKD_INTR_H div 2))"/>
+                       <xsl:with-param name="iText"    select="'x'"/>
+                       <xsl:with-param name="iClass"   select="'intr_symbol'"/>
+               </xsl:call-template>
+                       
+       </g>
+               
+       <g id="KEY_IntrdProc">
+               <rect  
+                       x="0"
+                       y="0"
+                       rx="3"
+                       ry="3"
+                       width= "{ceiling($BLKD_INTR_W div 2)}" 
+                       height="{$BLKD_INTR_H}" style="fill:{$key_lt_col_}; stroke:none; stroke-width:1"/> 
+                       
+               <line x1="0" 
+                         y1="{ceiling($BLKD_INTR_H div 4) - 2}"
+                         x2="{ceiling($BLKD_INTR_W div 2)}" 
+                         y2="{ceiling($BLKD_INTR_H div 4) - 2}" 
+                         style="stroke:{$COL_BLACK};stroke-width:1"/>
+                         
+               <line x1="0" 
+                         y1="{ceiling($BLKD_INTR_H div 4) + 2}"
+                         x2="{ceiling($BLKD_INTR_W div 2)}" 
+                         y2="{ceiling($BLKD_INTR_H div 4) + 2}" 
+                         style="stroke:{$COL_BLACK};stroke-width:1"/>
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="1.5"/>
+                       <xsl:with-param name="iY"               select="(7 + ceiling($BLKD_INTR_H div 2))"/>
+                       <xsl:with-param name="iText"    select="'x'"/>
+                       <xsl:with-param name="iClass"   select="'intr_symbol'"/>
+               </xsl:call-template>
+       </g>
+       
+       <g id="KEY_IntrSrc">
+               <rect  
+                       x="0"
+                       y="0"
+                       rx="3"
+                       ry="3"
+                       width= "{$BLKD_INTR_W}" 
+                       height="{ceiling($BLKD_INTR_H div 2)}" style="fill:{$key_lt_col_}; stroke:none; stroke-width:1"/> 
+                       
+               <line x1="{ceiling($BLKD_INTR_W div 2)}" 
+                         y1="0"
+                         x2="{ceiling($BLKD_INTR_W div 2)}" 
+                         y2="{ceiling($BLKD_INTR_H div 2)}" 
+                         style="stroke:{$COL_BLACK};stroke-width:1"/>
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'2'"/>
+                       <xsl:with-param name="iY"               select="'7'"/>
+                       <xsl:with-param name="iText"    select="'y'"/>
+                       <xsl:with-param name="iClass"   select="'intr_symbol'"/>
+               </xsl:call-template>
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(2 + ceiling($BLKD_INTR_W div 2))"/>
+                       <xsl:with-param name="iY"               select="'7'"/>
+                       <xsl:with-param name="iText"    select="'x'"/>
+                       <xsl:with-param name="iClass"   select="'intr_symbol'"/>
+               </xsl:call-template>
+       </g>
+       
+       
+       <g id="BlkDiagram_Key">
+               <rect 
+              x="0"
+                         y="0"
+                     width= "{$BLKD_KEY_W}"
+                     height="{$BLKD_KEY_H}"
+                         style="fill:{$COL_BG}; stroke:none;"/>                
+                         
+               <rect x="0"
+                         y="0"
+                     width= "{$BLKD_KEY_W}"
+                     height="16"
+                         style="fill:{$COL_BG}; stroke:none;"/>                
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="ceiling($BLKD_KEY_W div 2)"/>
+                       <xsl:with-param name="iY"               select="'14'"/>
+                       <xsl:with-param name="iText"    select="'KEY'"/>
+                       <xsl:with-param name="iClass"   select="'key_title'"/>
+               </xsl:call-template>
+                         
+               <rect x="0"
+                         y="16"
+                     width= "{$BLKD_KEY_W}"
+                     height="16"
+                         style="fill:{$COL_BG_LT}; stroke:none;"/>             
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="ceiling($BLKD_KEY_W div 2)"/>
+                       <xsl:with-param name="iY"               select="'30'"/>
+                       <xsl:with-param name="iText"    select="'SYMBOLS'"/>
+                       <xsl:with-param name="iClass"   select="'key_header'"/>
+               </xsl:call-template>
+                         
+               <use  x="32"  y="47"  xlink:href="#KEY_BifLabel" transform="scale(0.75)"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'12'"/>
+                       <xsl:with-param name="iY"               select="'60'"/>
+                       <xsl:with-param name="iText"    select="'bus interface'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                         
+               <use   x="20"  y="68"  xlink:href="#KEY_SharedBus"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'12'"/>
+                       <xsl:with-param name="iY"               select="'89'"/>
+                       <xsl:with-param name="iText"    select="'shared bus'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                         
+               
+<!-- 
+       ==================================                                      
+                       BUS CONNECTIONS
+       ==================================                                      
+-->            
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'110'"/>
+                       <xsl:with-param name="iY"               select="'47'"/>
+                       <xsl:with-param name="iText"    select="'Bus connections'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_ul'"/>
+               </xsl:call-template>
+                         
+               <use   x="110"  y="58"  xlink:href="#KEY_busconn_MASTER"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'140'"/>
+                       <xsl:with-param name="iY"               select="'72'"/>
+                       <xsl:with-param name="iText"    select="'master or initiator'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                         
+               <use   x="110"  y="{58 + (($BLKD_BIFC_H  + 4) * 1)}"  xlink:href="#KEY_busconn_SLAVE"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'140'"/>
+                       <xsl:with-param name="iY"               select="(72 + (($BLKD_BIFC_H + 4) * 1))"/>
+                       <xsl:with-param name="iText"    select="'slave or target'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                         
+               <use   x="110"  y="{58 + (($BLKD_BIFC_H  + 4) * 2)}"  xlink:href="#KEY_busconn_MASTER_SLAVE"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'140'"/>
+                       <xsl:with-param name="iY"               select="(72 + (($BLKD_BIFC_H + 4) * 2))"/>
+                       <xsl:with-param name="iText"    select="'master slave'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                         
+                         
+               <use   x="110"  y="{58 + (($BLKD_BIFC_H  + 4) * 3)}"  xlink:href="#KEY_busconn_MONITOR"/>
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'140'"/>
+                       <xsl:with-param name="iY"               select="(72 + (($BLKD_BIFC_H + 4) * 3))"/>
+                       <xsl:with-param name="iText"    select="'monitor'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                         
+<!-- 
+       ==================================                                      
+                       EXTERNAL PORTS
+       ==================================                                      
+-->            
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'258'"/>
+                       <xsl:with-param name="iY"               select="'47'"/>
+                       <xsl:with-param name="iText"    select="'External Ports'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_ul'"/>
+               </xsl:call-template>                      
+                         
+               <use   x="258"  y="58"  xlink:href="#KEY_INPort"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'288'"/>
+                       <xsl:with-param name="iY"               select="'72'"/>
+                       <xsl:with-param name="iText"    select="'input'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                         
+               <use   x="258"  y="{58 + ($BLKD_IOP_H * 1) + 4}"  xlink:href="#KEY_OUTPort"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'288'"/>
+                       <xsl:with-param name="iY"               select="(72 + ($BLKD_IOP_H * 1) + 4)"/>
+                       <xsl:with-param name="iText"    select="'output'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                       
+               <use   x="258"  y="{58 + ($BLKD_IOP_H * 2) + 8}"  xlink:href="#KEY_INOUTPort"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'288'"/>
+                       <xsl:with-param name="iY"               select="(72 + ($BLKD_IOP_H * 2) + 8)"/>
+                       <xsl:with-param name="iText"    select="'inout'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+               
+<!-- 
+       ==================================                                      
+                       INTERRUPTS 
+       ==================================                                      
+-->            
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'380'"/>
+                       <xsl:with-param name="iY"               select="'47'"/>
+                       <xsl:with-param name="iText"    select="'Interrupts'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_ul'"/>
+               </xsl:call-template>                      
+                         
+               <use   x="380"  y="58"  xlink:href="#KEY_IntrCntrl"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'396'"/>
+                       <xsl:with-param name="iY"               select="'64'"/>
+                       <xsl:with-param name="iText"    select="'Interrupt'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_small'"/>
+               </xsl:call-template>                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'396'"/>
+                       <xsl:with-param name="iY"               select="'74'"/>
+                       <xsl:with-param name="iText"    select="'Controller'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_small'"/>
+               </xsl:call-template>                      
+                         
+               
+               <use   x="380"  y="88"  xlink:href="#KEY_IntrdProc"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'396'"/>
+                       <xsl:with-param name="iY"               select="'94'"/>
+                       <xsl:with-param name="iText"    select="'Interrupt'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'396'"/>
+                       <xsl:with-param name="iY"               select="'104'"/>
+                       <xsl:with-param name="iText"    select="'Target'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_small'"/>
+               </xsl:call-template>                      
+               
+               
+               <use   x="380"  y="118"  xlink:href="#KEY_IntrSrc"/> 
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'400'"/>
+                       <xsl:with-param name="iY"               select="'124'"/>
+                       <xsl:with-param name="iText"    select="'Interrupt'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_small'"/>
+               </xsl:call-template>                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'400'"/>
+                       <xsl:with-param name="iY"               select="'134'"/>
+                       <xsl:with-param name="iText"    select="'Source'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_small'"/>
+               </xsl:call-template>                      
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'360'"/>
+                       <xsl:with-param name="iY"               select="'146'"/>
+                       <xsl:with-param name="iText"    select="'X = Controller ID'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_small'"/>
+               </xsl:call-template>                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'360'"/>
+                       <xsl:with-param name="iY"               select="'156'"/>
+                       <xsl:with-param name="iText"    select="'Y = Interrupt Priority'"/>
+                       <xsl:with-param name="iClass"   select="'key_label_small'"/>
+               </xsl:call-template>                      
+               
+<!-- 
+       ==================================                                      
+                       COLORS 
+       ==================================                                      
+-->            
+               <rect x="0"
+                         y="160"
+                     width= "{$BLKD_KEY_W}"
+                     height="16"
+                         style="fill:{$COL_BG_LT}; stroke:none;"/>             
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="ceiling($BLKD_KEY_W div 2)"/>
+                       <xsl:with-param name="iY"               select="'172'"/>
+                       <xsl:with-param name="iText"    select="'COLORS'"/>
+                       <xsl:with-param name="iClass"   select="'key_header'"/>
+               </xsl:call-template>
+               
+<!-- 
+               <text class="keylblul"
+              x="110"
+                         y="190">Bus Standards</text>            
+-->                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="'110'"/>
+                       <xsl:with-param name="iY"               select="'190'"/>
+                       <xsl:with-param name="iText"    select="'Bus Standard'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+               <xsl:variable name="dcr_col_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'DCR'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+               
+               <rect x="{12 + ((12 + $BLKD_BIFC_W + 36) * 0)}"
+                         y="200"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$dcr_col_}; stroke:none;"/>              
+                         
+<!-- 
+               <text class="keylabel"
+              x="{12  + $BLKD_BIFC_W + 4}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 1)}">DCR</text>
+-->                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  + $BLKD_BIFC_W + 4)"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 1))"/>
+                       <xsl:with-param name="iText"    select="'DCR'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+                         
+               <xsl:variable name="fcb_col_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'FCB'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+               
+               <rect x="{12  + ((12 + $BLKD_BIFC_W + 36) * 0)}"
+                         y="{200 + (($BLKD_BIFC_H + 4) * 1)}"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$fcb_col_}; stroke:none;"/>              
+                         
+<!-- 
+               <text class="keylabel"
+              x="{12  + $BLKD_BIFC_W + 4}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 2)}">FCB</text>                  
+-->                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  + $BLKD_BIFC_W + 4)"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 2))"/>
+                       <xsl:with-param name="iText"    select="'FCB'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+               <xsl:variable name="fsl_col_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'FSL'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+                         
+               <rect x="{12 + ((12 + $BLKD_BIFC_W + 36) * 1)}"
+                         y="200"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$fsl_col_}; stroke:none;"/>              
+<!-- 
+               <text class="keylabel"
+              x="{12  +  ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 1)}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 1)}">FSL</text>                  
+-->
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  +  ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 1))"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 1))"/>
+                       <xsl:with-param name="iText"    select="'FSL'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+               <xsl:variable name="col_lmb_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'LMB'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+                         
+               <rect x="{12 + ((12 + $BLKD_BIFC_W + 36) * 1)}"
+                         y="{200 + (($BLKD_BIFC_H + 4) * 1)}"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$col_lmb_}; stroke:none;"/>              
+<!--
+               <text class="keylabel"
+              x="{12  + ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 1)}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 2)}">LMB</text>                  
+-->                      
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  + ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 1))"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 2))"/>
+                       <xsl:with-param name="iText"    select="'LMB'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+               <xsl:variable name="opb_col_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'OPB'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+                         
+               <rect 
+              x="{12 + ((12 + $BLKD_BIFC_W + 36) * 2)}"
+                         y="200"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$opb_col_}; stroke:none;"/>              
+<!-- 
+               <text class="keylabel"
+              x="{12  +  ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 2)}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 1)}">OPB</text>
+-->                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  +  ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 2))"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 1))"/>
+                       <xsl:with-param name="iText"    select="'OPB'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+               <xsl:variable name="plb_col_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'PLB'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+               <rect 
+              x="{12 + ((12 + $BLKD_BIFC_W + 36) * 2)}"
+                         y="{200 + (($BLKD_BIFC_H + 4) * 1)}"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$plb_col_}; stroke:none;"/>              
+<!--
+               <text class="keylabel"
+              x="{12  +  ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 2)}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 2)}">PLB</text>                  
+-->                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  +  ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 2))"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 2))"/>
+                       <xsl:with-param name="iText"    select="'PLB'"/>
+                       <xsl:with-param name="iClass"   select="'key_header'"/>
+               </xsl:call-template>
+               
+                        
+               <xsl:variable name="ocm_col_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'OCM'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+                         
+               <rect 
+              x="{12 + ((12 + $BLKD_BIFC_W + 36) * 3)}"
+                         y="200"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$ocm_col_}; stroke:none;"/>              
+<!--
+               <text class="keylabel"
+              x="{12  + ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 3)}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 1)}">SOCM</text>
+ -->                     
+               
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  + ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 3))"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 1))"/>
+                       <xsl:with-param name="iText"    select="'SOCM'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+               
+               <xsl:variable name="xil_p2p_col_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'XIL'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+                         
+               <rect 
+              x="{12 + ((12 + $BLKD_BIFC_W + 36) * 3)}"
+                         y="{200 + (($BLKD_BIFC_H + 4) * 1)}"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$xil_p2p_col_}; stroke:none;"/>          
+<!--
+               <text class="keylabel"
+              x="{12  + ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 3)}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 2)}">Xilinx P2P</text>
+-->                      
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  + ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 3))"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 2))"/>
+                       <xsl:with-param name="iText"    select="'Xilinx P2P'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+                         
+               <xsl:variable name="user_p2p_col_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="'USER'"/>
+                       </xsl:call-template>    
+               </xsl:variable>
+                         
+               <rect x="{12 + ((12 + $BLKD_BIFC_W + 36) * 4)}"
+                         y="200"
+                     width= "{$BLKD_BIFC_H}"
+                     height="{$BLKD_BIFC_W}"
+                         style="fill:{$user_p2p_col_}; stroke:none;"/>         
+<!-- 
+               <text class="keylabel"
+              x="{12  + ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 4)}"
+                         y="{200 + (($BLKD_BIF_H + 4) * 1)}">USER P2P</text>             
+-->                      
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="(12  + ($BLKD_BIFC_W + 4) + ((12 + $BLKD_BIFC_W + 36) * 4))"/>
+                       <xsl:with-param name="iY"               select="(200 + (($BLKD_BIF_H + 4) * 1))"/>
+                       <xsl:with-param name="iText"    select="'USER P2P'"/>
+                       <xsl:with-param name="iClass"   select="'key_label'"/>
+               </xsl:call-template>
+               
+</g>   
+</xsl:template>
+
+<xsl:template name="Define_BlkDiagram_Specs">
+
+       <xsl:param name="iArch"       select="'NA'"/>
+       <xsl:param name="iPart"       select="'NA'"/>
+       <xsl:param name="iTimeStamp"  select="'NA'"/>
+       <xsl:param name="iEdkVersion" select="'NA'"/>
+                       
+       <g id="BlkDiagram_Specs">
+               <rect 
+              x="0"
+                         y="0"
+                     width= "{$BLKD_SPECS_W}"
+                     height="{$BLKD_SPECS_H}"
+                         style="fill:{$COL_BG}; stroke:none;"/>                
+                         
+               <rect 
+              x="0"
+                         y="0"
+                     width= "{$BLKD_SPECS_W}"
+                     height="16"
+                         style="fill:{$COL_BG}; stroke:none;"/>                
+<!-- 
+       ==================================                                      
+                                       SPEC HEADER
+       ==================================                                      
+-->            
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'key_title'"/>
+                       <xsl:with-param name="iX"               select="ceiling($BLKD_SPECS_W div 2)"/>
+                       <xsl:with-param name="iY"               select="'14'"/>
+                       <xsl:with-param name="iText"    select="'SPECS'"/>
+               </xsl:call-template>                      
+<!-- 
+               <text class="keytitle"
+              x="{ceiling($BLKD_SPECS_W div 2)} "
+                         y="14">SPECS</text>
+-->                      
+       
+<!-- 
+       ==================================                                      
+                       EDK VERSION
+       ==================================                                      
+-->            
+               <rect x="0"
+                         y="20"
+                     width= "{$BLKD_SPECS_W}"
+                     height="16"
+                         style="fill:{$COL_BG_LT}; stroke:none;"/>             
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'blkd_spec_name'"/>
+                       <xsl:with-param name="iX"               select="'4'"/>
+                       <xsl:with-param name="iY"               select="'32'"/>
+                       <xsl:with-param name="iText"    select="'EDK VERSION'"/>
+               </xsl:call-template>
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'blkd_spec_value_mid'"/>
+                       <xsl:with-param name="iX"               select="($BLKD_SPECS_W + 1) - ceiling($BLKD_SPECS_W div 5)"/>
+                       <xsl:with-param name="iY"               select="'32'"/>
+                       <xsl:with-param name="iText"    select="$iEdkVersion"/>
+               </xsl:call-template>                      
+               
+<!-- 
+       ==================================                                      
+                                       ARCH
+       ==================================                                      
+-->            
+               <rect x="0"
+                         y="40"
+                     width= "{$BLKD_SPECS_W}"
+                     height="16"
+                         style="fill:{$COL_BG_LT}; stroke:none;"/>             
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'blkd_spec_name'"/>
+                       <xsl:with-param name="iX"               select="'4'"/>
+                       <xsl:with-param name="iY"               select="'52'"/>
+                       <xsl:with-param name="iText"    select="'ARCH'"/>
+               </xsl:call-template>                      
+               
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'blkd_spec_value_mid'"/>
+                       <xsl:with-param name="iX"               select="($BLKD_SPECS_W + 1) - ceiling($BLKD_SPECS_W div 5)"/>
+                       <xsl:with-param name="iY"               select="'52'"/>
+                       <xsl:with-param name="iText"    select="$iArch"/>
+               </xsl:call-template>                      
+               
+<!--           
+               <text class="specsvalue"
+              x="{($BLKD_SPECS_W + 1) - (string-length($blkd_arch) * 6.5)}"
+                         y="52"><xsl:value-of select="$blkd_arch"/></text>
+               <text class="specsvaluemid"
+              x="{($BLKD_SPECS_W + 1) - ceiling($BLKD_SPECS_W div 5)}"
+                         y="52"><xsl:value-of select="$iArch"/></text>
+-->            
+
+<!-- 
+       ==================================                                      
+                                       PART
+       ==================================                                      
+-->            
+               <rect x="0"
+                         y="60"
+                     width= "{$BLKD_SPECS_W}"
+                     height="16"
+                         style="fill:{$COL_BG_LT}; stroke:none;"/>             
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'blkd_spec_name'"/>
+                       <xsl:with-param name="iX"               select="'4'"/>
+                       <xsl:with-param name="iY"               select="'72'"/>
+                       <xsl:with-param name="iText"    select="'PART'"/>
+               </xsl:call-template>                      
+                         
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'blkd_spec_value_mid'"/>
+                       <xsl:with-param name="iX"               select="($BLKD_SPECS_W + 1) - ceiling($BLKD_SPECS_W div 5)"/>
+                       <xsl:with-param name="iY"               select="'72'"/>
+                       <xsl:with-param name="iText"    select="$iPart"/>
+               </xsl:call-template>                      
+               
+<!-- 
+       ==================================                                      
+                                       TIMESTAMP
+       ==================================                                      
+-->            
+                         
+               <rect x="0"
+                         y="80"
+                     width= "{$BLKD_SPECS_W}"
+                     height="16"
+                         style="fill:{$COL_BG_LT}; stroke:none;"/>             
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'blkd_spec_name'"/>
+                       <xsl:with-param name="iX"               select="'4'"/>
+                       <xsl:with-param name="iY"               select="'92'"/>
+                       <xsl:with-param name="iText"    select="'GENERATED'"/>
+               </xsl:call-template>                      
+               
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iClass"   select="'blkd_spec_value_mid'"/>
+                       <xsl:with-param name="iX"               select="($BLKD_SPECS_W  + 1) - (string-length($iTimeStamp) * 3.5)"/>
+                       <xsl:with-param name="iY"               select="'92'"/>
+                       <xsl:with-param name="iText"    select="$iTimeStamp"/>
+               </xsl:call-template>                      
+       </g>    
+</xsl:template>
+       
+       
+</xsl:stylesheet>
+
+<!-- =========================================================================== -->
+<!--                          FUNCTION TEMPLATE                                  -->
+<!--                                                                                                                                                    -->
+<!-- =========================================================================== -->
\ No newline at end of file
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Peripherals.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Peripherals.xsl
new file mode 100644 (file)
index 0000000..b676156
--- /dev/null
@@ -0,0 +1,1582 @@
+<?xml version="1.0" standalone="no"?>
+                       
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+                               
+<!--   
+<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
+              doctype-public="-//W3C//DTD SVG 1.0//EN"
+                  doctype-system="http://www.w3.org/TR/SVG/DTD/svg10.dtd"/>
+                       
+<xsl:variable name="INF_H"   select="$BIF_H       + ceiling($BIF_H div 2)"/>                           
+<xsl:variable name="INF_W"   select="($BIF_W * 2) + $BIF_GAP"/>
+-->    
+
+
+<!-- ======================= DEF FUNCTIONS =================================== -->
+<xsl:template name="Define_IPBucket">
+                       
+       <xsl:for-each select="BLKDIAGRAM/IPBUCKET">
+               
+               <xsl:for-each select="MODULE">  
+                       <xsl:sort data-type="text" select="@MODTYPE" order="ascending"/>
+                       
+                       <xsl:call-template name="Define_IPBucketModule">
+                               <xsl:with-param name="iIPType"   select="@MODTYPE"/>
+                               <xsl:with-param name="iIPName"   select="@INSTANCE"/>
+                       </xsl:call-template>    
+                       
+               </xsl:for-each>         
+               
+               <g id="ipbucket">
+                       <xsl:variable name="bucket_w_"  select="(($BLKD_MOD_BKTLANE_W * 2) + (($BLKD_MOD_W * @MODS_W) + ($BLKD_MOD_BUCKET_G * (@MODS_W - 1))))"/>
+                       <xsl:variable name="bucket_h_"  select="(($BLKD_MOD_BKTLANE_H * 2) + (($BLKD_MOD_H * @MODS_H) + ($BLKD_MOD_BUCKET_G * (@MODS_H - 1))))"/>
+               
+               <rect x="0" 
+                     y="0"  
+                         rx="4"
+                         ry="4"
+                     width= "{$bucket_w_}" 
+                     height="{$bucket_h_}" 
+                     style="stroke-width:2; stroke:{$COL_BLACK}; fill:{$COL_IORING_LT}"/>
+                                
+                       <xsl:variable name="bkt_mods_w_" select="@MODS_W"/>
+                       
+                       <xsl:for-each select="MODULE">  
+                               
+                               <xsl:variable name="clm_"   select="((     position() - 1)  mod $bkt_mods_w_)"/>
+                               <xsl:variable name="row_"   select="floor((position() - 1)  div $bkt_mods_w_)"/>
+                               
+                               <xsl:variable name="bk_x_"  select="$BLKD_MOD_BKTLANE_W + ($clm_ * ($BLKD_MOD_W + $BLKD_MOD_BUCKET_G))"/>
+                               <xsl:variable name="bk_y_"  select="$BLKD_MOD_BKTLANE_H + ($row_ * ($BLKD_MOD_H + $BLKD_MOD_BUCKET_G))"/>
+                               
+                                        
+                               <use x="{$bk_x_}"   
+                                        y="{$bk_y_}" 
+                                        xlink:href="#ipbktmodule_{@INSTANCE}"/>                                  
+                                        
+                                        
+                       </xsl:for-each>          
+                                        
+       </g>            
+       
+</xsl:for-each>        
+</xsl:template>        
+
+
+<xsl:template name="Define_UNKBucket">
+                       
+       <xsl:for-each select="BLKDIAGRAM/UNKBUCKET">
+       
+               <g id="unkbucket">
+                       <xsl:variable name="bucket_w_"  select="(($BLKD_MOD_BKTLANE_W * 2) + (($BLKD_MOD_W * @MODS_W) + ($BLKD_MOD_BUCKET_G * (@MODS_W - 1))))"/>
+                       <xsl:variable name="bucket_h_"  select="(($BLKD_MOD_BKTLANE_H * 2) + (($BLKD_MOD_H * @MODS_H) + ($BLKD_MOD_BUCKET_G * (@MODS_H - 1))))"/>
+               
+               <rect x="0" 
+                     y="0"  
+                         rx="4"
+                         ry="4"
+                     width= "{$bucket_w_}" 
+                     height="{$bucket_h_}" 
+                     style="stroke-width:2; stroke:{$COL_BLACK}; fill:{$COL_BG_UNK}"/>
+                                
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@IS_PROMOTED and @IS_PENALIZED)]">   
+                       
+                       <xsl:variable name="bkt_mods_w_" select="@MODS_W"/>
+                               
+                               <xsl:variable name="mod_row_"    select="@BKTROW"/>     
+                               <xsl:variable name="row_mods_h_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/UNKBUCKET/BKTROW[(@INDEX = $mod_row_)]/@MODS_H"/> 
+
+<!--                           
+                               <xsl:message>The row module is <xsl:value-of select="@BKTROW"/></xsl:message>
+                               <xsl:message>The height of the module is <xsl:value-of select="$row_mods_h_"/></xsl:message>
+-->                            
+                               
+                               <xsl:variable name="bk_x_"  select="$BLKD_MOD_BKTLANE_W + (@MODS_X * ($BLKD_MOD_W + $BLKD_MOD_BUCKET_G))"/>
+                               <xsl:variable name="bk_y_"  select="$BLKD_MOD_BKTLANE_H + ($row_mods_h_ * ($BLKD_MOD_H + $BLKD_MOD_BUCKET_G))"/>
+                               
+                               <use x="{$bk_x_}"   
+                                        y="{$bk_y_}" 
+                                        xlink:href="#symbol_unkmodule_{@BKTROW}_{@MODS_X}"/>                             
+<!--                            
+-->                             
+
+                       </xsl:for-each>          
+
+                       
+               </g>            
+               
+       </xsl:for-each> 
+</xsl:template>        
+
+               
+<xsl:template name="Define_SBSBuckets">
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET">       
+               
+               <xsl:variable name="busStd_"    select="@BUSSTD"/>
+               <xsl:variable name="busName_"   select="@BUSNAME"/>
+<!--           
+               <xsl:variable name="busStd_"    select="BUSCONNS/BUSCONN/@BUSSTD"/>
+-->    
+               <xsl:variable name="bus_conn_w_" select="BUSCONNS/@BUSLANE_W"/>
+               
+               
+               <xsl:variable name="bktColor_">
+                       <xsl:call-template name="F_BusStd2RGB">
+                               <xsl:with-param name="iBusStd" select="$busStd_"/>
+                       </xsl:call-template>
+               </xsl:variable>
+               
+               <xsl:variable name="bktBgColor_">
+                       <xsl:call-template name="F_BusStd2RGB_LT">
+                               <xsl:with-param name="iBusStd" select="$busStd_"/>
+                       </xsl:call-template>
+               </xsl:variable>
+               
+               
+               <xsl:for-each select="MODULE">  
+                       
+                       <xsl:sort data-type="text" select="@MODTYPE" order="ascending"/>
+               
+                       <xsl:call-template name="Define_SBSBucketModule">
+                               <xsl:with-param name="iBifType"  select="$busStd_"/>
+                               <xsl:with-param name="iIPType"   select="@MODTYPE"/>
+                               <xsl:with-param name="iIPName"   select="@INSTANCE"/>
+                       </xsl:call-template>    
+                       
+               </xsl:for-each>         
+               
+               <g id="sbsbucket_{$busName_}">
+                       <xsl:variable name="bucket_w_"  select="(($BLKD_MOD_BKTLANE_W * 2) + (($BLKD_MOD_W * @MODS_W) + ($BLKD_MOD_BUCKET_G * (@MODS_W - 1))))"/>
+                       <xsl:variable name="bucket_h_"  select="(($BLKD_MOD_BKTLANE_H * 2) + ((($BLKD_MOD_H + $BLKD_BIFC_H) * @MODS_H) + ($BLKD_MOD_BUCKET_G * (@MODS_H - 1))))"/>
+                       
+                       <rect x="0"
+                             y="0"  
+                                 rx="4"
+                                 ry="4"
+                             width= "{$bucket_w_}" 
+                             height="{$bucket_h_}" 
+                             style="stroke-width:2; stroke:{$bktColor_}; fill:{$bktBgColor_}"/>
+                                
+                       <xsl:variable name="bkt_mods_w_" select="@MODS_W"/>
+                       
+                       <xsl:for-each select="MODULE">  
+                               
+                               <xsl:sort data-type="text" select="@MODTYPE" order="ascending"/>
+                               
+                               <xsl:variable name="clm_"   select="((     position() - 1)  mod $bkt_mods_w_)"/>
+                               <xsl:variable name="row_"   select="floor((position() - 1)  div $bkt_mods_w_)"/>
+                               
+                               <xsl:variable name="bk_x_"  select="$BLKD_MOD_BKTLANE_W + ($clm_ * ($BLKD_MOD_W + $BLKD_MOD_BUCKET_G))"/>
+                               <xsl:variable name="bk_y_"  select="$BLKD_MOD_BKTLANE_H + ($row_ * ($BLKD_MOD_H + $BLKD_BIFC_H + $BLKD_MOD_BUCKET_G))"/>
+                                        
+                               <!-- Lay out the module in the bucket -->
+                                <use x="{$bk_x_}" y="{$bk_y_}"  xlink:href="#sbsbktmodule_{@INSTANCE}"/>                 
+                               
+                               <!-- Add its connection to the piece shared bus -->
+                               <xsl:variable name="h_bus_y_" select="$bk_y_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                               
+<!--                           
+                               <xsl:variable name="h_bus_x_" select="$bk_x_ - ($BLKD_MOD_BUCKET_G + ceiling($BLKD_MOD_W div 2))"/>
+-->    
+                               <xsl:variable name="h_bus_x_">
+                                       <xsl:choose>
+                                               <xsl:when test="($clm_ = '0')">0</xsl:when>
+                                       
+                                               <xsl:when test="not($clm_ = '0')">
+                                                       <xsl:value-of select="$bk_x_ - ($BLKD_MOD_BUCKET_G + ceiling($BLKD_MOD_W div 2))"/>
+                                               </xsl:when>
+                                       </xsl:choose>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:variable name="h_bus_y_" select="$bk_y_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W)"/>
+                               <xsl:message>h bus x <xsl:value-of select="$h_bus_x_"/></xsl:message>
+                               <xsl:message>h bus y <xsl:value-of select="$h_bus_y_"/></xsl:message>
+-->    
+                               <xsl:variable name="h_bus_height_" select="$BLKD_P2P_BUS_W"/>
+                               <xsl:variable name="h_bus_width_"  select="($bk_x_ - $h_bus_x_ + ceiling($BLKD_MOD_W div 2))"/> 
+                               
+                               <rect x="{$h_bus_x_}" 
+                                 y="{$h_bus_y_}"  
+                                 width= "{$h_bus_width_}" 
+                                 height="{$BLKD_P2P_BUS_W}" 
+                                 style="fill:{$bktColor_}"/>
+                               
+                       </xsl:for-each>
+                       
+                       <xsl:variable name="num_sbsbktmods_" select="count(MODULE)"/>
+                       <xsl:variable name="num_sbsbktrows_" select="ceiling($num_sbsbktmods_ div $BLKD_BKT_MODS_PER_ROW)"/>
+                       
+                       <!-- If there is more than one row, connect the rows with a vertical bar -->            
+                       <xsl:if test="($num_sbsbktrows_ &gt; 1)">
+                               
+                               <xsl:variable name="v_bus_x_"    select="$BLKD_MOD_BKTLANE_W + ($BLKD_MOD_W + $BLKD_MOD_BUCKET_G)"/>
+                               
+                               <xsl:variable name="bkt_top_"    select="$BLKD_MOD_BKTLANE_H + (0                      * ($BLKD_MOD_H + $BLKD_BIFC_H + $BLKD_MOD_BUCKET_G))"/>
+                               <xsl:variable name="bkt_bot_"    select="$BLKD_MOD_BKTLANE_H + (($num_sbsbktrows_ - 1) * ($BLKD_MOD_H + $BLKD_BIFC_H + $BLKD_MOD_BUCKET_G))"/>
+                               
+                               <xsl:variable name="v_bus_y_top_" select="$bkt_top_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                               <xsl:variable name="v_bus_y_bot_" select="$bkt_bot_ + ceiling($BLKD_BIFC_H div 2) - ceiling($BLKD_P2P_BUS_W div 2)"/>
+                               
+                               <xsl:variable name="v_bus_width_"   select="$BLKD_P2P_BUS_W"/>
+                               <xsl:variable name="v_bus_height_"  select="($v_bus_y_bot_ - $v_bus_y_top_)"/>
+                               <rect x="0" 
+                                 y="{$v_bus_y_top_}"  
+                                 width= "{$v_bus_width_}" 
+                                 height="{$v_bus_height_}" 
+                                 style="fill:{$bktColor_}"/>
+                       </xsl:if>
+                       
+               </g>
+               
+       </xsl:for-each>         
+       
+</xsl:template>        
+       
+       
+<xsl:template name="Define_SBSBucketModule">
+       
+       <xsl:param name="iBusStd"  select="'PLB46'"/>
+       <xsl:param name="iIPName"  select="'_ipType_'"/>
+       <xsl:param name="iIPType"  select="'_ipName_'"/>
+       
+<!--   
+       <xsl:message>The IPType is <xsl:value-of select="$iIPType"/> </xsl:message>
+-->    
+       <xsl:variable name="bif_y_">
+               <xsl:value-of select="$BLKD_MOD_LANE_H + $BLKD_BIFC_H"/>        
+       </xsl:variable>
+
+       <xsl:variable name="label_y_">
+               <xsl:value-of select="$BLKD_MOD_LANE_H + $BLKD_BIF_H + $BLKD_BIFC_H +  $BLKD_MOD_BIF_GAP_V"/>   
+       </xsl:variable>
+       
+       <xsl:variable name="modBgColor_">
+               <xsl:choose>
+                       <xsl:when test="$iIPType = 'mpmc'"><xsl:value-of select="$COL_MPMC_BG"/></xsl:when>
+                       <xsl:otherwise><xsl:value-of select="$COL_BG"/></xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+    <g id="sbsbktmodule_{$iIPName}">
+               
+               <rect x="0"
+                     y="{$BLKD_BIFC_H}"
+                         rx="6" 
+                         ry="6" 
+                     width = "{$BLKD_MOD_W}"
+                     height= "{$BLKD_MOD_H}"
+                         style="fill:{$modBgColor_}; stroke:{$COL_WHITE}; stroke-width:2"/>            
+                         
+               <rect x="{ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_MOD_LABEL_W div 2)}"
+                     y="{$label_y_}"
+                         rx="3" 
+                         ry="3" 
+                     width= "{$BLKD_MOD_LABEL_W}"
+                     height="{$BLKD_MOD_LABEL_H}"
+                         style="fill:{$COL_WHITE}; stroke:none;"/>             
+               
+               <xsl:if test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE=$iIPName)]/@GROUP">
+               
+                       <rect x="{ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_MOD_LABEL_W div 2)}"
+                         y="{$label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) - 2}"
+                             rx="3" 
+                             ry="3" 
+                         width= "{$BLKD_MOD_LABEL_W}"
+                         height="{$BLKD_BIF_H}"
+                                 style="fill:{$COL_IORING_LT}; stroke:none;"/>         
+                         
+<!-- 
+                  <text class="ioplblgrp" 
+                                 x="{ceiling($BLKD_MOD_W div 2)}"
+                         y="{$label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) + 12}">
+                          <xsl:value-of select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/@GROUP"/>
+                       </text>
+-->    
+          
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                               <xsl:with-param name="iY"               select="($label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) + 12)"/>
+                               <xsl:with-param name="iText"    select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/@GROUP"/>
+                               <xsl:with-param name="iClass"   select="'iogrp_label'"/>
+                       </xsl:call-template>    
+                               
+               </xsl:if> 
+          
+<!-- 
+               <text class="bciptype" 
+                         x="{ceiling($BLKD_MOD_W div 2)}"
+                         y="{$label_y_ + 8}">
+                               <xsl:value-of select="$iIPType"/>
+               </text>
+                               
+               <text class="bciplabel" 
+                         x="{ceiling($BLKD_MOD_W div 2)}"
+                         y="{$label_y_ + 16}">
+                               <xsl:value-of select="$iIPName"/>
+          </text>
+-->       
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                       <xsl:with-param name="iY"               select="($label_y_ + 8)"/>
+                       <xsl:with-param name="iText"    select="$iIPType"/>
+                       <xsl:with-param name="iClass"   select="'bc_iptype'"/>
+               </xsl:call-template>    
+               
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                       <xsl:with-param name="iY"               select="($label_y_ + 18)"/>
+                       <xsl:with-param name="iText"    select="$iIPName"/>
+                       <xsl:with-param name="iClass"   select="'bc_ipinst'"/>
+               </xsl:call-template>    
+                       
+          
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/BUSINTERFACE[(@IS_INMHS = 'TRUE')]">
+                       
+                       <xsl:variable name="bifBusStd_">
+                               <xsl:choose>
+                                       <xsl:when test="@BUSSTD">
+                                               <xsl:value-of select="@BUSSTD"/>        
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:value-of select="'USER'"/> 
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="bifName_">
+                               <xsl:choose>
+                                       <xsl:when test="string-length(@NAME) &lt;= 5">
+                                               <xsl:value-of select="@NAME"/>  
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:value-of select="substring(@NAME,0,5)"/>   
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+       
+                   <xsl:variable name="bif_x_"  select="ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_BIF_W div 2)"/>
+                       
+                       <!-- Draw the BIF -->
+                       <use  x="{$bif_x_}"   y="{$bif_y_}"  xlink:href="#{$bifBusStd_}_BifLabel"/>
+                       
+        
+                       <!-- Draw the BIF connection -->
+                       <use  x="{$bif_x_ + ceiling($BLKD_BIF_W div 2) - ceiling($BLKD_BIFC_W div 2)}"   y="{$bif_y_ - $BLKD_BIFC_H - $BLKD_MOD_LANE_H}"  xlink:href="#{$bifBusStd_}_busconn_{@TYPE}"/>
+                       
+<!--
+                       <text class="bif_label" 
+                                 x="{$bif_x_ + ceiling($BLKD_BIF_W div 2)}"
+                                 y="{$bif_y_ + ceiling($BLKD_BIF_H div 2) + 3}">
+                                       <xsl:value-of select="$bifName_"/>
+                       </text>
+-->                    
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="($bif_x_ + ceiling($BLKD_BIF_W div 2))"/>
+                               <xsl:with-param name="iY"               select="($bif_y_ + ceiling($BLKD_BIF_H div 2) + 3)"/>
+                               <xsl:with-param name="iText"    select="$bifName_"/>
+                               <xsl:with-param name="iClass"   select="'bif_label'"/>
+                       </xsl:call-template>    
+                       
+               </xsl:for-each>
+               
+               <xsl:if test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/INTERRUPTINFO[(@TYPE = 'CONTROLLER')]">
+               
+                       <xsl:variable name="intcIdx_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE=$iIPName)]/INTERRUPTINFO[(@TYPE = 'CONTROLLER')]/@INTC_INDEX"/>
+                       
+                       <xsl:variable name="intrColor_">
+                               <xsl:call-template name="F_IntcIdx2RGB">
+                                       <xsl:with-param name="iIntcIdx" select="$intcIdx_"/>
+                               </xsl:call-template>    
+                       </xsl:variable>
+                       
+                       <xsl:call-template name="F_draw_InterruptCntrl">
+                               <xsl:with-param name="iIntr_X"   select="($BLKD_MOD_W - ceiling($BLKD_INTR_W div 2))"/>
+                               <xsl:with-param name="iIntr_Y"   select="3 + $BLKD_BIFC_H"/>
+                               <xsl:with-param name="iIntr_COL" select="$intrColor_"/>
+                               <xsl:with-param name="iIntr_IDX" select="$intcIdx_"/>
+                       </xsl:call-template>    
+               </xsl:if>
+               
+                     
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/INTERRUPTINFO[(@TYPE = 'SOURCE')]/TARGET">
+<!-- 
+                       <xsl:variable name="intcIdx_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE=$iIPName)]/INTERRUPTINFO[(@TYPE = 'SOURCE')]/@INTC_INDEX"/>
+-->                    
+                       <xsl:variable name="intrColor_">
+                               <xsl:call-template name="F_IntcIdx2RGB">
+                                       <xsl:with-param name="iIntcIdx" select="@INTC_INDEX"/>
+                               </xsl:call-template>    
+                       </xsl:variable>
+                       
+                       <xsl:call-template name="F_draw_InterruptSource">
+                               <xsl:with-param name="iIntr_X"   select="($BLKD_MOD_W - $BLKD_INTR_W)"/>
+                               <xsl:with-param name="iIntr_Y"   select="((position() - 1) * (ceiling($BLKD_INTR_H div 2) + 3)) + $BLKD_BIFC_H"/>
+                               <xsl:with-param name="iIntr_COL" select="$intrColor_"/>
+                               <xsl:with-param name="iIntr_PRI" select="@PRIORITY"/>
+                               <xsl:with-param name="iIntr_IDX" select="@INTC_INDEX"/>
+                       </xsl:call-template>    
+                       
+               </xsl:for-each>
+               
+       </g>                      
+       
+</xsl:template>        
+
+<xsl:template name="Define_IPBucketModule">
+       
+       <xsl:param name="iIPType"   select="'_ip_type_'"/>
+       <xsl:param name="iIPName"   select="'_ip_name_'"/>
+       
+       <xsl:variable name="bif_y_">
+               <xsl:value-of select="$BLKD_MOD_LANE_H"/>       
+       </xsl:variable>
+
+       <xsl:variable name="label_y_">
+               <xsl:value-of select="(ceiling($BLKD_MOD_H div 2) - ceiling($BLKD_MOD_LABEL_H div 2))"/>        
+       </xsl:variable>
+       
+    <g id="ipbktmodule_{$iIPName}">
+
+               <rect x="0"
+                     y="0"
+                         rx="6" 
+                         ry="6" 
+                     width = "{$BLKD_MOD_W}"
+                     height= "{$BLKD_MOD_H}"
+                         style="fill:{$COL_BG}; stroke:{$COL_BLACK}; stroke-width:2"/>         
+                         
+               <rect x="{ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_MOD_LABEL_W div 2)}"
+                     y="{$label_y_}"
+                         rx="3" 
+                         ry="3" 
+                     width= "{$BLKD_MOD_LABEL_W}"
+                     height="{$BLKD_MOD_LABEL_H}"
+                         style="fill:{$COL_WHITE}; stroke:none;"/>             
+<!--
+                         y="{$label_y_ + ceiling($BLKD_MOD_LABEL_H div 2) - 4}"
+                         y="{$label_y_ + ceiling($BLKD_MOD_LABEL_H div 2) + 4}"
+-->                      
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                               <xsl:with-param name="iY"               select="($label_y_ + 8)"/>
+                               <xsl:with-param name="iText"    select="$iIPType"/>
+                               <xsl:with-param name="iClass"   select="'bc_iptype'"/>
+                       </xsl:call-template>    
+                       
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                               <xsl:with-param name="iY"               select="($label_y_ + 20)"/>
+                               <xsl:with-param name="iText"    select="$iIPName"/>
+                               <xsl:with-param name="iClass"   select="'bc_ipinst'"/>
+                       </xsl:call-template>    
+                       
+<!-- 
+               <text class="bc_iptype" 
+                         x="{ceiling($BLKD_MOD_W div 2)}"
+                         y="{$label_y_ + 8}">
+                               <xsl:value-of select="$iIPType"/>
+               </text>
+                               
+               <text class="bc_ipinst" 
+                         x="{ceiling($BLKD_MOD_W div 2)}"
+                         y="{$label_y_ + 16}">
+                               <xsl:value-of select="$iIPName"/>
+          </text>
+-->    
+          
+               <xsl:if test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/@GROUP">
+               
+                       <rect x="{ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_MOD_LABEL_W div 2)}"
+                             y="{$label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) - 2}"
+                                 rx="3" 
+                                 ry="3" 
+                             width= "{$BLKD_MOD_LABEL_W}"
+                             height="{$BLKD_BIF_H}"
+                                 style="fill:{$COL_IORING_LT}; stroke:none;"/>         
+                                 
+                               <xsl:call-template name="F_WriteText">
+                                       <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                                       <xsl:with-param name="iY"               select="($label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) + 12)"/>
+                                       <xsl:with-param name="iText"    select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/@GROUP"/>
+                                       <xsl:with-param name="iClass"   select="'iogrp_label'"/>
+                               </xsl:call-template>    
+                               
+       <!-- 
+                          <text class="iogrp_label" 
+                                 x="{ceiling($BLKD_MOD_W div 2)}"
+                             y="{$label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) + 12}">
+                                  <xsl:value-of select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/@GROUP"/>
+                               </text>
+       -->                     
+          
+               </xsl:if> 
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iIPName)]/INTERRUPTINFO[(@TYPE = 'SOURCE')]">
+                       
+                       <xsl:variable name="intrColor_">
+                               <xsl:call-template name="F_IntcIdx2RGB">
+                                       <xsl:with-param name="iIntcIdx" select="@INTC_INDEX"/>
+                               </xsl:call-template>    
+                       </xsl:variable>
+                       
+                       <xsl:call-template name="F_draw_InterruptSource">
+                               <xsl:with-param name="iIntr_X"   select="($BLKD_MOD_W - $BLKD_INTR_W)"/>
+                               <xsl:with-param name="iIntr_Y"   select="((position() - 1) * (ceiling($BLKD_INTR_H div 2) + 3))"/>
+                               <xsl:with-param name="iIntr_COL" select="$intrColor_"/>
+                               <xsl:with-param name="iIntr_PRI" select="@PRIORITY"/>
+                               <xsl:with-param name="iIntr_IDX" select="@INTC_INDEX"/>
+                       </xsl:call-template>    
+                       
+               </xsl:for-each>
+          
+       </g>                      
+       
+</xsl:template>        
+       
+       
+<xsl:template name="Define_Peripheral"> 
+<!-- 
+       when the module is oriented normal its label goes above the bifs 
+    when the module is oriented rot180, (part of a processor memory  
+       controller for example) its label goes below the bifs 
+-->    
+
+       <xsl:param name="iModVori"    select="'normal'"/>
+       <xsl:param name="iModInst"    select="'_instance_'"/>
+       <xsl:param name="iModType"    select="'_modtype_'"/>
+       <xsl:param name="iUnkInst"    select="'_unknown_'"/>
+       <xsl:param name="iHorizIdx"   select="'_unknown_'"/>
+       <xsl:param name="iVertiIdx"   select="'_unknown_'"/>
+       
+<!--   
+       <xsl:message>Stack       Y <xsl:value-of select="$cstkMods_Y"/></xsl:message>
+       <xsl:message>Stack Index Y <xsl:value-of select="$cstkIndex"/></xsl:message>
+-->    
+       
+       <xsl:variable name="modName_">
+               <xsl:choose>
+                       <xsl:when test="$iUnkInst = '_unknown_'">
+                               <xsl:value-of select="$iModInst"/>      
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$iUnkInst"/>      
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name="modSymbolName_">
+               <xsl:choose>
+                       <xsl:when test="(not($iHorizIdx = '_unknown_') and not($iVertiIdx = '_unknown_'))">
+                               <xsl:call-template name="F_generate_Stack_SymbolName"> 
+                                       <xsl:with-param name="iHorizIdx"  select="$iHorizIdx"/>
+                                       <xsl:with-param name="iVertiIdx"  select="$iVertiIdx"/>
+                               </xsl:call-template>            
+                       </xsl:when>
+                       <xsl:otherwise>symbol_<xsl:value-of select="$modName_"/></xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name="modTypeName_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iModInst)]/@MODTYPE"/>
+       
+<!--   
+       <xsl:message>The symbol type of the module is <xsl:value-of select="$modTypeName_"/></xsl:message>
+       <xsl:message>The symbol name of the module is <xsl:value-of select="$modSymbolName_"/></xsl:message>
+-->    
+       
+       <xsl:variable name="bifs_h_">   
+               <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/MODULE[(@INSTANCE = $iModInst)]/@BIFS_H) and not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE[(@INSTANCE = $iModInst)]/@BIFS_H)">0</xsl:if>
+       
+               <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/MODULE[(@INSTANCE = $iModInst)]/@BIFS_H)">
+                       <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/MODULE[(@INSTANCE = $iModInst)]/@BIFS_H"/>
+               </xsl:if>
+       
+               <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE[(@INSTANCE = $iModInst)]/@BIFS_H)">
+                       <xsl:value-of select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE[(@INSTANCE = $iModInst)]/@BIFS_H"/>
+               </xsl:if>
+       </xsl:variable>         
+       
+       <xsl:variable name="label_y_">
+               <xsl:choose>
+                       <xsl:when test="$iModVori = 'rot180'">
+                               <xsl:value-of select="($BLKD_MOD_LANE_H + (($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * $bifs_h_))"/>  
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$BLKD_MOD_LANE_H"/>       
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name="bif_dy_">
+               <xsl:choose>
+                       <xsl:when test="$iModVori = 'rot180'">
+                               <xsl:value-of select="$BLKD_MOD_LANE_H"/>       
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V)"/>   
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name="peri_stroke_col_">
+               <xsl:choose>
+                       <xsl:when test="((@MODCLASS = 'MASTER_SLAVE') or (@MODCLASS = 'MONITOR')) and BUSCONNS/BUSCONN">
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="BUSCONNS/BUSCONN/@BUSSTD"/>
+                               </xsl:call-template>
+                       </xsl:when>
+                       
+                       <xsl:otherwise>
+                               <xsl:value-of select="$COL_WHITE"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:variable name="modHeight_">
+               <xsl:call-template name="F_Calc_PeriShape_Height">
+                       <xsl:with-param name="iShapeInst"  select="$modName_"/>
+               </xsl:call-template>    
+       </xsl:variable>         
+       
+    <g id="{$modSymbolName_}">
+               
+               <xsl:if test="$modTypeName_ = 'mpmc'">
+               <rect x="0"
+                     y="0"
+                         rx="6" 
+                         ry="6" 
+                     width = "{$BLKD_MOD_W}"
+                     height= "{$modHeight_}"
+                         style="fill:{$COL_MPMC_BG}; stroke:{$peri_stroke_col_}; stroke-width:2"/>             
+               </xsl:if>       
+               
+               <xsl:if test="not($modTypeName_ = 'mpmc')">
+                       <rect x="0"
+                             y="0"
+                                 rx="6" 
+                                 ry="6" 
+                             width = "{$BLKD_MOD_W}"
+                             height= "{$modHeight_}"
+                                 style="fill:{$COL_BG}; stroke:{$peri_stroke_col_}; stroke-width:2"/>          
+               </xsl:if>       
+               
+                                         
+               <rect x="{ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_MOD_LABEL_W div 2)}"
+                     y="{$label_y_}"
+                         rx="3" 
+                         ry="3" 
+                     width= "{$BLKD_MOD_LABEL_W}"
+                     height="{$BLKD_MOD_LABEL_H}"
+                         style="fill:{$COL_WHITE}; stroke:none;"/>             
+                         
+<!--                     
+                         y="{$label_y_ + ceiling($BLKD_MOD_LABEL_H div 2) - 4}">
+                         y="{$label_y_ + ceiling($BLKD_MOD_LABEL_H div 2) + 4}">
+-->
+<!-- 
+               <text class="bc_iptype" 
+                         x="{ceiling($BLKD_MOD_W div 2)}"
+                         y="{$label_y_ + 8}">
+                               <xsl:value-of select="$iModType"/>
+               </text>
+                               
+               <text class="bc_ipinst" 
+                         x="{ceiling($BLKD_MOD_W div 2)}"
+                         y="{$label_y_ + 16}">
+                               <xsl:value-of select="$iModInst"/>
+          </text>
+-->       
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                               <xsl:with-param name="iY"               select="($label_y_ + 8)"/>
+                               <xsl:with-param name="iText"    select="$iModType"/>
+                               <xsl:with-param name="iClass"   select="'bc_iptype'"/>
+                       </xsl:call-template>    
+                       
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                               <xsl:with-param name="iY"               select="($label_y_ + 16)"/>
+                               <xsl:with-param name="iText"    select="$iModInst"/>
+                               <xsl:with-param name="iClass"   select="'bc_ipinst'"/>
+                       </xsl:call-template>    
+                       
+          
+               <xsl:if test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[@INSTANCE=$iModInst]/@GROUP">
+               
+                       <rect x="{ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_MOD_LABEL_W div 2)}"
+                             y="{$label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) - 2}"
+                                 rx="3" 
+                                 ry="3" 
+                             width= "{$BLKD_MOD_LABEL_W}"
+                             height="{$BLKD_BIF_H}"
+                                 style="fill:{$COL_IORING_LT}; stroke:none;"/>         
+                                 
+<!-- 
+                          <text class="iogrp_label" 
+                                 x="{ceiling($BLKD_MOD_W div 2)}"
+                             y="{$label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) + 12}">
+                                  <xsl:value-of select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[@INSTANCE=$iModInst]/@GROUP"/>
+                               </text>
+-->                            
+                               <xsl:call-template name="F_WriteText">
+                                       <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                                       <xsl:with-param name="iY"               select="($label_y_ + $BLKD_BIF_H + ceiling($BLKD_BIF_H div 3) + 12)"/>
+                                       <xsl:with-param name="iText"    select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iModInst)]/@GROUP"/>
+                                       <xsl:with-param name="iClass"   select="'iogrp_label'"/>
+                               </xsl:call-template>    
+                               
+          
+               </xsl:if> 
+          
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iModInst)]/BUSINTERFACE[(@BIF_X and @BIF_Y and not(@BUSNAME = '__NOC__'))]">
+                       
+                       <xsl:variable name="bifBusStd_">
+                               <xsl:choose>
+                                       <xsl:when test="@BUSSTD">
+                                               <xsl:value-of select="@BUSSTD"/>        
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:value-of select="'TRS'"/>  
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="bif_y_">
+                               <xsl:value-of select="(($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V)  * @BIF_Y)"/>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="bif_buscol_">
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="$bifBusStd_"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+               
+                       
+                       <xsl:variable name="bifName_">
+                               <xsl:choose>
+                                       <xsl:when test="not(@NAME)">'UNK'</xsl:when>
+                                       <xsl:when test="string-length(@NAME) &lt;= 5">
+                                               <xsl:value-of select="@NAME"/>  
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:value-of select="substring(@NAME,0,5)"/>   
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+       
+                       <xsl:variable name="bif_x_" >
+                               <xsl:if test="not(@ORIENTED='CENTER')">
+                                       <xsl:value-of select="(($BLKD_BIF_W * @BIF_X) + ($BLKD_MOD_BIF_GAP_H * @BIF_X) + ($BLKD_MOD_LANE_W * 1))"/>
+                               </xsl:if>
+                               <xsl:if test="(@ORIENTED='CENTER')">
+                                       <xsl:value-of select="ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_BIF_W div 2)"/>
+                               </xsl:if>
+                       </xsl:variable> 
+                       
+                       <xsl:if test="not(@IS_INTCONN)">
+                               <xsl:variable name="horz_line_y_" select="($bif_y_  + $bif_dy_ + ceiling($BLKD_BIFC_H div 2))"/>
+                       
+                               <xsl:variable name="horz_line_x1_">
+                                       <xsl:choose>
+                                               <xsl:when test="@BIF_X = '0'">0</xsl:when>
+                                               <xsl:otherwise><xsl:value-of select="($BLKD_MOD_W - $BLKD_MOD_LANE_W)"/></xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable>
+                       
+                               <xsl:variable name="horz_line_x2_">
+                                       <xsl:choose>
+                                               <xsl:when test="@BIF_X = '0'"><xsl:value-of select="$BLKD_MOD_LANE_W"/></xsl:when>
+                                               <xsl:otherwise><xsl:value-of select="$BLKD_MOD_W + 1"/></xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable>
+                       
+                       
+                               <line x1="{$horz_line_x1_}" 
+                                         y1="{$horz_line_y_ - 2}"
+                                 x2="{$horz_line_x2_}" 
+                                 y2="{$horz_line_y_ - 2}" 
+                                style="stroke:{$bif_buscol_};stroke-width:1"/>
+                         
+                       </xsl:if>
+                       
+                       <use  x="{$bif_x_}"   y="{$bif_y_ + $bif_dy_}"  xlink:href="#{$bifBusStd_}_BifLabel"/>
+<!-- 
+                       <text class="bif_label" 
+                                 x="{$bif_x_  + ceiling($BLKD_BIF_W div 2)}"
+                                 y="{$bif_y_ + $bif_dy_ + ceiling($BLKD_BIF_H div 2) + 3}">
+                                       <xsl:value-of select="$bifName_"/>
+                       </text>
+-->                    
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="($bif_x_  + ceiling($BLKD_BIF_W div 2))"/>
+                               <xsl:with-param name="iY"               select="($bif_y_ + $bif_dy_ + ceiling($BLKD_BIF_H div 2) + 3)"/>
+                               
+                               <xsl:with-param name="iText"    select="$bifName_"/>
+                               <xsl:with-param name="iClass"   select="'bif_label'"/>
+                       </xsl:call-template>    
+                               
+               </xsl:for-each>
+               
+<!--           
+               <xsl:if test="@INTC_INDEX">
+                       <xsl:variable name="intrColor_">
+                               <xsl:call-template name="F_IntcIdx2RGB">
+                                       <xsl:with-param name="intcIdx" select="@INTC_INDEX"/>
+                               </xsl:call-template>    
+                       </xsl:variable>
+                       
+                       <xsl:call-template name="F_draw_InterruptCntrl">
+                               <xsl:with-param name="intr_col" select="$intrColor_"/>
+                               <xsl:with-param name="intr_x"   select="($BLKD_MOD_W - ceiling($BLKD_INTR_W div 2))"/>
+                               <xsl:with-param name="intr_y"   select="3"/>
+                               <xsl:with-param name="intr_idx" select="@INTC_INDEX"/>
+                       </xsl:call-template>    
+               </xsl:if>
+-->            
+               <xsl:if test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iModInst)]/@INTC_INDEX">
+                       <xsl:variable name="intrColor_">
+                               <xsl:call-template name="F_IntcIdx2RGB">
+                                       <xsl:with-param name="iIntcIdx" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iModInst)]/@INTC_INDEX"/>
+                               </xsl:call-template>    
+                       </xsl:variable>
+                       
+                       <xsl:call-template name="F_draw_InterruptCntrl">
+                               <xsl:with-param name="iIntr_X"   select="($BLKD_MOD_W - ceiling($BLKD_INTR_W div 2))"/>
+                               <xsl:with-param name="iIntr_Y"   select="3"/>
+                               <xsl:with-param name="iIntr_COL" select="$intrColor_"/>
+                               <xsl:with-param name="iIntr_IDX" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iModInst)]/@INTC_INDEX"/>
+                       </xsl:call-template>    
+               </xsl:if>
+               
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iModInst)]/INTERRUPTINFO[@TYPE ='TARGET']">
+               
+                       <xsl:variable name="intrColor_">
+                               <xsl:call-template name="F_IntcIdx2RGB">
+                                       <xsl:with-param name="iIntcIdx" select="@INTC_INDEX"/>
+                               </xsl:call-template>    
+                       </xsl:variable>
+                       
+                       <xsl:call-template name="F_draw_InterruptSource">
+                               <xsl:with-param name="iIntr_X"   select="($BLKD_MOD_W - $BLKD_INTR_W)"/>
+                               <xsl:with-param name="iIntr_Y"   select="((position() - 1) * (ceiling($BLKD_INTR_H div 2) + 3))"/>
+                               <xsl:with-param name="iIntr_COL" select="$intrColor_"/>
+                               <xsl:with-param name="iIntr_PRI" select="@PRIORITY"/>
+                               <xsl:with-param name="iIntr_IDX" select="@INTC_INDEX"/>
+                       </xsl:call-template>    
+                       
+               </xsl:for-each>
+       </g>                      
+</xsl:template>        
+       
+<xsl:template name="Define_MemoryUnit"> 
+       <xsl:param name="iShapeId"  select="1000"/>
+       
+       <xsl:variable name="horiz_idx_"   select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/@STACK_HORIZ_INDEX"/>
+       <xsl:variable name="is_multistk_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/@IS_MULTISTK"/>
+       
+       <xsl:choose>
+               <xsl:when test="(($is_multistk_ = 'TRUE') or ($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@STACK_HORIZ_INDEX = $horiz_idx_)]))">
+                       <xsl:call-template name="Define_Processor_MemoryUnit"> 
+                               <xsl:with-param name="iShapeId"  select="$iShapeId"/>
+                       </xsl:call-template>
+               </xsl:when>
+               
+               <xsl:otherwise>
+                       <xsl:call-template name="Define_StandAlone_MemoryUnit"> 
+                               <xsl:with-param name="iShapeId"  select="$iShapeId"/>
+                       </xsl:call-template>
+               </xsl:otherwise>
+               
+       </xsl:choose>
+       
+</xsl:template>        
+       
+       
+<xsl:template name="Define_Processor_MemoryUnit"> 
+       <xsl:param name="iShapeId"  select="1000"/>
+       
+<!--   
+       <xsl:param name="cstkIndex"    select="'_processor_'"/>
+-->    
+       
+       <xsl:variable name="mods_h_"  select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/@MODS_H"/>
+       <xsl:variable name="mods_w_"  select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/@MODS_W"/>
+       <xsl:variable name="memW_" select="($BLKD_MOD_W * $mods_w_)"/>
+       <xsl:variable name="memH_" select="($BLKD_MOD_H * $mods_h_)"/>
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]">
+               
+               <!-- first define its symbols as individual modules --> 
+               <xsl:for-each select="MODULE[(@MODCLASS = 'MEMORY')]">
+               
+                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                       <xsl:variable name="modType_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInst_)]/@MODTYPE"/>
+               
+                       <xsl:call-template name="Define_Peripheral"> 
+                               <xsl:with-param name="iModVori"  select="'normal'"/>
+                               <xsl:with-param name="iModInst"  select="$modInst_"/>
+                               <xsl:with-param name="iModType"  select="$modType_"/>
+                       </xsl:call-template>            
+               </xsl:for-each> 
+       
+               <xsl:for-each select="MODULE[@MODCLASS='MEMORY_CNTLR']">
+               
+                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                       <xsl:variable name="modType_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInst_)]/@MODTYPE"/>
+               
+                       <xsl:call-template name="Define_Peripheral"> 
+                               <xsl:with-param name="iModVori"  select="'rot180'"/>
+                               <xsl:with-param name="iModInst"  select="$modInst_"/>
+                               <xsl:with-param name="iModType"  select="$modType_"/>
+                       </xsl:call-template>            
+               </xsl:for-each> 
+       </xsl:for-each>
+       
+<!--   
+-->    
+       
+       <xsl:variable name="symbol_name_">
+               <xsl:call-template name="F_generate_Stack_SymbolName"> 
+                       <xsl:with-param name="iHorizIdx" select="@STACK_HORIZ_INDEX"/>
+                       <xsl:with-param name="iVertiIdx" select="@SHAPE_VERTI_INDEX"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+<!--   
+       <xsl:message>The mp stack name is <xsl:value-of select="$mp_stack_name_"/></xsl:message>
+-->    
+               
+    <g id="{$symbol_name_}">
+
+               <rect x="0"
+                     y="0"
+                         rx="6" 
+                         ry="6" 
+                     width = "{$memW_}"
+                     height= "{$memH_}"
+                         style="fill:{$COL_BG}; stroke:{$COL_WHITE}; stroke-width:2"/>         
+                         
+               <!-- Draw the memory block-->             
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[(@MODCLASS = 'MEMORY')]">
+                       
+                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                       
+                        <use  x="{ceiling($memW_ div 2) - ($BLKD_MOD_W div 2)}"  
+                                  y="0"  
+                                  xlink:href="#symbol_{$modInst_}"/> 
+               </xsl:for-each>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[((@MODCLASS='MEMORY_CNTLR') and (@ORIENTED = 'WEST'))]">
+                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                       
+                        <use  x="0"  
+                                  y="{$BLKD_MOD_H}"  
+                                  xlink:href="#symbol_{$modInst_}"/> 
+               </xsl:for-each>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[((@MODCLASS='MEMORY_CNTLR') and (@ORIENTED = 'EAST'))]">
+                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                       
+                        <use  x="{$BLKD_MOD_W}"  
+                                  y="{$BLKD_MOD_H}"  
+                                  xlink:href="#symbol_{$modInst_}"/> 
+               </xsl:for-each>
+               
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[((@MODCLASS='MEMORY_CNTLR') and (@ORIENTED = 'CENTER'))]">
+                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                       
+                        <use  x="{ceiling($memW_ div 2) - ($BLKD_MOD_W div 2)}"  
+                                  y="{$BLKD_MOD_H}"  
+                                  xlink:href="#symbol_{$modInst_}"/> 
+               </xsl:for-each>
+               
+       </g>
+       
+</xsl:template>        
+
+       
+<xsl:template name="Define_StandAlone_MemoryUnit"> 
+       
+       <xsl:param name="iShapeId" select="0"/>
+       
+       <xsl:variable name="mods_h_"  select="@MODS_H"/>
+       <xsl:variable name="mods_w_"  select="@MODS_W"/>
+       
+       <xsl:variable name="memcName_"   select="MODULE[not(@MODCLASS = 'MEMORY')]/@INSTANCE"/>
+       <xsl:variable name="memcBusStd_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE/BUSCONNLANE[(BUSCONN[(@INSTANCE = $memcName_)])]/@BUSSTD"/>
+       
+<!--   
+       <xsl:variable name="memcBusStd_" select="/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE/BUSCONNLANE/@BUSSTD"/>
+       <xsl:variable name="memcBusStd_" select="/EDKSYSTEM/BCLANESPACES/BCLANESPACE/BUSCONNLANE[(BUSCONN[(@INSTANCE)])]/@BUSSTD"/>
+       <xsl:message>Memory cntlr name <xsl:value-of select="$memcName_"/></xsl:message>
+       <xsl:message>Memory cntlr name <xsl:value-of select="$memcName_"/></xsl:message>
+       <xsl:message>Memory cntlr busstd <xsl:value-of select="$memcBusStd_"/></xsl:message>
+-->    
+       
+       <xsl:variable name="peri_col_">
+               
+               <xsl:choose>
+                       <xsl:when test="$mods_w_ &gt; 1">
+                               <xsl:value-of select="$COL_BG"/>
+                       </xsl:when>
+                       
+                       <xsl:when test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE/BUSCONNLANE[(BUSCONN[(@INSTANCE = $memcName_)])]/@BUSSTD">
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="$memcBusStd_"/>
+                               </xsl:call-template>
+                       </xsl:when>
+               
+                       <xsl:otherwise>
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="'TRS'"/>
+                               </xsl:call-template>
+                       </xsl:otherwise>
+               </xsl:choose>           
+               
+       </xsl:variable>  
+       
+       <!-- first define its symbols as individual modules --> 
+       <xsl:for-each select="MODULE[(@MODCLASS = 'MEMORY')]">
+       
+               <xsl:variable name="modInst_" select="@INSTANCE"/>
+               <xsl:variable name="modType_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInst_)]/@MODTYPE"/>
+               
+               <xsl:call-template name="Define_Peripheral"> 
+                       <xsl:with-param name="iModVori"  select="'rot180'"/>
+                       <xsl:with-param name="iModInst"  select="$modInst_"/>
+                       <xsl:with-param name="iModType"  select="$modType_"/>
+               </xsl:call-template>            
+       </xsl:for-each> 
+       
+       <xsl:for-each select="MODULE[not(@MODCLASS='MEMORY')]">
+               <xsl:variable name="modInst_" select="@INSTANCE"/>
+               <xsl:variable name="modType_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInst_)]/@MODTYPE"/>
+               
+<!--           
+               <xsl:message>Memory cntlr inst <xsl:value-of select="$modInst_"/></xsl:message>
+-->            
+               <xsl:call-template name="Define_Peripheral"> 
+                       <xsl:with-param name="iModVori"  select="'normal'"/>
+                       <xsl:with-param name="iModInst"  select="$modInst_"/>
+                       <xsl:with-param name="iModType"  select="$modType_"/>
+               </xsl:call-template>            
+       </xsl:for-each> 
+       
+       <xsl:variable name="memW_" select="($BLKD_MOD_W * $mods_w_)"/>
+       <xsl:variable name="memH_" select="($BLKD_MOD_H * $mods_h_)"/>
+       
+       <xsl:variable name="symbol_name_">
+               <xsl:call-template name="F_generate_Stack_SymbolName"> 
+                       <xsl:with-param name="iHorizIdx" select="@STACK_HORIZ_INDEX"/>
+                       <xsl:with-param name="iVertiIdx" select="@SHAPE_VERTI_INDEX"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+               
+    <g id="{$symbol_name_}">
+               
+               <rect x="0"
+                     y="0"
+                         rx="6" 
+                         ry="6" 
+                     width = "{$memW_ + 4}"
+                     height= "{$memH_ + 4}"
+                         style="fill:{$peri_col_}; stroke:{$peri_col_}; stroke-width:2"/>              
+                         
+
+               <!-- Draw the memory block-->             
+               <xsl:choose>
+                       
+                       <xsl:when test="$mods_w_ = 1">
+                               
+                               <xsl:for-each select="MODULE[(@MODCLASS='MEMORY')]">    
+                                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                               
+                                       <use  x="2"  
+                                             y="{$BLKD_MOD_H + 2}"  
+                                             xlink:href="#symbol_{$modInst_}"/> 
+                               </xsl:for-each>
+                       
+                       
+                       <!-- Draw the memory controllers-->               
+                               <xsl:for-each select="MODULE[not(@MODCLASS='MEMORY')]"> 
+                                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                               
+                                       <use  x="2"  
+                                                 y="0"  
+                                             xlink:href="#symbol_{$modInst_}"/> 
+                               </xsl:for-each>
+                       </xsl:when>     
+               
+                       <xsl:when test="$mods_w_ &gt; 1">
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[(@MODCLASS = 'MEMORY')]">
+                               
+                                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                               
+                                        <use  x="{ceiling($memW_ div 2) - ($BLKD_MOD_W div 2)}"  
+                                                  y="{$BLKD_MOD_H + 2}"  
+                                                  xlink:href="#symbol_{$modInst_}"/> 
+                               </xsl:for-each>
+                       
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[(not(@MODCLASS='MEMORY') and (@ORIENTED = 'WEST'))]">
+                                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                               
+                                       <use  x="0"  
+                                             y="0"  
+                                             xlink:href="#symbol_{$modInst_}"/> 
+                               </xsl:for-each>
+                       
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[(not(@MODCLASS='MEMORY') and (@ORIENTED = 'EAST'))]">
+                                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                               
+                                       <use  x="{$BLKD_MOD_W}"  
+                                             y="0"  
+                                             xlink:href="#symbol_{$modInst_}"/> 
+                               </xsl:for-each>
+                       
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[(not(@MODCLASS='MEMORY') and (@ORIENTED = 'CENTER'))]">       
+                                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                               
+                                       <use  x="{ceiling($memW_ div 2) - ($BLKD_MOD_W div 2)}"  
+                                             y="0"  
+                                                 xlink:href="#symbol_{$modInst_}"/> 
+                           </xsl:for-each>
+                               
+                       </xsl:when>     
+               </xsl:choose>
+                         
+       </g>                      
+       
+</xsl:template>        
+       
+       
+<xsl:template name="Define_StandAlone_MPMC"> 
+       
+<!--   
+       <xsl:param name="drawarea_w"  select="500"/>
+       <xsl:param name="drawarea_h"  select="500"/>
+-->    
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/MPMCSHAPE">
+               
+               <xsl:variable name="mpmcInst_" select="@INSTANCE"/>
+               <xsl:variable name="mpmcType_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[@INSTANCE=$mpmcInst_]/@MODTYPE"/>
+<!--           
+               <xsl:message>Drawing instance <xsl:value-of select="$mpmcInst_"/></xsl:message>
+-->            
+               
+               <xsl:variable name="mpmc_w_"  select="($G_Total_DrawArea_W - ($BLKD_INNER_GAP * 2))"/>
+               <xsl:variable name="label_y_"  select="ceiling($BLKD_MPMC_MOD_H div 2) - ceiling($BLKD_MOD_LABEL_H div 2)"/>
+               
+               <g id="mpmcmodule_{$mpmcInst_}">
+                       <rect x="0"
+                         y="0"
+                         width = "{$mpmc_w_}"
+                         height= "{$BLKD_MPMC_MOD_H}"
+                             style="fill:{$COL_MPMC_BG}; stroke:{$COL_BLACK}; stroke-width:2"/>
+                         
+                   <rect x="{$BLKD_MOD_LANE_H}"
+                         y="{$label_y_}"
+                             rx="3"
+                             ry="3"
+                         width= "{$BLKD_MOD_LABEL_W}"
+                         height="{$BLKD_MOD_LABEL_H}"
+                             style="fill:{$COL_WHITE}; stroke:none;"/>
+<!-- 
+                       <text class="bc_iptype" 
+                                 x="{ceiling(($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_W) div 2)}"
+                                 y="{$label_y_ + 8}">
+                                       <xsl:value-of select="$mpmcType_"/>
+                       </text>
+                               
+                       <text class="bc_ipinst" 
+                                 x="{ceiling(($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_W) div 2)}"
+                                 y="{$label_y_ + 16}">
+                                       <xsl:value-of select="$mpmcInst_"/>
+                  </text>
+                  
+                       <text class="mpmc_title" 
+                                 x="{ceiling($mpmc_w_ div 2)}"
+                                 y="{$label_y_ + 16}">MPMC Module Interface</text>
+-->                    
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="(ceiling(($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_W) div 2))"/>
+                               <xsl:with-param name="iY"               select="($label_y_ + 8)"/>
+                               <xsl:with-param name="iText"    select="$mpmcType_"/>
+                               <xsl:with-param name="iClass"   select="'bc_iptype'"/>
+                       </xsl:call-template>    
+                       
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="(ceiling(($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_W) div 2))"/>
+                               <xsl:with-param name="iY"               select="($label_y_ + 16)"/>
+                               <xsl:with-param name="iText"    select="$mpmcInst_"/>
+                               <xsl:with-param name="iClass"   select="'bc_ipinst'"/>
+                       </xsl:call-template>    
+                       
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($mpmc_w_ div 2)"/>
+                               <xsl:with-param name="iY"               select="($label_y_ + 16)"/>
+                               <xsl:with-param name="iText"    select="'MPMC Module Interface'"/>
+                               <xsl:with-param name="iClass"   select="'mpmc_title'"/>
+                       </xsl:call-template>    
+                       
+          
+               </g>    
+               
+       </xsl:for-each>
+       
+</xsl:template>        
+       
+
+<!-- ======================= END DEF FUNCTIONS ============================ -->
+
+<!-- ======================= UTILITY FUNCTIONS ============================ -->
+
+<xsl:template name="F_draw_InterruptSource">
+
+       <xsl:param name="iIntr_X"   select="0"/>
+       <xsl:param name="iIntr_Y"   select="0"/>
+       <xsl:param name="iIntr_PRI" select="0"/>
+       <xsl:param name="iIntr_IDX" select="0"/>
+       <xsl:param name="iIntr_COL" select="$COL_INTR_0"/>
+       
+               <rect  
+                       x="{$iIntr_X}"
+                       y="{$iIntr_Y}"
+                       rx="3"
+                       ry="3"
+                       width= "{$BLKD_INTR_W}" 
+                       height="{ceiling($BLKD_INTR_H div 2)}" style="fill:{$iIntr_COL}; stroke:none; stroke-width:1"/> 
+                       
+               <line x1="{$iIntr_X + ceiling($BLKD_INTR_W div 2)}" 
+                         y1="{$iIntr_Y}"
+                         x2="{$iIntr_X + ceiling($BLKD_INTR_W div 2)}" 
+                         y2="{$iIntr_Y + ceiling($BLKD_INTR_H div 2)}" 
+                         style="stroke:{$COL_BLACK};stroke-width:1"/>
+                         
+               <xsl:variable name="txt_ofs_">
+                       <xsl:if test="($iIntr_PRI &gt; 9)">4.5</xsl:if>
+                       <xsl:if test="not($iIntr_PRI &gt; 9)">0</xsl:if>
+               </xsl:variable>   
+               
+<!-- 
+               <text class="intrsymbol" 
+                         x="{$iIntr_X + 2 - $txt_ofs_}"
+                         y="{$iIntr_Y + 8}">
+                               <xsl:value-of select="$iIntr_PRI"/>
+               </text>
+                       
+               <text class="intrsymbol" 
+                         x="{$iIntr_X + 2 + ceiling($BLKD_INTR_W div 2)}"
+                         y="{$iIntr_Y + 8}">
+                               <xsl:value-of select="$iIntr_IDX"/>
+               </text>
+-->            
+
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="($iIntr_X + 2 - $txt_ofs_)"/>
+                       <xsl:with-param name="iY"               select="($iIntr_Y + 8)"/>
+                       <xsl:with-param name="iText"    select="$iIntr_PRI"/>
+                       <xsl:with-param name="iClass"   select="'intr_symbol'"/>
+               </xsl:call-template>    
+               
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="($iIntr_X + 2 + ceiling($BLKD_INTR_W div 2))"/>
+                       <xsl:with-param name="iY"               select="($iIntr_Y + 8)"/>
+                       <xsl:with-param name="iText"    select="$iIntr_IDX"/>
+                       <xsl:with-param name="iClass"   select="'intr_symbol'"/>
+               </xsl:call-template>                    
+                       
+</xsl:template>
+
+<xsl:template name="F_draw_InterruptCntrl">
+
+       <xsl:param name="iIntr_X"   select="0"/>
+       <xsl:param name="iIntr_Y"   select="0"/>
+       <xsl:param name="iIntr_IDX" select="0"/>
+       <xsl:param name="iIntr_COL" select="$COL_INTR_0"/>
+       
+               <rect  
+                       x="{$iIntr_X}"
+                       y="{$iIntr_Y}"
+                       rx="3"
+                       ry="3"
+                       width= "{ceiling($BLKD_INTR_W div 2)}" 
+                       height="{$BLKD_INTR_H}" style="fill:{$iIntr_COL}; stroke:none; stroke-width:1"/> 
+                       
+               <line x1="{$iIntr_X}" 
+                         y1="{$iIntr_Y + ceiling($BLKD_INTR_H div 4)}"
+                         x2="{$iIntr_X + ceiling($BLKD_INTR_W div 2)}" 
+                         y2="{$iIntr_Y + ceiling($BLKD_INTR_H div 4)}" 
+                         style="stroke:{$COL_BLACK};stroke-width:2"/>
+<!-- 
+               <text class="intrsymbol" 
+                         x="{$iIntr_X + 2}"
+                         y="{$iIntr_Y + 8 + ceiling($BLKD_INTR_H div 2)}">
+                               <xsl:value-of select="$iIntr_IDX"/>
+               </text>
+-->            
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="($iIntr_X + 2)"/>
+                       <xsl:with-param name="iY"               select="($iIntr_Y + 8 + ceiling($BLKD_INTR_H div 2))"/>
+                       <xsl:with-param name="iText"    select="$iIntr_IDX"/>
+                       <xsl:with-param name="iClass"   select="'intr_symbol'"/>
+               </xsl:call-template>                    
+               
+</xsl:template>
+
+
+<xsl:template name="F_draw_InterruptedProc">
+
+       <xsl:param name="iIntr_X"   select="0"/>
+       <xsl:param name="iIntr_Y"   select="0"/>
+       <xsl:param name="iIntr_IDX" select="0"/>
+       <xsl:param name="iIntr_COL" select="$COL_INTR_0"/>
+       
+               <rect  
+                       x="{$iIntr_X}"
+                       y="{$iIntr_Y}"
+                       rx="3"
+                       ry="3"
+                       width= "{ceiling($BLKD_INTR_W div 2)}" 
+                       height="{$BLKD_INTR_H}" style="fill:{$iIntr_COL}; stroke:none; stroke-width:1"/> 
+                       
+               <line x1="{$iIntr_X}" 
+                         y1="{$iIntr_Y + ceiling($BLKD_INTR_H div 4) - 2}"
+                         x2="{$iIntr_X + ceiling($BLKD_INTR_W div 2)}" 
+                         y2="{$iIntr_Y + ceiling($BLKD_INTR_H div 4) - 2}" 
+                         style="stroke:{$COL_BLACK};stroke-width:1"/>
+                         
+               <line x1="{$iIntr_X}" 
+                         y1="{$iIntr_Y + ceiling($BLKD_INTR_H div 4) + 2}"
+                         x2="{$iIntr_X + ceiling($BLKD_INTR_W div 2)}" 
+                         y2="{$iIntr_Y + ceiling($BLKD_INTR_H div 4) + 2}" 
+                         style="stroke:{$COL_BLACK};stroke-width:1"/>
+                         
+<!--
+               <text class="intrsymbol" 
+                         x="{$iIntr_X + 2}"
+                         y="{$iIntr_Y + 8 + ceiling($BLKD_INTR_H div 2)}">
+                               <xsl:value-of select="$iIntr_IDX"/>
+               </text>
+ -->                     
+               
+               <xsl:call-template name="F_WriteText">
+                       <xsl:with-param name="iX"               select="($iIntr_X + 2)"/>
+                       <xsl:with-param name="iY"               select="($iIntr_Y + 8 + ceiling($BLKD_INTR_H div 2))"/>
+                       <xsl:with-param name="iText"    select="$iIntr_IDX"/>
+                       <xsl:with-param name="iClass"   select="'intr_symbol'"/>
+               </xsl:call-template>                    
+                       
+</xsl:template>
+
+<xsl:template name="F_Calc_CStackShapesAbv_Height">
+       <xsl:param name="iCStackIndex"  select="100"/>
+       <xsl:param name="iCStackMods_Y" select="1000"/>
+       
+<!--   
+       <xsl:message>Stack Index <xsl:value-of select="$cstackIndex"/></xsl:message>
+       
+       <xsl:message>Stack Y <xsl:value-of select="$cstackModY"/></xsl:message>
+-->    
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@CSTACK_INDEX = $iCStackIndex)])">0</xsl:if>
+       
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@CSTACK_INDEX = $iCStackIndex)]">
+       
+               <xsl:variable name="shapesAbv_Heights_">
+                       <CSTACK_MOD HEIGHT="0"/>
+                       
+                       <!-- Store the heights of all the peripherals above this one heights in a variable -->
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@CSTACK_INDEX = $iCStackIndex) and (@CSTACK_MODS_Y &lt; $iCStackMods_Y))]">
+                               
+                               <xsl:variable name="shapeHeight_">
+                                       
+                                       <xsl:choose>
+                                               
+                                               <xsl:when test="@MODCLASS = 'PERIPHERAL'">
+                                                       <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                                               <xsl:with-param name="iShapeInst" select="MODULE/@INSTANCE"/>
+                                                       </xsl:call-template>    
+                                               </xsl:when>
+                                               
+                                               <xsl:when test="@MODCLASS = 'MEMORY_UNIT'">
+                                                       <xsl:call-template name="F_Calc_MemoryUnit_Height">     
+                                                               <xsl:with-param name="iShapeId" select="@SHAPE_ID"/>
+                                                       </xsl:call-template>    
+                                               </xsl:when>
+                                               
+                                               <xsl:otherwise>0</xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>Calculated height of cstack shape of type <xsl:value-of select="@MODCLASS"/> as <xsl:value-of select="$shapeHeight_"/></xsl:message>
+-->                    
+                               
+                               <CSTACK_MOD HEIGHT="{$shapeHeight_ + $BLKD_BIF_H}"/>
+                       </xsl:for-each>
+               </xsl:variable>
+               
+<!--           
+               <xsl:message>Calculated height of cstack as <xsl:value-of select="sum(exsl:node-set($shapesAbv_Heights_)/CSTACK_MOD/@HEIGHT)"/></xsl:message>
+-->            
+               
+               <xsl:value-of select="sum(exsl:node-set($shapesAbv_Heights_)/CSTACK_MOD/@HEIGHT)"/>
+       </xsl:if>
+       
+</xsl:template>
+
+
+<xsl:template name="F_Calc_PeriShape_Height">
+       <xsl:param name="iShapeInst"  select="'_shape_'"/>
+       
+<!--   
+       <xsl:message>Calculating height of <xsl:value-of select="$iShapeInst"/></xsl:message>
+-->    
+       
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H) and 
+                     not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H) and 
+                     not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H)">0</xsl:if>
+       
+       <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H)">
+               <xsl:variable name="bifs_h_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H"/>
+               
+               <xsl:value-of select="($BLKD_MOD_LABEL_H + ($BLKD_BIF_H * $bifs_h_) + ($BLKD_MOD_BIF_GAP_V * $bifs_h_) + ($BLKD_MOD_LANE_H * 2))"/>
+       </xsl:if>
+       
+       <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H)">
+               <xsl:variable name="bifs_h_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BRIDGESHAPES/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H"/>
+               
+               <xsl:value-of select="($BLKD_MOD_LABEL_H + ($BLKD_BIF_H * $bifs_h_) + ($BLKD_MOD_BIF_GAP_V * $bifs_h_) + ($BLKD_MOD_LANE_H * 2))"/>
+       </xsl:if>
+       
+       <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H)">
+               <xsl:variable name="bifs_h_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@INSTANCE = $iShapeInst)]/@BIFS_H"/>
+               
+               <xsl:value-of select="($BLKD_MOD_LABEL_H + ($BLKD_BIF_H * $bifs_h_) + ($BLKD_MOD_BIF_GAP_V * $bifs_h_) + ($BLKD_MOD_LANE_H * 2))"/>
+       </xsl:if>
+       
+</xsl:template>
+       
+<xsl:template name="F_Calc_Shape_Height">
+       <xsl:param name="iShapeId"  select="_shape_"/>
+       
+<!--   
+       <xsl:message>Calculating height of <xsl:value-of select="$shapeId"/></xsl:message>
+-->    
+       
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)])">0</xsl:if>
+       
+       <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE/@BIFS_H)">
+               <xsl:variable name="bifs_h_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE/@BIFS_H"/>
+               
+               <xsl:value-of select="($BLKD_MOD_LABEL_H + ($BIF_H * $bifs_h_) + ($BLKD_MOD_BIF_GAP_V * $bifs_h_) + ($BLKD_MOD_LANE_H * 2))"/>
+       </xsl:if>
+       
+</xsl:template>
+
+
+<xsl:template name="F_Calc_MemoryUnit_Height">
+       <xsl:param name="iShapeId"  select="1000"/>
+       
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)])">0</xsl:if>
+       
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]">
+       
+               <!-- Store the memory controller heights in a variable -->      
+               <xsl:variable name="memC_heights_">     
+                       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[(@MODCLASS = 'MEMORY_CNTLR')])">
+                               <MEM_CNTLR INSTANCE="{@INSTANCE}" HEIGHT="0"/>
+                       </xsl:if>
+                       
+                       <xsl:if test="($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[(@MODCLASS = 'MEMORY_CNTLR')])">
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[(@MODCLASS = 'MEMORY_CNTLR')]">
+                                       <xsl:variable name="memC_height_">
+                                               <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                                       <xsl:with-param name="iShapeInst" select="@INSTANCE"/>
+                                               </xsl:call-template>
+                                       </xsl:variable>
+                                       <MEM_CNTLR INSTANCE="{@INSTANCE}" HEIGHT="{$memC_height_}"/>
+                               </xsl:for-each>
+                       </xsl:if>
+               </xsl:variable>
+               
+               <!-- Store the bram heights in a variable -->   
+               <xsl:variable name="bram_heights_">     
+                       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[not(@MODCLASS = 'MEMORY_CNTLR')])">
+                               <BRAM INSTANCE="{@INSTANCE}" HEIGHT="0"/>
+                       </xsl:if>
+                       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[not(@MODCLASS = 'MEMORY_CNTLR')]">
+                               <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@SHAPE_ID = $iShapeId)]/MODULE[not(@MODCLASS = 'MEMORY_CNTLR')]">
+                                       <xsl:variable name="bram_height_">
+                                               <xsl:call-template name="F_Calc_PeriShape_Height">      
+                                                       <xsl:with-param name="iShapeInst" select="@INSTANCE"/>
+                                               </xsl:call-template>
+                                       </xsl:variable>
+                                       <BRAM INSTANCE="{@INSTANCE}" HEIGHT="{$bram_height_}"/>
+                               </xsl:for-each>
+                       </xsl:if>
+               </xsl:variable>
+               
+               <!-- Select the maximum of them -->
+               <xsl:variable name="max_bram_height_" select="math:max(exsl:node-set($bram_heights_)/BRAM/@HEIGHT)"/>
+               <xsl:variable name="max_memC_height_" select="math:max(exsl:node-set($memC_heights_)/MEM_CNTLR/@HEIGHT)"/>
+               
+               <xsl:value-of select="$max_bram_height_ + $max_memC_height_"/>
+       </xsl:if>
+
+</xsl:template>
+
+
+<xsl:template name="F_Calc_SbsBucket_Height">
+       <xsl:param name="iBucketId"  select="100"/>
+       
+<!--   
+       <xsl:message>Looking of height of bucket <xsl:value-of select="$iBucketId"/></xsl:message>
+-->    
+       <xsl:variable name="bkt_gap_" select="$BLKD_BIF_H"/>
+       
+       <xsl:if test="not($G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@BUS_INDEX = $iBucketId)])">0</xsl:if>
+       
+       <xsl:if test="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@BUS_INDEX = $iBucketId)]">
+               <xsl:variable name="mods_h_" select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@BUS_INDEX = $iBucketId)]/@MODS_H"/>
+               <xsl:value-of select="((($BLKD_MOD_BKTLANE_H * 2) + ((($BLKD_MOD_H + $BLKD_BIFC_H) * $mods_h_) + ($BLKD_MOD_BUCKET_G * ($mods_h_ - 1)))) + $bkt_gap_)"/>
+       </xsl:if>
+</xsl:template>
+       
+<!--
+       ===============================================
+       
+               Symbol Naming Functions
+       
+       ===============================================
+-->            
+       
+       
+<xsl:template name="F_generate_Proc_StackName">
+<xsl:param name="iProcInst"  select="'_unknown_'"/>
+symbol_STACK_<xsl:value-of select="$iProcInst"/>
+</xsl:template>
+       
+<xsl:template name="F_generate_Proc_GroupName">
+<xsl:param name="iProcInst"  select="'_unknown_'"/>
+symbol_GROUP_<xsl:value-of select="$iProcInst"/>
+</xsl:template>
+       
+       
+<xsl:template name="F_generate_Space_Name"><xsl:param name="iStackToEast"    select="'NONE'"/><xsl:param name="iStackToWest"  select="'NONE'"/>symbol_SPACE_WEST_<xsl:value-of select="$iStackToWest"/>_EAST_<xsl:value-of select="$iStackToEast"/></xsl:template>
+<xsl:template name="F_generate_Stack_Name"><xsl:param name="iHorizIdx"       select="'_unknown_'"/>symbol_STACK_<xsl:value-of select="$iHorizIdx"/></xsl:template>
+<xsl:template name="F_generate_Stack_SymbolName"><xsl:param name="iHorizIdx" select="'_unknown_'"/><xsl:param name="iVertiIdx" select="'_unknown_'"/>symbol_STACK_<xsl:value-of select="$iHorizIdx"/>_SHAPE_<xsl:value-of select="$iVertiIdx"/></xsl:template>
+       
+
+<!-- ======================= END UTILITY FUNCTIONS  ======================= -->
+</xsl:stylesheet>
+
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Processors.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgBLKD_Processors.xsl
new file mode 100644 (file)
index 0000000..11ab1be
--- /dev/null
@@ -0,0 +1,465 @@
+<?xml version="1.0" standalone="no"?>
+
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+           
+<!-- 
+<xsl:output method="xml" 
+                       version="1.0" 
+                       encoding="UTF-8" 
+                       indent="yes"
+               doctype-public="-//W3C//DTD SVG Tiny 1.1//EN"
+                   doctype-system="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"/>
+-->    
+                       
+
+<!-- ======================= DEF BLOCK =================================== -->
+<xsl:template name="Define_AllStacks"> 
+       
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/BCLANESPACES/BCLANESPACE[(@EAST &lt; $G_ROOT/EDKSYSTEM/BLKDIAGRAM/@STACK_HORIZ_WIDTH)]">
+                       
+               <xsl:call-template name="Define_Stack">
+                       <xsl:with-param name="iStackIdx"  select="@EAST"/>
+               </xsl:call-template>
+               
+       </xsl:for-each> 
+</xsl:template>
+       
+       
+<xsl:template name="Define_Stack"> 
+       <xsl:param name="iStackIdx"  select="100"/>
+       
+       <!-- Define the stack's peripheral shapes-->    
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and not(@MODCLASS = 'MEMORY_UNIT'))]"> 
+                       
+               <xsl:for-each select="MODULE">
+                       <xsl:variable name="modInst_" select="@INSTANCE"/>
+                       <xsl:variable name="modType_" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $modInst_)]/@MODTYPE"/>
+                       <xsl:call-template name="Define_Peripheral"> 
+                               <xsl:with-param name="iModInst"    select="$modInst_"/>
+                               <xsl:with-param name="iModType"    select="$modType_"/>
+                               <xsl:with-param name="iShapeId"    select="../@SHAPE_ID"/>
+                               <xsl:with-param name="iHorizIdx"   select="../@STACK_HORIZ_INDEX"/>
+                               <xsl:with-param name="iVertiIdx"   select="../@SHAPE_VERTI_INDEX"/>
+                       </xsl:call-template>            
+               </xsl:for-each> 
+               
+       </xsl:for-each>
+       
+       <!-- Define the stack's memory shapes-->        
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[((@STACK_HORIZ_INDEX = $iStackIdx) and (@MODCLASS='MEMORY_UNIT'))]">
+               <xsl:call-template name="Define_MemoryUnit"> 
+                       <xsl:with-param name="iShapeId"  select="@SHAPE_ID"/>
+               </xsl:call-template>
+       </xsl:for-each>
+       
+       
+       <!-- Define the stack's processors-->   
+       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[@INSTANCE and @BIFS_W and @BIFS_H and (@STACK_HORIZ_INDEX = $iStackIdx)]"> 
+               <xsl:call-template name="Define_Processor"/>            
+       </xsl:for-each> 
+               
+       <!-- Make an inventory of all the things in this processor's stack -->
+       <xsl:variable name="pstackW_">
+               <xsl:call-template name="F_Calc_Stack_Width"> 
+                       <xsl:with-param name="iStackIdx"  select="$iStackIdx"/>
+               </xsl:call-template>            
+       </xsl:variable>
+               
+       <xsl:variable name="pstackH_">
+               <xsl:call-template name="F_Calc_Stack_Height"> 
+                       <xsl:with-param name="iStackIdx"  select="$iStackIdx"/>
+               </xsl:call-template>            
+       </xsl:variable>
+       
+<!-- 
+       <xsl:message>Proc Stack Height <xsl:value-of select="$pstackH_"/></xsl:message>
+       <xsl:message>Proc Stack Height <xsl:value-of select="$pstackH_"/></xsl:message>
+-->    
+
+       <xsl:variable name="procW_"    select="$BLKD_MOD_W"/>
+       <xsl:variable name="procX_"    select="(ceiling($pstackW_ div 2) - ceiling($procW_ div 2))"/>
+       
+       <xsl:variable name="sbsGap_"   select="($BLKD_PROC2SBS_GAP + $G_Total_SharedBus_H)"/>
+
+       <xsl:variable name="stack_name_">
+               <xsl:call-template name="F_generate_Stack_Name"> 
+                       <xsl:with-param name="iHorizIdx" select="$iStackIdx"/>
+               </xsl:call-template>            
+       </xsl:variable> 
+       
+<!--   
+               <xsl:message>Horiz index<xsl:value-of select="$stackIdx"/></xsl:message>
+               <xsl:message>Drawing stack <xsl:value-of select="$stack_name_"/></xsl:message>
+-->    
+               
+               <!-- Now use all this stuff to draw the stack-->        
+               <g id="{$stack_name_}">
+                       <rect x="0"
+                                 y="0"
+                             rx="6" 
+                             ry="6" 
+                         width = "{$pstackW_}"
+                         height= "{$pstackH_}"
+                             style="fill:{$COL_BG}; stroke:none;"/>
+                       
+               
+                       <!-- First draw the the processor's peripherals-->      
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/CMPLXSHAPES/CMPLXSHAPE[(@STACK_HORIZ_INDEX = $iStackIdx)]">
+                               <xsl:sort select="@STACK_VERTI_INDEX" data-type="number"/>
+                               
+                               
+                               <xsl:variable name="shapeW_"    select="(@MODS_W * $BLKD_MOD_W)"/>
+                               <xsl:variable name="shapeX_"    select="(ceiling($pstackW_ div 2) - ceiling($shapeW_ div 2))"/>
+                               
+                               <xsl:variable name="stack_SymName_">
+                                       <xsl:call-template name="F_generate_Stack_SymbolName"> 
+                                               <xsl:with-param name="iHorizIdx" select="@STACK_HORIZ_INDEX"/>
+                                               <xsl:with-param name="iVertiIdx" select="@SHAPE_VERTI_INDEX"/>
+                                       </xsl:call-template>            
+                               </xsl:variable>
+                               
+<!--                           
+                               <xsl:message>Drawing stack peripheral <xsl:value-of select="$stack_SymName_"/></xsl:message>
+-->                            
+                               <xsl:variable name="shapeY_">
+                                       <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                                               <xsl:with-param name="iHorizIdx"  select="@STACK_HORIZ_INDEX"/>
+                                               <xsl:with-param name="iVertiIdx"  select="@SHAPE_VERTI_INDEX"/>
+                                       </xsl:call-template>
+                               </xsl:variable>  
+                               
+                               <use   x="{$shapeX_}"  y="{$shapeY_}"  xlink:href="#{$stack_SymName_}"/> 
+                       
+                       </xsl:for-each>
+                       
+                       
+                       <!-- Then draw the slave buckets for the shared busses that this processor is master to -->     
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/SBSBUCKETS/SBSBUCKET[(@STACK_HORIZ_INDEX = $iStackIdx)]">    
+                               <xsl:sort select="@SHAPE_VERTI_INDEX" data-type="number"/>
+                       
+                               <xsl:variable name="bucketW_"   select="(($BLKD_MOD_BKTLANE_W * 2) + (($BLKD_MOD_W * @MODS_W) + ($BLKD_MOD_BUCKET_G * (@MODS_W - 1))))"/>
+                               <xsl:variable name="bucketX_"   select="(ceiling($pstackW_ div 2) - ceiling($bucketW_ div 2))"/>
+                               
+                               <xsl:variable name="bucketY_">
+                                       <xsl:call-template  name="F_Calc_Stack_Shape_Y">
+                                               <xsl:with-param name="iHorizIdx"  select="@STACK_HORIZ_INDEX"/>
+                                               <xsl:with-param name="iVertiIdx"  select="@SHAPE_VERTI_INDEX"/>
+                                       </xsl:call-template>
+                               </xsl:variable>  
+                               
+<!--                           
+                               <xsl:message>SBS Bucket Y <xsl:value-of select="$bucketY_"/></xsl:message>
+-->                            
+                               
+                                <use  x="{$bucketX_}"  y="{$bucketY_}"  xlink:href="#sbsbucket_{@BUSNAME}"/> 
+                                
+                                <xsl:variable name="slavesOfTxt_">SLAVES OF <xsl:value-of select="@BUSNAME"/></xsl:variable>
+<!-- 
+                                <text class="bkt_label"
+                                          x="{$bucketX_}" 
+                                          y="{$bucketY_ - 4}"><xsl:value-of select="$slavesOfTxt_"/></text>    
+-->                                       
+                                          
+                               <xsl:call-template name="F_WriteText">
+                                       <xsl:with-param name="iX"               select="$bucketX_"/>
+                                       <xsl:with-param name="iY"               select="($bucketY_ - 4)"/>
+                                       <xsl:with-param name="iText"    select="$slavesOfTxt_"/>
+                                       <xsl:with-param name="iClass"   select="'bkt_label'"/>
+                               </xsl:call-template>    
+                               
+                                          
+                       </xsl:for-each>
+                       
+                       <!-- Then draw the the processor itself -->     
+                       <xsl:for-each select="$G_ROOT/EDKSYSTEM/BLKDIAGRAM/PROCSHAPES/MODULE[(@STACK_HORIZ_INDEX = $iStackIdx)]">
+                               <xsl:sort select="@SHAPE_VERTI_INDEX" data-type="number"/>
+                               
+                               <xsl:variable name="procY_">
+                                       <xsl:call-template name="F_Calc_Stack_Shape_Y">
+                                               <xsl:with-param name="iHorizIdx"  select="@STACK_HORIZ_INDEX"/>
+                                               <xsl:with-param name="iVertiIdx"  select="@SHAPE_VERTI_INDEX"/>
+                                       </xsl:call-template>
+                               </xsl:variable>  
+                               
+                               <xsl:variable name="stack_SymName_">
+                                       <xsl:call-template name="F_generate_Stack_SymbolName"> 
+                                               <xsl:with-param name="iHorizIdx" select="@STACK_HORIZ_INDEX"/>
+                                               <xsl:with-param name="iVertiIdx" select="@SHAPE_VERTI_INDEX"/>
+                                       </xsl:call-template>            
+                               </xsl:variable>
+                               
+                               <use   x="{$procX_}"  y="{$procY_}"  xlink:href="#{$stack_SymName_}"/> 
+               
+                       
+<!-- 
+                               <xsl:if test = "not(@IS_LIKEPROC)">
+                                       <text class="ipclass_label"
+                                               x="{$procX_}" 
+                                               y="{$procY_ - 4}">PROCESSOR</text>              
+                               </xsl:if>                       
+                                 
+                               <xsl:if test = "@IS_LIKEPROC = 'TRUE'">
+                               
+                                       <text class="ipclass_label"
+                                               x="{$procX_}" 
+                                               y="{$procY_ - 4}">USER MODULE</text>            
+                               </xsl:if>                       
+                               
+-->                            
+                       
+                               <xsl:if test = "not(@IS_LIKEPROC)">
+                                       <xsl:call-template name="F_WriteText">
+                                               <xsl:with-param name="iX"               select="$procX_"/>
+                                               <xsl:with-param name="iY"               select="($procY_ - 4)"/>
+                                               <xsl:with-param name="iText"    select="'PROCESSOR'"/>
+                                               <xsl:with-param name="iClass"   select="'ipclass_label'"/>
+                                       </xsl:call-template>                    
+                               </xsl:if>                       
+                                 
+                               <xsl:if test = "@IS_LIKEPROC = 'TRUE'">
+                                       <xsl:call-template name="F_WriteText">
+                                               <xsl:with-param name="iX"               select="$procX_"/>
+                                               <xsl:with-param name="iY"               select="($procY_ - 4)"/>
+                                               <xsl:with-param name="iText"    select="'USER MODULE'"/>
+                                               <xsl:with-param name="iClass"   select="'ipclass_label'"/>
+                                       </xsl:call-template>                    
+                               </xsl:if>
+                       
+                       </xsl:for-each>
+               </g>
+               
+</xsl:template>        
+
+
+<xsl:template name="Define_Processor">
+       <xsl:param name="iProcInst"  select="@INSTANCE"/>
+       <xsl:param name="iModType"   select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iProcInst)]/@MODTYPE"/>
+       
+       <xsl:variable name="label_y_">
+               <xsl:value-of select="$BLKD_MOD_LANE_H"/>       
+       </xsl:variable>
+       
+<!--   
+       <xsl:message>The proctype is <xsl:value-of select="$procType"/></xsl:message>   
+-->
+       
+       <xsl:variable name="procH_" select="(($BLKD_MOD_LANE_H * 2) + (($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * @BIFS_H) + ($BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>   
+       <xsl:variable name="procW_" select="(($BLKD_MOD_LANE_W * 2) + (($BLKD_BIF_W                        * @BIFS_W) + $BLKD_MOD_BIF_GAP_H))"/>        
+       
+       <xsl:variable name="procColor_">
+               <xsl:choose>
+                       <xsl:when test="contains($iModType,'microblaze')"><xsl:value-of select="$COL_PROC_BG_MB"/></xsl:when>
+                       <xsl:when test="contains($iModType,'ppc')"><xsl:value-of select="$COL_PROC_BG_PP"/></xsl:when>
+                       <xsl:otherwise>
+                               <xsl:value-of select="$COL_PROC_BG_USR"/>       
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+<!--   
+       <xsl:message>The proc color is <xsl:value-of select="$procColor"/></xsl:message>        
+-->    
+       
+       <xsl:variable name="procName_">
+               <xsl:call-template name="F_generate_Stack_SymbolName"> 
+                       <xsl:with-param name="iHorizIdx" select="@STACK_HORIZ_INDEX"/>
+                       <xsl:with-param name="iVertiIdx" select="@SHAPE_VERTI_INDEX"/>
+               </xsl:call-template>            
+       </xsl:variable> 
+       
+<!--   
+       <xsl:message>The proc name is <xsl:value-of select="$procName_"/></xsl:message> 
+-->    
+       
+    <g id="{$procName_}">
+
+               <rect x="0"
+                     y="0"
+                         rx="6" 
+                         ry="6" 
+                     width = "{$procW_}"
+                     height= "{$procH_}"
+                         style="fill:{$procColor_}; stroke:{$COL_WHITE}; stroke-width:2"/>             
+                         
+                         
+               <rect x="{ceiling($procW_ div 2) - ceiling($BLKD_MOD_LABEL_W div 2)}"
+                     y="{$BLKD_MOD_LANE_H}"
+                         rx="3" 
+                         ry="3" 
+                     width= "{$BLKD_MOD_LABEL_W}"
+                     height="{$BLKD_MOD_LABEL_H}"
+                         style="fill:{$COL_WHITE}; stroke:none;"/>             
+<!-- 
+               <text class="bciptype" 
+                         x="{ceiling($procW_ div 2)}"
+                         y="{$BLKD_MOD_LANE_H + 8}">
+                               <xsl:value-of select="$iModType"/>
+               </text>
+                               
+               <text class="bciplabel" 
+                         x="{ceiling($procW_ div 2)}"
+                         y="{$BLKD_MOD_LANE_H + 16}">
+                               <xsl:value-of select="$iProcInst"/>
+          </text>
+-->                      
+                         
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($procW_ div 2)"/>
+                               <xsl:with-param name="iY"               select="($BLKD_MOD_LANE_H + 8)"/>
+                               <xsl:with-param name="iText"    select="$iModType"/>
+                               <xsl:with-param name="iClass"   select="'bc_iptype'"/>
+                       </xsl:call-template>                    
+                       
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($procW_ div 2)"/>
+                               <xsl:with-param name="iY"               select="($BLKD_MOD_LANE_H + 16)"/>
+                               <xsl:with-param name="iText"    select="$iProcInst"/>
+                               <xsl:with-param name="iClass"   select="'bc_ipinst'"/>
+                       </xsl:call-template>                    
+                                       
+          
+          
+               <xsl:if test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iProcInst)]/@GROUP">
+               
+                       <rect x="{ceiling($BLKD_MOD_W div 2) - ceiling($BLKD_MOD_LABEL_W div 2)}"
+                             y="{$BLKD_MOD_LANE_H + $BIF_H  + ceiling($BLKD_BIF_H div 3) - 2}"
+                                 rx="3" 
+                                 ry="3" 
+                             width= "{$BLKD_MOD_LABEL_W}"
+                             height="{$BLKD_BIF_H}"
+                                 style="fill:{$COL_IORING_LT}; stroke:none;"/>         
+<!-- 
+                          <text class="ioplblgrp"  
+                                         x="{ceiling($BLKD_MOD_W div 2)}" 
+                                         y="{$BLKD_MOD_LANE_H + $BIF_H + ceiling($BIF_H div 3) + 12}">
+                                  <xsl:value-of select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iProcInst)]/@GROUP"/>
+                               </text>
+-->            
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="ceiling($BLKD_MOD_W div 2)"/>
+                               <xsl:with-param name="iY"               select="($BLKD_MOD_LANE_H + $BIF_H + ceiling($BIF_H div 3) + 12)"/>
+                               <xsl:with-param name="iText"    select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iProcInst)]/@GROUP"/>
+                               <xsl:with-param name="iClass"   select="'iogrp_label'"/>
+                       </xsl:call-template>                    
+          
+               </xsl:if> 
+          
+          
+               <xsl:for-each select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iProcInst)]/BUSINTERFACE[(@BIF_X and @BIF_Y)]">
+                       
+                       <xsl:variable name="bifBusStd_">
+                               <xsl:choose>
+                                       <xsl:when test="@BUSSTD">
+                                               <xsl:value-of select="@BUSSTD"/>        
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:value-of select="'TRS'"/>  
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="bifBusColor_">
+                               <xsl:call-template name="F_BusStd2RGB">
+                                       <xsl:with-param name="iBusStd" select="$bifBusStd_"/>
+                               </xsl:call-template>
+                       </xsl:variable>
+               
+                       
+                       <xsl:variable name="bifName_">
+                               <xsl:choose>
+                                       <xsl:when test="string-length(@NAME) &lt;= 5">
+                                               <xsl:value-of select="@NAME"/>  
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:value-of select="substring(@NAME,0,5)"/>   
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="bif_x_"  select="(( $BLKD_BIF_W * @BIF_X) + ($BLKD_MOD_BIF_GAP_H * @BIF_X) + ($BLKD_MOD_LANE_W * 1))"/>
+                       <xsl:variable name="bif_y_"  select="((($BLKD_BIF_H + $BLKD_MOD_BIF_GAP_V) * @BIF_Y) + ($BLKD_MOD_LANE_H + $BLKD_MOD_LABEL_H + $BLKD_MOD_BIF_GAP_V))"/>
+                       
+                       <xsl:variable name="horz_line_y_" select="($bif_y_ + ceiling($BLKD_BIFC_H div 2))"/>
+                       
+                       <xsl:variable name="horz_line_x1_">
+                               <xsl:choose>
+                                       <xsl:when test="@BIF_X = '0'">0</xsl:when>
+                                       <xsl:otherwise><xsl:value-of select="($BLKD_MOD_W - $BLKD_MOD_LANE_W)"/></xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="horz_line_x2_">
+                               <xsl:choose>
+                                       <xsl:when test="@BIF_X = '0'"><xsl:value-of select="$BLKD_MOD_LANE_W"/></xsl:when>
+                                       <xsl:otherwise><xsl:value-of select="$BLKD_MOD_W + 1"/></xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       
+                       <line x1="{$horz_line_x1_}" 
+                                 y1="{$horz_line_y_ - 2}"
+                             x2="{$horz_line_x2_}" 
+                             y2="{$horz_line_y_ - 2}" 
+                             style="stroke:{$bifBusColor_};stroke-width:1"/>
+                         
+                       <use  x="{$bif_x_}"   y="{$bif_y_}"  xlink:href="#{$bifBusStd_}_BifLabel"/>
+                               
+<!-- 
+                       <text class="bif_label" 
+                                 x="{$bif_x_ + ceiling($BIF_W div 2)}"
+                                 y="{$bif_y_ + ceiling($BIF_H div 2) + 3}">
+                                       <xsl:value-of select="$bifName_"/>
+                       </text>
+-->                            
+                       
+                       <xsl:call-template name="F_WriteText">
+                               <xsl:with-param name="iX"               select="($bif_x_ + ceiling($BIF_W div 2))"/>
+                               <xsl:with-param name="iY"               select="($bif_y_ + ceiling($BIF_H div 2) + 3)"/>
+                               <xsl:with-param name="iText"    select="$bifName_"/>
+                               <xsl:with-param name="iClass"   select="'bif_label'"/>
+                       </xsl:call-template>                    
+                       
+               </xsl:for-each>
+               
+               <xsl:variable name="intcIdx_">
+                       <xsl:choose>
+                               <xsl:when test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iProcInst)]/INTERRUPTINFO/@INTC_INDEX">
+                                       <xsl:value-of select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $iProcInst)]/INTERRUPTINFO/@INTC_INDEX"/>
+                               </xsl:when>
+                               <xsl:otherwise>"_no_interrupt_cntlr_"</xsl:otherwise>
+                       </xsl:choose>
+               </xsl:variable>
+                       
+<!--           
+               <xsl:message> The intc index should <xsl:value-of select="$interrupt_cntlr_"/></xsl:message>
+               <xsl:message> The intc index is <xsl:value-of select="/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $interrupt_cntlr_)]/@INTC_INDEX"/></xsl:message>
+-->            
+               <xsl:if test="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(INTERRUPTINFO[(@INTC_INDEX = $intcIdx_)])]">
+                       
+                       <xsl:variable name="intrColor_">
+                               <xsl:call-template name="F_IntcIdx2RGB">
+                                       <xsl:with-param name="iIntcIdx" select="$intcIdx_"/>
+<!-- 
+                                       <xsl:with-param name="iIntcIdx" select="$G_ROOT/EDKSYSTEM/MODULES/MODULE[(@INSTANCE = $interrupt_cntlr_)]/INTERRUPTINFO/@INTC_INDEX"/>
+ -->                           
+                               </xsl:call-template>    
+                       </xsl:variable>
+                       
+                       <xsl:call-template name="F_draw_InterruptedProc">
+                               <xsl:with-param name="iIntr_X"   select="($BLKD_MOD_W - ceiling($BLKD_INTR_W div 2))"/>
+                               <xsl:with-param name="iIntr_Y"   select="3"/>
+                               <xsl:with-param name="iIntr_COL" select="$intrColor_"/>
+                               <xsl:with-param name="iIntr_IDX" select="$intcIdx_"/>
+                       </xsl:call-template>    
+               </xsl:if>
+       </g>                      
+       
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgDiag_BifShapes.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/.dswkshop/MdtTinySvgDiag_BifShapes.xsl
new file mode 100644 (file)
index 0000000..160f2d8
--- /dev/null
@@ -0,0 +1,271 @@
+<?xml version="1.0" standalone="no"?>
+<xsl:stylesheet  version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+           
+<!-- 
+<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"
+              doctype-public="-//W3C//DTD SVG 1.0//EN"
+                  doctype-system="http://www.w3.org/TR/SVG/DTD/svg10.dtd"/>
+-->                    
+
+<!-- ======================= DEF BLOCK =================================== -->
+
+<xsl:template name="Define_ConnectedBifTypes">
+
+       <xsl:for-each select="exsl:node-set($COL_BUSSTDS)/BUSCOLOR">
+               <xsl:variable name="busStd_" select="@BUSSTD"/>
+               <xsl:variable name="psfStd_" select="@BUSSTD_PSF"/>
+               <xsl:for-each select="$G_SYS_MODS"> 
+                       <xsl:variable name="bif_by_busStd_"  select="key('G_MAP_ALL_BIFS',$busStd_)[((@IS_INSTANTIATED = 'TRUE') or (@IS_INMHS = 'TRUE'))]"/>
+                       <xsl:variable name="num_of_busStd_"  select="count($bif_by_busStd_)"/>
+                       
+                       <xsl:variable name="bif_by_psfStd_"  select="key('G_MAP_ALL_BIFS',$psfStd_)[((@IS_INSTANTIATED = 'TRUE') or  (@IS_INMHS = 'TRUE'))]"/>
+                       <xsl:variable name="num_of_psfStd_"  select="count($bif_by_psfStd_)"/>                  
+                       <!-- 
+                       <xsl:message>DEBUG : <xsl:value-of select="$busStd_"/> : <xsl:value-of select="$num_of_busStd_"/> : <xsl:value-of select="$num_of_psfStd_"/></xsl:message>
+                       <xsl:variable name="bif_by_busStd_"  select="key('G_MAP_ALL_BIFS',$busStd_)[(@IS_INSTANTIATED = 'TRUE')]"/>
+                       <xsl:variable name="num_of_busStd_"  select="count($bif_by_busStd_)"/>
+                        -->
+                       <xsl:if test="(($num_of_busStd_ &gt; 0) or ($num_of_psfStd_ &gt; 0))">
+                               <xsl:if test="($num_of_busStd_ &gt; 0)">
+                                       <xsl:call-template name="Define_BifLabel"> 
+                                               <xsl:with-param name="iBusStd"  select="$busStd_"/>
+                                       </xsl:call-template>
+                               </xsl:if>
+                               <xsl:if test="($num_of_psfStd_ &gt; 0)">
+                                       <xsl:call-template name="Define_BifLabel"> 
+                                               <xsl:with-param name="iBusStd"  select="$psfStd_"/>
+                                       </xsl:call-template>
+                               </xsl:if>                                       
+                               <xsl:for-each select="exsl:node-set($G_BIFTYPES)/BIFTYPE">
+                                       <xsl:variable name="bifType_" select="@TYPE"/>
+                                       
+                                       <xsl:variable name="num_of_bifType_"  select="count($bif_by_busStd_[(@TYPE = $bifType_)])"/>
+                                       <!-- 
+                                       <xsl:message>DEBUG     : <xsl:value-of select="$bifType_"/> : <xsl:value-of select="$num_of_bifType_"/></xsl:message>
+                                        -->
+                                       
+                                       <xsl:if test="($num_of_bifType_ &gt; 0)">
+                                               <xsl:if test="($num_of_busStd_ &gt; 0)">
+                                                       <xsl:call-template name="Define_BifTypeConnector"> 
+                                                               <xsl:with-param name="iBusStd"  select="$busStd_"/>
+                                                               <xsl:with-param name="iBifType" select="$bifType_"/>
+                                                       </xsl:call-template>
+                                               </xsl:if>
+                                               <xsl:if test="($num_of_psfStd_ &gt; 0)">
+                                                       <xsl:call-template name="Define_BifTypeConnector"> 
+                                                               <xsl:with-param name="iBusStd"  select="$busStd_"/>
+                                                               <xsl:with-param name="iBifType" select="$bifType_"/>
+                                                       </xsl:call-template>
+                                               </xsl:if>                                               
+                                       </xsl:if>
+                               </xsl:for-each>
+                       </xsl:if>
+               </xsl:for-each>
+       </xsl:for-each>                 
+               
+       <xsl:call-template name="Define_BifLabel"> 
+               <xsl:with-param name="iBusStd"  select="'KEY'"/>
+       </xsl:call-template>
+       
+       <xsl:for-each select="exsl:node-set($G_BIFTYPES)/BIFTYPE">
+               <xsl:variable name="bifType_" select="@TYPE"/>
+       
+               <xsl:call-template name="Define_BifTypeConnector"> 
+                       <xsl:with-param name="iBusStd"  select="'KEY'"/>
+                       <xsl:with-param name="iBifType" select="$bifType_"/>
+               </xsl:call-template>
+                       
+       </xsl:for-each> 
+
+</xsl:template>
+
+<xsl:template name="Define_BifLabel"> 
+       
+       <xsl:param name="iBusStd" select="'USER'"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+                       
+    <g id="{$iBusStd}_BifLabel">
+               <rect x="0"  
+                         y="0" 
+                         rx="3"
+                         ry="3"
+                         width= "{$BIF_W}" 
+                         height="{$BIF_H}" 
+                         style="fill:{$busStdColor_}; stroke:black; stroke-width:1"/> 
+       </g>
+       
+</xsl:template>
+
+
+<xsl:template name="Define_BifTypeConnector"> 
+       
+       <xsl:param name="iBusStd"     select="'USER'"/>
+       <xsl:param name="iBifType"    select="'USER'"/>
+       
+       <xsl:variable name="busStdColor_">
+               <xsl:call-template name="F_BusStd2RGB">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="busStdColor_lt_">
+               <xsl:call-template name="F_BusStd2RGB_LT">
+                       <xsl:with-param name="iBusStd" select="$iBusStd"/>
+               </xsl:call-template>    
+       </xsl:variable>
+       
+       <xsl:variable name="bifc_wi_" select="ceiling($BIFC_W div 3)"/>
+       <xsl:variable name="bifc_hi_" select="ceiling($BIFC_H div 3)"/>
+       
+       <xsl:choose>
+       
+               <xsl:when test="$iBifType = 'SLAVE'">
+               <g id="{$iBusStd}_busconn_{$iBifType}">
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2)}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_W  div 2)}" 
+                                       style="fill:{$busStdColor_lt_}; stroke:{$busStdColor_}; stroke-width:1"/> 
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2) + 0.5}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_Wi div 2)}" 
+                                       style="fill:{$busStdColor_}; stroke:none;"/> 
+                       </g>
+               </xsl:when>
+       
+               <xsl:when test="$iBifType = 'MASTER'">
+               <g id="{$iBusStd}_busconn_{$iBifType}">
+                               <rect x="0"  
+                                         y="0" 
+                                         width= "{$BIFC_W}" 
+                                         height="{$BIFC_H}" 
+                                         style="fill:{$busStdColor_lt_}; stroke:{$busStdColor_}; stroke-width:1"/> 
+                               <rect x="{$BIFC_dx + 0.5}"  
+                                         y="{$BIFC_dy}" 
+                                         width= "{$BIFC_Wi}" 
+                                         height="{$BIFC_Hi}" 
+                                         style="fill:{$busStdColor_}; stroke:none;"/> 
+                       </g>
+               </xsl:when>
+               
+               <xsl:when test="$iBifType = 'INITIATOR'">
+               <g id="{$iBusStd}_busconn_{$iBifType}">
+                               <rect x="0"  
+                                         y="0" 
+                                 width= "{$BIFC_W}" 
+                                 height="{$BIFC_H}" 
+                                 style="fill:{$busStdColor_lt_}; stroke:{$busStdColor_}; stroke-width:1"/> 
+                               <rect x="{$BIFC_dx + 0.5}"  
+                                         y="{$BIFC_dy}" 
+                                 width= "{$BIFC_Wi}" 
+                                 height="{$BIFC_Hi}" 
+                                     style="fill:{$busStdColor_}; stroke:none;"/> 
+                       </g>
+               </xsl:when>
+               
+               <xsl:when test="$iBifType = 'TARGET'">
+               <g id="{$iBusStd}_busconn_{$iBifType}">
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2)}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_W  div 2)}" 
+                                       style="fill:{$busStdColor_lt_}; stroke:{$busStdColor_}; stroke-width:1"/> 
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2) + 0.5}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_Wi div 2)}" 
+                                       style="fill:{$busStdColor_}; stroke:none;"/> 
+                       </g>
+               </xsl:when>
+               
+               <xsl:when test="$iBifType = 'MASTER_SLAVE'">
+               <g id="{$iBusStd}_busconn_{$iBifType}">
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2)}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_W  div 2)}" 
+                                       style="fill:{$busStdColor_lt_}; stroke:{$busStdColor_}; stroke-width:1"/> 
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2) + 0.5}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_Wi div 2)}" 
+                                       style="fill:{$busStdColor_}; stroke:none;"/> 
+                               <rect 
+                                       x="0"  
+                                       y="{ceiling($BIFC_H div 2)}" 
+                                       width= "{$BIFC_W}" 
+                                       height="{ceiling($BIFC_H div 2)}" 
+                                       style="fill:{$busStdColor_lt_}; stroke:{$busStdColor_}; stroke-width:1"/> 
+                               <rect 
+                                       x="{$BIFC_dx + 0.5}"  
+                                       y="{ceiling($BIFC_H div 2)}" 
+                                       width= "{$BIFC_Wi}" 
+                                       height="{ceiling($BIFC_Hi div 2)}" 
+                                       style="fill:{$busStdColor_}; stroke:none;"/> 
+                       </g>
+               </xsl:when>
+               
+               <xsl:when test="$iBifType = 'MONITOR'">
+                       <g id="{$iBusStd}_busconn_{$iBifType}">
+                               <rect 
+                                       x="0"  
+                                       y="0.5" 
+                                       width= "{$BIFC_W}" 
+                                       height="{ceiling($BIFC_Hi div 2)}" 
+                                       style="fill:{$busStdColor_}; stroke:none;"/> 
+                               <rect 
+                                       x="0"  
+                                       y="{ceiling($BIFC_H div 2) + 4}" 
+                                       width= "{$BIFC_W}" 
+                                       height="{ceiling($BIFC_Hi div 2)}" 
+                                       style="fill:{$busStdColor_}; stroke:none;"/> 
+                       </g>
+               </xsl:when>
+               
+               <xsl:when test="$iBifType  = 'USER'">
+               <g id="{$iBusStd}_busconn_USER">
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2)}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_W  div 2)}" 
+                                       style="fill:{$busStdColor_lt_}; stroke:{$busStdColor_}; stroke-width:1"/> 
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2) + 0.5}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_Wi div 2)}" 
+                                       style="fill:{$busStdColor_}; stroke:none;"/> 
+                       </g>
+               </xsl:when>
+               
+               <xsl:otherwise>
+               <g id="{$iBusStd}_busconn_{$iBifType}">
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2)}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_W  div 2)}" 
+                                       style="fill:{$COL_WHITE}; stroke:{$busStdColor_}; stroke-width:1"/> 
+                               <circle 
+                                       cx="{ceiling($BIFC_W div 2) + 0.5}"  
+                                       cy="{ceiling($BIFC_H div 2)}" 
+                                       r="{ceiling($BIFC_Wi div 2)}" 
+                                       style="fill:{$COL_WHITE}; stroke:none;"/> 
+                       </g>
+               </xsl:otherwise>
+       </xsl:choose>
+       
+</xsl:template>
+
+
+</xsl:stylesheet>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/bitinit.opt b/Demo/MicroBlaze_Spartan-6_SP605/__xps/bitinit.opt
new file mode 100644 (file)
index 0000000..7d88d37
--- /dev/null
@@ -0,0 +1 @@
+ -p xc6slx45tfgg484-3\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_globals.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_globals.xsl
new file mode 100644 (file)
index 0000000..9249c08
--- /dev/null
@@ -0,0 +1,263 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE stylesheet [
+       <!ENTITY UPPERCASE "ABCDEFGHIJKLMNOPQRSTUVWXYZ">
+       <!ENTITY LOWERCASE "abcdefghijklmnopqrstuvwxyz">
+       
+       <!ENTITY UPPER2LOWER " '&UPPERCASE;' , '&LOWERCASE;' ">
+       <!ENTITY LOWER2UPPER " '&LOWERCASE;' , '&UPPERCASE;' ">
+       
+       <!ENTITY ALPHALOWER "ABCDEFxX0123456789">
+       <!ENTITY HEXUPPER "ABCDEFxX0123456789">
+       <!ENTITY HEXLOWER "abcdefxX0123456789">
+       <!ENTITY HEXU2L " '&HEXLOWER;' , '&HEXUPPER;' ">
+       
+       <!ENTITY ALLMODS "MODULE[(@INSTANCE)]">
+       <!ENTITY BUSMODS "MODULE[(@MODCLASS ='BUS')]">
+       <!ENTITY CPUMODS "MODULE[(@MODCLASS ='PROCESSOR')]">
+       
+       <!ENTITY MODIOFS "MODULE/IOINTERFACES/IOINTERFACE">
+       <!ENTITY ALLIOFS "&MODIOFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+       
+       <!ENTITY MODBIFS "MODULE/BUSINTERFACES/BUSINTERFACE">
+       <!ENTITY ALLBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+       <!ENTITY MSTBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and  (@TYPE = 'MASTER')]">
+       <!ENTITY SLVBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and  (@TYPE = 'SLAVE')]">
+       <!ENTITY MOSBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ((@TYPE = 'MASTER') or (@TYPE = 'SLAVE'))]">
+       <!ENTITY P2PBIFS "&MODBIFS;[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ((@TYPE = 'TARGET') or (@TYPE = 'INITIATOR'))]">       
+       
+       <!ENTITY MODPORTS "MODULE/PORTS/PORT">
+       <!ENTITY ALLPORTS "&MODPORTS;[ (not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+       <!ENTITY NDFPORTS "&MODPORTS;[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (not(@BUS) and not(@IOS)))]">
+       <!ENTITY DEFPORTS "&MODPORTS;[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ((@BUS) or (@IOS)))]">
+]>
+
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+           
+<xsl:variable name="G_ROOT"     select="/"/>
+
+
+
+<!--   
+       ======================================================
+                       EDK SYSTEM (EDWARD) Globals.    
+       ======================================================
+-->    
+<xsl:variable name="G_SYS_EVAL">
+       <xsl:choose>
+          <xsl:when test="not($P_SYSTEM_XML = '__UNDEF__')"><xsl:text>document($P_SYSTEM_XML)</xsl:text></xsl:when>
+           <xsl:otherwise><xsl:text>/</xsl:text></xsl:otherwise>
+       </xsl:choose>
+</xsl:variable>
+
+<xsl:variable name="G_SYS_DOC"           select="dyn:evaluate($G_SYS_EVAL)"/>
+<xsl:variable name="G_SYS"               select="$G_SYS_DOC/EDKSYSTEM"/>
+<xsl:variable name="G_SYS_TIMESTAMP"  select="$G_SYS/@TIMESTAMP"/>
+<xsl:variable name="G_SYS_EDKVERSION" select="$G_SYS/@EDKVERSION"/>
+
+<xsl:variable name="G_SYS_INFO"          select="$G_SYS/SYSTEMINFO"/>
+<xsl:variable name="G_SYS_INFO_PKG"   select="$G_SYS_INFO/@PACKAGE"/>
+<xsl:variable name="G_SYS_INFO_DEV"   select="$G_SYS_INFO/@DEVICE"/>
+<xsl:variable name="G_SYS_INFO_ARCH"  select="$G_SYS_INFO/@ARCH"/>
+<xsl:variable name="G_SYS_INFO_SPEED" select="$G_SYS_INFO/@SPEEDGRADE"/>
+
+<xsl:variable name="G_SYS_MODS"          select="$G_SYS/MODULES"/>
+<xsl:variable name="G_SYS_EXPS"          select="$G_SYS/EXTERNALPORTS"/>
+
+<xsl:variable name="COL_FOCUSED_MASTER"                        select="'AAAAFF'"/>
+<xsl:variable name="COL_BG_OUTOF_FOCUS_CONNECTIONS" select="'AA7711'"/>
+
+<!--  INDEX KEYS FOR FAST ACCESS  -->
+<xsl:key name="G_MAP_MODULES"          match="&ALLMODS;" use="@INSTANCE"/>
+<xsl:key name="G_MAP_PROCESSORS"       match="&CPUMODS;" use="@INSTANCE"/>
+
+<xsl:key name="G_MAP_BUSSES"                   match="&BUSMODS;" use="@INSTANCE"/>
+<xsl:key name="G_MAP_BUSSES"                   match="&BUSMODS;" use="@BUSSTD"/>
+<xsl:key name="G_MAP_BUSSES"           match="&BUSMODS;" use="@BUSSTD_PSF"/>
+
+<xsl:key name="G_MAP_ALL_IOFS"         match="&ALLIOFS;" use="../../@INSTANCE"/>
+<xsl:key name="G_MAP_ALL_BIFS"         match="&ALLBIFS;" use="../../@INSTANCE"/>
+
+<xsl:key name="G_MAP_ALL_BIFS_BY_BUS" match="&ALLBIFS;" use="@BUSNAME"/>
+<!-- 
+ -->
+
+<xsl:key name="G_MAP_MST_BIFS"         match="&MSTBIFS;" use="@BUSNAME"/>
+<xsl:key name="G_MAP_SLV_BIFS"         match="&SLVBIFS;" use="@BUSNAME"/>
+<xsl:key name="G_MAP_MOS_BIFS"         match="&MOSBIFS;" use="@BUSNAME"/>
+
+<xsl:key name="G_MAP_P2P_BIFS"         match="&P2PBIFS;" use="@BUSNAME"/>
+<xsl:key name="G_MAP_P2P_BIFS"         match="&P2PBIFS;" use="@BUSSTD"/>
+<xsl:key name="G_MAP_P2P_BIFS"         match="&P2PBIFS;" use="@BUSSTD_PSF"/>
+
+<xsl:key name="G_MAP_ALL_PORTS"        match="&ALLPORTS;" use="../../@INSTANCE"/>
+<xsl:key name="G_MAP_DEF_PORTS"        match="&DEFPORTS;" use="../../@INSTANCE"/> <!-- Default ports -->
+<xsl:key name="G_MAP_NDF_PORTS"        match="&NDFPORTS;" use="../../@INSTANCE"/> <!-- Non Default ports -->
+
+<!--
+<xsl:key name="G_MAP_MASTER_BIFS"        match="&MSTBIFS;" use="@BUSNAME"/>
+<xsl:key name="G_MAP_MASTER_BIFS"        match="MODULE[not(@MODCLASS ='BUS')]/BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (@TYPE = 'MASTER')]" use="../../@INSTANCE.@NAME"/>
+<xsl:key name="G_MAP_BUSSES_BY_INSTANCE" match="MODULE[(@MODCLASS ='BUS')]" use="@INSTANCE"/>
+<xsl:key name="G_MAP_XB_BUSSES" match="MODULE[(@MODCASS ='BUS')and (@IS_CROSSBAR)]" use="@INSTANCE"/>
+ -->
+<!--   
+       ======================================================
+                Groups.xml (BLOCKS) Globals    
+       ======================================================
+-->    
+<xsl:variable name="G_GRP_EVAL">
+       <xsl:choose>
+          <xsl:when test="not($P_GROUPS_XML = '__UNDEF__')"><xsl:text>document($P_GROUPS_XML)</xsl:text></xsl:when>
+           <xsl:otherwise><xsl:text>/</xsl:text></xsl:otherwise>
+       </xsl:choose>
+</xsl:variable>
+
+<xsl:variable name="G_GRPS_DOC" select="dyn:evaluate($G_GRP_EVAL)"/>
+<xsl:variable name="G_GROUPS"  select="$G_GRPS_DOC/BLOCKS"/>
+
+<xsl:variable name="G_NUM_OF_PROCS"            select="count($G_SYS/MODULES/MODULE[(@MODCLASS = 'PROCESSOR')])"/>
+<xsl:variable name="G_NUM_OF_PROCS_W_ADDRS" select="count($G_SYS/MODULES/MODULE[(@MODCLASS = 'PROCESSOR') and MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]])"/>
+
+<xsl:variable name="G_FOCUSED_SCOPE">
+    <xsl:choose>
+    
+        <!--  FOCUSING ON SPECIFIC SELECTIONS-->
+        <xsl:when test="$G_ROOT/SAV/SELECTION">
+        </xsl:when>
+        
+        <!--  FOCUSING ON PROCESSOR -->
+        <xsl:when test="$G_ROOT/SAV/MASTER">
+                       <xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>FOCUSED MASTERS SPECIFIED</xsl:message></xsl:if>
+               <xsl:for-each select="$G_ROOT/SAV/MASTER">
+                       <xsl:variable name="m_inst_"  select="@INSTANCE"/>
+                               <xsl:variable name="m_mod_"   select="$G_SYS_MODS/MODULE[(@INSTANCE = $m_inst_)]"/>
+                       <xsl:for-each select="$m_mod_/BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and not(@BUSNAME = '__NOC__') and ((@TYPE = 'MASTER') or (@TYPE = 'SLAVE') or (@TYPE = 'INITIATOR') or (@TYPE = 'TARGET'))]">
+                                       <xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>  FOCUSED MASTER BIF <xsl:value-of select="$m_inst_"/>.<xsl:value-of select="@NAME"/> = <xsl:value-of select="@BUSNAME"/></xsl:message></xsl:if>
+                                       <xsl:variable name="b_bus_"   select="@BUSNAME"/>
+                               <BUS NAME="{@BUSNAME}" BUSSTD="{@BUSSTD}"/>
+                               <xsl:for-each select="$G_SYS_MODS/MODULE[(not(@INSTANCE = $m_inst_) and (@MODCLASS = 'BUS_BRIDGE'))]/BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (@TYPE = 'SLAVE') and (@BUSNAME = $b_bus_)]">
+                                               <xsl:variable name="b_inst_" select="../../@INSTANCE"/>
+                                       <xsl:choose>
+                                               <xsl:when test="MASTERS/MASTER">
+                                                               <xsl:for-each select="MASTERS/MASTER">
+                                                                       <xsl:variable name="sm_inst_" select="@INSTANCE"/>
+                                                                       <xsl:if test="count($G_ROOT/SAV/MASTER[(@INSTANCE = $sm_inst_)]) &gt; 0">
+                                                                               <xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>  FOCUSED PERIPHERAL BRIDGE <xsl:value-of select="$b_inst_"/></xsl:message></xsl:if>
+                                                                               <PERIPHERAL NAME="{$b_inst_}"/>
+                                                                       </xsl:if>
+                                                               </xsl:for-each>
+                                                       </xsl:when>     
+                                               <xsl:otherwise>
+                                                               <xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>  FOCUSED PERIPHERAL BRIDGE <xsl:value-of select="$b_inst_"/></xsl:message></xsl:if>
+                                               <PERIPHERAL NAME="{$b_inst_}"/>
+                                               </xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:for-each> 
+                       </xsl:for-each>
+                       <xsl:for-each select="$m_mod_/PERIPHERALS/PERIPHERAL">
+                               <xsl:variable name="p_id_"  select="@INSTANCE"/>
+                               <xsl:variable name="p_mod_" select="$G_SYS_MODS/MODULE[@INSTANCE = $p_id_]"/>
+                           <PERIPHERAL NAME="{@INSTANCE}"/>
+                               <xsl:variable name="p_mr_cnt_"  select="count($m_mod_/MEMORYMAP/MEMRANGE[(@INSTANCE = $p_id_)])"/>
+                                       <xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>  FOCUSED PERIPHERAL <xsl:value-of select="$p_id_"/> has <xsl:value-of select="$p_mr_cnt_"/> memory ranges</xsl:message></xsl:if>
+                                       <xsl:for-each select="$m_mod_/MEMORYMAP/MEMRANGE[(@INSTANCE = $p_id_)]/ACCESSROUTE/ROUTEPNT">
+                                       <xsl:variable name="b_id_"  select="@INSTANCE"/>
+                                               <xsl:for-each select="$G_SYS_MODS/MODULE[((@INSTANCE = $b_id_) and (@MODCLASS = 'BUS'))]">
+                                                       <xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>  FOCUSED PERIPHERAL BUS <xsl:value-of select="@INSTANCE"/></xsl:message></xsl:if>
+                                               <BUS NAME="{@INSTANCE}" BUSSTD="{@BUSSTD}"/> 
+                                       </xsl:for-each>
+                               </xsl:for-each>
+                       </xsl:for-each>
+               </xsl:for-each>
+        </xsl:when>
+        
+        <!--  FOCUSING ON BUS -->
+       <xsl:when test="$G_ROOT/SAV/BUS">
+                       <xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>FOCUSED BUSSES SPECIFIED</xsl:message></xsl:if>
+               <xsl:for-each select="$G_ROOT/SAV/BUS">
+                       <xsl:variable name="m_inst_"  select="@INSTANCE"/>
+                               <xsl:variable name="m_mod_"   select="$G_SYS_MODS/MODULE[(@INSTANCE = $m_inst_)]"/>
+                               <xsl:variable name="m_bstd_"  select="$m_mod_/@BUSSTD"/>
+                               <BUS NAME="{$m_inst_}" BUSSTD="{$m_bstd_}"/> 
+                               <xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>  FOCUSED BUS <xsl:value-of select="$m_inst_"/> <xsl:value-of select="$m_bstd_"/></xsl:message></xsl:if>
+                       </xsl:for-each> 
+       </xsl:when>
+    </xsl:choose>
+</xsl:variable>
+
+<xsl:variable name="G_HAVE_XB_BUSSES">
+       <xsl:choose>
+               <xsl:when test="(count($G_SYS_MODS/MODULE[((@MODCLASS = 'BUS') and (@IS_CROSSBAR = 'TRUE'))]) &gt; 0)">TRUE</xsl:when>
+               <xsl:otherwise>FALSE</xsl:otherwise>
+       </xsl:choose>
+</xsl:variable>                        
+                       
+<xsl:template name="F_ModClass_To_IpClassification">
+       <xsl:param name="iModClass" select="'NONE'"/>
+       <xsl:param name="iBusStd"   select="'NONE'"/>
+       <xsl:choose>
+               <xsl:when test="$iModClass = 'BUS'"><xsl:value-of select="$iBusStd"/> Bus</xsl:when>
+               <xsl:when test="$iModClass = 'DEBUG'">Debug</xsl:when>
+               <xsl:when test="$iModClass = 'MEMORY'">Memory</xsl:when>
+               <xsl:when test="$iModClass = 'MEMORY_CNTLR'">Memory Controller</xsl:when>
+               <xsl:when test="$iModClass = 'INTERRUPT_CNTLR'">Interrupt Controller</xsl:when>
+               <xsl:when test="$iModClass = 'PERIPHERAL'">Peripheral</xsl:when>
+               <xsl:when test="$iModClass = 'PROCESSOR'">Processor</xsl:when>
+               <xsl:when test="$iModClass = 'BUS_BRIDGE'">Bus Bridge</xsl:when>
+               <xsl:otherwise><xsl:value-of select="$iModClass"/></xsl:otherwise>
+       </xsl:choose>   
+</xsl:template>        
+
+<xsl:template name="F_Connection_To_AXI_SLAVE">
+  <xsl:param name="iNameParam" select="''"/>
+  <xsl:param name="iModuleRefParam" select="''"/>
+
+  <xsl:variable name="FilName" select="$iModuleRefParam/PARAMETERS/PARAMETER[@NAME=concat('C_', $iNameParam, '_MASTERS')]/@VALUE"/>
+  <!-- <xsl:message>FIL NAME WAS <xsl:value-of select="$FilName"/></xsl:message>  -->
+  <xsl:value-of select="$FilName"/>
+</xsl:template>        
+
+<xsl:template name="F_IS_Interface_External">
+    <xsl:param name="iInstRef"/> <!--  Instance reference -->
+    <xsl:param name="iIntfRef"/> <!--  Interface reference -->
+    <xsl:variable name="intfName_" select="$iIntfRef/@NAME"/>
+    <xsl:variable name="instName_" select="$iInstRef/@INSTANCE"/>
+    
+       <!-- <xsl:message>NAME 1 <xsl:value-of select="$expName1_"/></xsl:message>-->
+    <!-- <xsl:message>NAME 2 <xsl:value-of select="$expName2_"/></xsl:message>-->
+<!--
+    <xsl:variable name="expName1_" select="concat($instName_,'_',$intfName_,'_',@PHYSICAL,'_pin')"/>
+    <xsl:variable name="expName2_" select="concat($instName_,'_',@PHYSICAL,'_pin')"/>
+  -->    
+    
+       <!-- Store the number of physical ports connected externals in a variable -->   
+       
+       <xsl:variable name="connected_externals_">
+               <xsl:for-each select="$iIntfRef/PORTMAPS/PORTMAP">
+                       <xsl:variable name="portName_" select="@PHYSICAL"/>
+               <xsl:if test="$iInstRef/PORTS/PORT[(@NAME = $portName_)]">
+                       <xsl:variable name="portNet_" select="$iInstRef/PORTS/PORT[(@NAME = $portName_)]/@SIGNAME"/>
+                               <xsl:if test="$G_SYS_EXPS/PORT[(@SIGNAME = $portNet_)]">
+                                       <EXTP NAME="{@PHYSICAL}"/>
+                               </xsl:if>
+               </xsl:if>
+               </xsl:for-each>
+       </xsl:variable>
+       
+       <!-- 
+       <xsl:message><xsl:value-of select="$instName_"/>.<xsl:value-of select="$intfName_"/> has <xsl:value-of select="count(exsl:node-set($connected_externals_)/EXTP)"/> connected externals.</xsl:message> 
+    -->
+       <xsl:choose>
+               <xsl:when test="(count(exsl:node-set($connected_externals_)/EXTP) &gt; 0)">TRUE</xsl:when>
+               <xsl:otherwise>FALSE</xsl:otherwise>
+       </xsl:choose>   
+</xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view.xsl
new file mode 100644 (file)
index 0000000..b0fee7a
--- /dev/null
@@ -0,0 +1,245 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE stylesheet [
+       <!ENTITY UPPERCASE "ABCDEFGHIJKLMNOPQRSTUVWXYZ">
+       <!ENTITY LOWERCASE "abcdefghijklmnopqrstuvwxyz">
+       
+       <!ENTITY UPPER2LOWER " '&UPPERCASE;' , '&LOWERCASE;' ">
+       <!ENTITY LOWER2UPPER " '&LOWERCASE;' , '&UPPERCASE;' ">
+       
+       <!ENTITY ALPHALOWER "ABCDEFxX0123456789">
+       <!ENTITY HEXUPPER "ABCDEFxX0123456789">
+       <!ENTITY HEXLOWER "abcdefxX0123456789">
+       <!ENTITY HEXU2L " '&HEXLOWER;' , '&HEXUPPER;' ">
+]>             
+
+<xsl:stylesheet version="1.0"
+         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+      xmlns:exsl="http://exslt.org/common"
+      xmlns:dyn="http://exslt.org/dynamic"
+      xmlns:math="http://exslt.org/math"
+      xmlns:xlink="http://www.w3.org/1999/xlink"
+      extension-element-prefixes="math exsl dyn xlink">
+           
+<xsl:include href="edw2xtl_sav_globals.xsl"/>
+
+<xsl:include href="edw2xtl_sav_view_addr.xsl"/>
+<xsl:include href="edw2xtl_sav_view_busif.xsl"/>
+<xsl:include href="edw2xtl_sav_view_port.xsl"/>
+<xsl:include href="edw2xtl_sav_view_groups.xsl"/>
+
+<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
+
+<xsl:param name="P_SYSTEM_XML" select= "'__UNDEF__'"/>
+<xsl:param name="P_GROUPS_XML" select= "'__UNDEF__'"/>
+
+<xsl:param name="G_DEBUG"       select="'FALSE'"/>
+<xsl:param name="G_ADD_CHOICES" select="'TRUE'"/>
+
+<!-- 
+<xsl:param name="P_VIEW"          select="'__UNDEF__'"/>
+<xsl:param name="P_MODE"          select="'__UNDEF__'"/>
+<xsl:param name="P_SCOPE"         select="'__UNDEF__'"/>
+-->
+
+
+
+<!--  MAIN TEMPLATE -->
+<xsl:template match="SAV[@VIEW]">
+    <xsl:if test="$G_DEBUG='TRUE'">
+        <xsl:message>SAV VIEW <xsl:value-of select="@VIEW"/></xsl:message>
+        <xsl:message>SAV MODE <xsl:value-of select="@MODE"/></xsl:message>
+        <xsl:message>SAV SCOPE <xsl:value-of select="@SCOPE"/></xsl:message>
+    </xsl:if>
+    
+    <xsl:choose>
+       <xsl:when test="not(@VIEW = 'PORT') and not(@VIEW = 'BUSINTERFACE') and not(@VIEW = 'ADDRESS')">
+          <xsl:message>EDW2SAV XTELLER ERROR: UNDEFINED VIEW <xsl:value-of select="@VIEW"/></xsl:message>      
+       </xsl:when>
+       
+       <xsl:when test="(@MODE and not(@MODE = 'FLAT') and not(@MODE = 'TREE') and not(@MODE = 'GROUPS'))">
+          <xsl:message>EDW2SAV XTELLER ERROR: UNDEFINED MODE <xsl:value-of select="@MODE"/></xsl:message>      
+       </xsl:when>     
+       
+       <xsl:when test="(@SCOPE and not(@SCOPE = 'FULL') and not(@SCOPE= 'FOCUS'))">
+          <xsl:message>EDW2SAV XTELLER ERROR: UNDEFINED SCOPE <xsl:value-of select="@SCOPE"/></xsl:message>    
+       </xsl:when>             
+       
+       <xsl:when test="$P_SYSTEM_XML ='__UNDEF__'">
+          <xsl:message>EDW2SAV XTELLER ERROR: SYSTEM XML UNDEFINED</xsl:message>       
+       </xsl:when>
+       
+       <xsl:when test="not($G_SYS)" >
+          <xsl:message>EDW2SAV XTELLER ERROR: EDKSYSTEM MISSING in SYSTEM XML <xsl:value-of select="$P_SYSTEM_XML"/></xsl:message>     
+               </xsl:when>
+               
+               <xsl:when test="($P_GROUPS_XML ='__UNDEF__') and (@MODE = 'GROUPS')" >
+          <xsl:message>EDW2SAV XTELLER ERROR: GROUP XML UNDEFINED for FOCUS</xsl:message>      
+       </xsl:when>
+       
+               <xsl:when test="($P_GROUPS_XML ='__UNDEF__') and (@SCOPE = 'FOCUS') and (@VIEW = 'BUSINTERFACE')" >
+          <xsl:message>EDW2SAV XTELLER ERROR: GROUP XML UNDEFINED for SCOPE</xsl:message>      
+       </xsl:when>
+       
+       <xsl:otherwise>
+       
+               <xsl:if test="$G_DEBUG='TRUE'">
+                               <xsl:message>SYSTEM XML <xsl:value-of select="$P_SYSTEM_XML"/></xsl:message>
+                               <xsl:message>GROUPS XML <xsl:value-of select="$P_GROUPS_XML"/></xsl:message>
+                       </xsl:if>
+                       
+                       <xsl:variable name="use_mode_">
+                               <xsl:choose>
+                               <xsl:when test="@MODE = 'GROUPS'">TREE</xsl:when>
+                               <xsl:otherwise><xsl:value-of select="@MODE"/></xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:variable>
+                       
+                       <xsl:variable name="num_procs_focused_on_" select="count(MASTER)"/>
+                       <xsl:variable name="num_buses_focused_on_" select="count(BUS)"/>
+                       
+                       <xsl:element name="SET">
+                       <xsl:attribute name="CLASS">PROJECT</xsl:attribute>
+                       <xsl:attribute name="VIEW_ID"><xsl:value-of select="@VIEW"/></xsl:attribute>
+                       <xsl:attribute name="DISPLAYMODE"><xsl:value-of select="$use_mode_"/></xsl:attribute>
+                       
+                               <xsl:choose>
+                               
+                                       <!-- ADDRESS TAB VIEW -->
+                                       <xsl:when test="(@VIEW = 'ADDRESS')">
+                                               <xsl:call-template name="WRITE_VIEW_ADDRESS"/>
+                                       </xsl:when>     
+                               
+                                       <!-- BIF TAB VIEWS -->
+                                       <xsl:when test="((@VIEW ='BUSINTERFACE') and (@SCOPE = 'FOCUS') and ($num_procs_focused_on_ &gt; 0))">
+                                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUS_ON_PROCS"/>
+                                       </xsl:when>
+                                       
+                                       <!-- BIF TAB VIEWS -->
+                                       <xsl:when test="((@VIEW ='BUSINTERFACE') and (@SCOPE = 'FOCUS') and ($num_buses_focused_on_ &gt; 0))">
+                                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUS_ON_BUSES"/>
+                                       </xsl:when>                                     
+                                       
+                                       <xsl:when test="((@VIEW ='BUSINTERFACE') and (@MODE = 'TREE') and not(@SCOPE))">
+                                               <xsl:call-template name="WRITE_VIEW_BIF_TREE"/>
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="((@VIEW = 'BUSINTERFACE') and (@MODE = 'FLAT') and not(@SCOPE))">
+                                               <xsl:call-template name="WRITE_VIEW_BIF_FLAT"/>
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="((@VIEW = 'BUSINTERFACE') and (@MODE = 'GROUPS'))">
+                                               <xsl:call-template name="WRITE_VIEW_BIF_GROUPS">
+                                                       <xsl:with-param name="iModules" select="$G_BLOCKS"/>
+                                               </xsl:call-template>
+                                       </xsl:when>
+                                       
+                                       
+                                       <!-- PORT TAB VIEWS -->
+                                       <xsl:when test="((@VIEW ='PORT') and (@SCOPE = 'FOCUS'))">
+                                               <xsl:call-template name="WRITE_VIEW_PORT_FOCUSED"/>
+                                       </xsl:when>                                     
+                                                                               
+                                       <!-- Generate XTeller panel data for Ports using hierarchy -->
+                                       <xsl:when test="((@VIEW = 'PORT') and (@MODE = 'TREE'))">
+                                               <xsl:call-template name="WRITE_VIEW_PORT_TREE"/>
+                                       </xsl:when>
+                                       
+                                       <!-- Generate XTeller panel data for Ports without hierarchy, (flat view) -->
+                                       <xsl:when test="((@VIEW='PORT') and (@MODE = 'FLAT'))">
+                                               <xsl:call-template name="WRITE_VIEW_PORT_FLAT"/>
+                                       </xsl:when>
+                                       
+                                       
+                                       <xsl:otherwise>
+                                               <xsl:message>ERROR during SAV XTeller generation with panel <xsl:value-of select="@VIEW"/> and display mode <xsl:value-of select="@MODE"/></xsl:message>
+                                       </xsl:otherwise>                        
+                               
+                               </xsl:choose>
+                       </xsl:element>
+       </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+<xsl:template match="EDKSYSTEM">
+
+<!-- 
+    <xsl:message>EDW VERSION <xsl:value-of select="$G_EDWVER"/></xsl:message>
+    <xsl:message>VIEW     <xsl:value-of select="$VIEW"/></xsl:message>
+    <xsl:message>MODE <xsl:value-of select="$MODE"/></xsl:message>
+-->    
+
+       <xsl:variable name="by_interface_">
+               <xsl:choose>
+               <!--  
+                       Show interfaces or not
+               -->     
+                       <xsl:when test="(($SHOW_BUSIF ='TRUE') or ($SHOW_IOIF ='TRUE'))">TRUE</xsl:when>
+                       <xsl:otherwise>FALSE</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+       
+    <!--  
+    <xsl:message>VIEW <xsl:value-of select="$VIEW"/></xsl:message>
+    <xsl:message>MODE <xsl:value-of select="$MODE"/></xsl:message>
+    <xsl:message>BY INTERFACE <xsl:value-of select="$by_interface_"/></xsl:message>
+    -->
+       <xsl:variable name="displayMode_">
+               <xsl:choose>
+               <!--  
+                         Hard code view to view for address panel, 
+                         always show view in what was formerly 
+                         multiprocessor view. See below.
+                         
+                       <xsl:when test="(($G_NUM_OF_PROCS &gt;  1) and ($VIEW='ADDRESS'))">TREE</xsl:when>
+                       <xsl:when test="(($G_NUM_OF_PROCS &lt;= 1) and ($VIEW='ADDRESS'))">FLAT</xsl:when>
+               -->     
+                       <xsl:when test="($VIEW='ADDRESS')">TREE</xsl:when>
+                       <xsl:otherwise><xsl:value-of select="$MODE"/></xsl:otherwise>
+               </xsl:choose>   
+       </xsl:variable> 
+       
+       <SET CLASS="PROJECT" VIEW= "{$VIEW}" MODE="{$displayMode_}">
+               <xsl:choose>
+               
+                       <!-- Generate XTeller panel data for Bus Interfaces using hierarchy -->
+                       <xsl:when test="(($VIEW='BUSINTERFACE') and (not($MODE) or ($MODE = 'TREE')))">
+                               <xsl:call-template name="WRITE_VIEW_BIF_TREE"/>
+                       </xsl:when>
+               
+                       <!-- Generate XTeller panel data for Bus Interfaces without hierarchy, (flat view) -->
+                       <xsl:when test="(($VIEW='BUSINTERFACE') and ($MODE = 'FLAT'))">
+                               <xsl:call-template name="WRITE_VIEW_BIF_FLAT"/>
+                       </xsl:when>
+                       
+                       <!-- Generate XTeller panel data for Ports using hierarchy -->
+                       <xsl:when test="(($VIEW='PORT') and (not($MODE) or ($MODE = 'TREE')))">
+                               <xsl:call-template name="WRITE_VIEW_PORT_TREE"/>
+                       </xsl:when>
+                       
+                       <!-- Generate XTeller panel data for Ports without hierarchy, (flat view) -->
+                       <xsl:when test="(($VIEW='PORT') and ($MODE = 'FLAT'))">
+                               <xsl:call-template name="WRITE_VIEW_PORT_FLAT"/>
+                       </xsl:when>
+                       
+                       <!--
+                               Hard code display of the address panel to always the the same.
+                               No more tree or flat mode, always show address panel 
+                               in what was formerly the multiprocessor view.  
+                       -->
+                       <xsl:when test="($VIEW='ADDRESS')">
+                               <xsl:call-template name="WRITE_VIEW_ADDRESS"/>
+                       </xsl:when>     
+                       
+                       <xsl:otherwise>
+                               <xsl:message>ERROR during SAV XTeller generation with panel <xsl:value-of select="$VIEW"/> and display mode <xsl:value-of select="$MODE"/></xsl:message>
+                       </xsl:otherwise>
+                       
+               </xsl:choose>
+       </SET>
+       
+</xsl:template>        
+
+</xsl:stylesheet>
+
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_addr.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_addr.xsl
new file mode 100644 (file)
index 0000000..5e8d06c
--- /dev/null
@@ -0,0 +1,894 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE stylesheet [
+       <!ENTITY UPPERCASE "ABCDEFGHIJKLMNOPQRSTUVWXYZ">
+       <!ENTITY LOWERCASE "abcdefghijklmnopqrstuvwxyz">
+       
+       <!ENTITY UPPER2LOWER " '&UPPERCASE;' , '&LOWERCASE;' ">
+       <!ENTITY LOWER2UPPER " '&LOWERCASE;' , '&UPPERCASE;' ">
+       
+       <!ENTITY ALPHALOWER "ABCDEFxX0123456789">
+       <!ENTITY HEXUPPER "ABCDEFxX0123456789">
+       <!ENTITY HEXLOWER "abcdefxX0123456789">
+       <!ENTITY HEXU2L " '&HEXLOWER;' , '&HEXUPPER;' ">
+]>             
+
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="exsl dyn math xlink">
+           
+<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
+
+<!--
+    ================================================================================
+                            Generate XTeller for ADDRESSES
+    ================================================================================ 
+-->
+
+<xsl:template name="WRITE_VIEW_ADDRESS">
+              
+    <xsl:for-each select="$G_SYS_MODS/MODULE[((@MODCLASS = 'PROCESSOR') and (MEMORYMAP/MEMRANGE[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ACCESSROUTE)]))]">
+        <xsl:sort data-type="number" select="@ROW_INDEX" order="ascending"/>
+            
+        <xsl:variable name="procInst_"     select="@INSTANCE"/>
+        <xsl:variable name="procMod_"      select="self::node()"/>
+        <xsl:variable name="procModType"   select="@MODTYPE"/>
+        <xsl:variable name="procModClass_" select="@MODCLASS"/>
+        <xsl:variable name="procInstHdrVal_"><xsl:value-of select="$procInst_"/>'s Address Map</xsl:variable>
+        <xsl:variable name="procInstRowIdx_" select="position() - 1"/>
+        
+        <!-- <SET ID="{$procInst_}" CLASS="MODULE" ROW_INDEX="{$procInstRowIdx_}"> -->
+        
+        <xsl:element name="SET">
+                       <xsl:attribute name="ID"><xsl:value-of select="$procInst_"/></xsl:attribute>
+                       <xsl:attribute name="CLASS">MODULE</xsl:attribute>
+                       <xsl:attribute name="ROW_INDEX"><xsl:value-of select="$procInstRowIdx_"/></xsl:attribute>
+
+            <!-- <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance" NAME="INSTANCE"  VALUE="{$procInstHdrVal_}"/> -->
+            
+            <xsl:element name="VARIABLE">
+                               <xsl:attribute name="NAME">INSTANCE</xsl:attribute>
+                               <xsl:attribute name="VALUE"><xsl:value-of select="$procInstHdrVal_"/></xsl:attribute>
+                               <xsl:attribute name="VIEWDISP">Instance</xsl:attribute>
+                               <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       </xsl:element>
+            
+            <xsl:for-each select="$procMod_/MEMORYMAP/MEMRANGE[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (ACCESSROUTE or (@MEMTYPE = 'BRIDGE')))]">
+                <xsl:sort data-type="number" select="@BASEDECIMAL" order="ascending"/>
+                
+                <xsl:variable name="addr_id_"><xsl:value-of select="@BASENAME"/>:<xsl:value-of select="@HIGHNAME"/></xsl:variable>
+                <xsl:variable name="baseName_" select="@BASENAME"/>
+                <xsl:variable name="highName_" select="@HIGHNAME"/>
+                
+                <!-- 
+                <xsl:if test="$G_DEBUG='TRUE'">
+                       <xsl:message>ADDRESS ID <xsl:value-of select="$addr_id_"/></xsl:message>
+                </xsl:if>
+                -->
+                
+                <xsl:variable name="set_id_">
+                    <xsl:if test="(@INSTANCE)">
+                        <xsl:value-of select="$procInst_"/>.<xsl:value-of select="@INSTANCE"/>:<xsl:value-of select="$addr_id_"/>
+                    </xsl:if>
+                    <xsl:if test="not(@INSTANCE)">
+                        <xsl:value-of select="$procInst_"/>:<xsl:value-of select="$addr_id_"/>
+                    </xsl:if>
+                </xsl:variable>
+                
+                <xsl:variable name="procAddrRowIdx_" select="position() - 1"/>
+                <SET ID="{$set_id_}" CLASS="ADDRESS" ROW_INDEX="{$procAddrRowIdx_}">
+                    
+                    <xsl:if test="(@INSTANCE)">
+                        <xsl:variable name="periInst_"   select="@INSTANCE"/>
+                               <xsl:variable name="periMod_"    select="key('G_MAP_MODULES', $periInst_)"/>
+                        <!-- 
+                         <xsl:variable name="subInstance_"     select="$G_SYS_MODS/MODULE[(@INSTANCE = $instance_)]"/>
+                               <xsl:message>Count memrange slaves <xsl:value-of select="count($modMemMapSlvs_)"/> </xsl:message>
+                               <xsl:message>Count mod valid bifs  <xsl:value-of select="count($modValidBifs_)"/> </xsl:message>
+                         -->
+  
+                                             
+                        <xsl:variable name="periModType_"   select="$periMod_/@MODTYPE"/>
+                        <xsl:variable name="periViewIcon_"  select="$periMod_/LICENSEINFO/@ICON_NAME"/>
+                        <xsl:variable name="periHwVersion_" select="$periMod_/@HWVERSION"/>
+                        
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance"   NAME="INSTANCE"  VALUE="{$periInst_}"/>
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{$periModType_}" VIEWICON="{$periViewIcon_}"/>
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{$periHwVersion_}"/>
+                    </xsl:if>
+                    
+                    <xsl:if test="not(@INSTANCE)">
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance"   NAME="INSTANCE"  VALUE="{$procInst_}"/>
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{$procModType}" VIEWICON="{$procMod_/LICENSEINFO/@ICON_NAME}"/>
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{$procHwVersion_}"/>
+                    </xsl:if>
+
+                    <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Address Type" NAME="MEMTYPE" VALUE="{@MEMTYPE}"/>
+                    
+                    <xsl:variable name="instName_">
+                        <xsl:choose>
+                            <xsl:when test="@INSTANCE"><xsl:value-of select="@INSTANCE"/></xsl:when>
+                            <xsl:otherwise>Connected<xsl:value-of select="$procInst_"/></xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>
+                    <!-- 
+                    <xsl:message>INST : <xsl:value-of select="$set_id_"/></xsl:message>
+                     -->
+
+                   <xsl:variable name="is_locked_">
+                       <xsl:if test="@IS_LOCKED = 'TRUE'">TRUE</xsl:if>
+                       <xsl:if test="not(@IS_LOCKED) or not(@IS_LOCKED = 'TRUE')">FALSE</xsl:if>
+                   </xsl:variable>
+
+                   <xsl:variable name="baseAddrViewType_">
+                                               <xsl:choose>
+                                                       <xsl:when test="$is_locked_='TRUE'">STATIC</xsl:when>
+                                                       <xsl:otherwise>TEXTBOX</xsl:otherwise>
+                                               </xsl:choose>
+                                  </xsl:variable>
+
+                   <xsl:if test="(@SIZEABRV and not(@SIZEABRV = 'U'))">
+                                               <xsl:variable name="baseAddr_"><xsl:value-of select="translate(@BASEVALUE,&HEXU2L;)"/></xsl:variable>
+                       <xsl:variable name="highAddr_"><xsl:value-of select="translate(@HIGHVALUE,&HEXU2L;)"/></xsl:variable>
+                       <VARIABLE VIEWTYPE="{$baseAddrViewType_}"  VIEWDISP="Base Address" NAME="BASEVALUE" VALUE="{$baseAddr_}"/>
+                       <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="High Address" NAME="HIGHVALUE" VALUE="{$highAddr_}"/>
+
+                       <xsl:if test="not(@MEMTYPE) or not(@MEMTYPE = 'BRIDGE')">
+                                       <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="Lock" NAME="IS_LOCKED" VALUE="{$is_locked_}"/>
+                       </xsl:if>
+
+                       <xsl:if test="@MEMTYPE and (@MEMTYPE = 'BRIDGE') and not(@BRIDGE_TO)">
+                                       <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="Lock" NAME="IS_LOCKED" VALUE="{$is_locked_}"/>
+                               </xsl:if>
+                                       </xsl:if>
+                    
+                    <xsl:if test="(@SIZEABRV and (@SIZEABRV = 'U'))">
+                      <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Base Address" NAME="BASEVALUE" VALUE=""/>
+                    </xsl:if>
+                   
+                    <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="Base Name"  NAME="BASENAME" VALUE="{@BASENAME}"/>
+
+                                       <xsl:variable name="sizeViewType_">
+                                               <xsl:choose>
+                                                       <xsl:when test="(@SIZEABRV and (@SIZEABRV = 'U'))">DROPDOWN</xsl:when>
+                                                       <xsl:when test="$is_locked_='TRUE'">STATIC</xsl:when>
+                                                       <xsl:otherwise>DROPDOWN</xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+
+                   <VARIABLE VIEWTYPE="{$sizeViewType_}" VIEWDISP="Size" NAME="SIZEABRV" VALUE="{@SIZEABRV}"/>
+                   
+                   <xsl:variable name="periInst_"       select="@INSTANCE"/>
+                      <xsl:variable name="periMod_"        select="key('G_MAP_MODULES',  $periInst_)"/>
+                      <xsl:variable name="periModClass_"   select="$periMod_/@MODCLASS"/>
+                          <xsl:variable name="periValidBifs_"  select="key('G_MAP_ALL_BIFS', $periInst_)[not(@BUSNAME = '__NOC__')]"/> 
+                      <xsl:variable name="periMemMapSlvs_" select="$periMod_/MEMORYMAP/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES/SLAVE"/>
+                      <xsl:variable name="periMemMapBifs_">
+                                               <xsl:for-each select="$periMemMapSlvs_">
+                            <xsl:variable name="periSlvBifName_"  select="@BUSINTERFACE"/>
+                            <xsl:if test="$periValidBifs_[(@NAME = $periSlvBifName_)]">
+                                <xsl:variable name="periBif_"     select="$periValidBifs_[(@NAME = $periSlvBifName_)]"/>
+                                <xsl:variable name="periBifName_" select="$periBif_/@NAME"/>
+                                <xsl:variable name="periBifBus_"  select="$periBif_/@BUSNAME"/>
+                                       <!-- 
+                                       <xsl:message>  Slv Bif  <xsl:value-of select="$periBifName_"/> = <xsl:value-of select="$periBifBus_"/></xsl:message> 
+                                        -->
+                                       <MMBIF NAME="{$periBifName_}" BUS="{$periBifBus_}"/>
+                            </xsl:if>
+                                               </xsl:for-each>
+                      </xsl:variable>
+                      
+                      <xsl:variable name="num_of_periMemMapBifs_" select="count(exsl:node-set($periMemMapBifs_)/MMBIF)"/>
+                      
+                      <!-- 
+                                  <xsl:message>  Total num of slv bifs <xsl:value-of select="$num_of_periMemMapBifs_"/>  </xsl:message>
+                                  <xsl:message>  </xsl:message>
+                       -->
+
+                                       <xsl:variable name="valid_bifNames_">
+                                               <xsl:for-each select="exsl:node-set($periMemMapBifs_)/MMBIF">
+                               <xsl:variable name="bifName_"  select="@NAME"/>
+                               <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="$bifName_"/>
+                                               </xsl:for-each>
+                    </xsl:variable>
+                    
+                                       <xsl:variable name="valid_busNames_">
+                                               <xsl:for-each select="exsl:node-set($periMemMapBifs_)/MMBIF">
+                               <xsl:variable name="busName_"  select="@BUS"/>
+                               <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="$busName_"/>
+                                               </xsl:for-each>
+                    </xsl:variable>                   
+                    
+                       <!--
+                             <xsl:message>  Mod Bif  <xsl:value-of select="$bifName_"/>  : <xsl:value-of select="position()"/></xsl:message> 
+                             <xsl:message>  Mod Bif  <xsl:value-of select="$bifName_"/>  : <xsl:value-of select="position()"/></xsl:message> 
+                                    <xsl:message>Slv Bif <xsl:value-of select="$bifName_"/>  : <xsl:value-of select="position()"/></xsl:message> 
+                                       <xsl:variable name="modBifs_"  select="$modInst_/BUSINTERFACES"/>
+                                   <xsl:if test="$periValidBifs_[(@NAME = $bifName_)]">
+                                       <xsl:variable name="busName_" select="$periValidBifs_[(@NAME = $bifName_)]/@BUSNAME"/>
+                                               <xsl:message>Mod Bif  <xsl:value-of select="$bifName_"/>  : <xsl:value-of select="position()"/></xsl:message> 
+                                       <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="$bifName_"/>
+                                   </xsl:if>             
+                       -->
+                    <!-- 
+                       <xsl:message>Module Instances <xsl:value-of select="$instName_"/> </xsl:message>
+                       <xsl:message>Base Name <xsl:value-of select="$baseName_"/> </xsl:message>
+                       <xsl:message>High Name <xsl:value-of select="$highName_"/> </xsl:message>
+                       <xsl:message>Valid bif names <xsl:value-of select="$valid_bifNames_"/> </xsl:message>
+                       <xsl:message>Valid bif names <xsl:value-of select="$valid_bifNames_"/> </xsl:message>
+                       <xsl:message>Valid bus names <xsl:value-of select="$valid_busNames_"/> </xsl:message>
+                       -->
+                       
+                    
+                       <xsl:variable name="var_bifNames_">
+                           <xsl:choose>
+                                   <xsl:when test="string-length($valid_bifNames_) &lt; 1">
+                                       <xsl:choose>
+                                           <xsl:when test="$periModClass_ = 'BUS'">Not Applicable</xsl:when>
+                                           <xsl:otherwise>Not Connected</xsl:otherwise>
+                                       </xsl:choose>
+                                   </xsl:when>
+                                   <xsl:otherwise><xsl:value-of select="$valid_bifNames_"/></xsl:otherwise>
+                           </xsl:choose> 
+                       </xsl:variable>
+                       
+                                       <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Interface(s)"  NAME="BIFNAMES" VALUE="{$var_bifNames_}"/>
+                                       <xsl:if test="(($num_of_periMemMapBifs_ &gt; 0) and (string-length($valid_busNames_) &gt; 0))">
+                       <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Name"      NAME="BUSNAME"  VALUE="{$valid_busNames_}"/>
+                                       </xsl:if>
+               </SET>  <!--  End of one processor memory range row -->
+            </xsl:for-each> <!-- end of processor memory ranges loop -->
+        </xsl:element><!--  End of Processor memory map set -->
+    </xsl:for-each> <!-- end of processor module address space loop -->
+    
+    <!-- 
+        Add branch for valid address that are not part of a processor's 
+        memory map. Usually modules that have just been added, but have 
+        not been connected to a bus yet.
+     -->
+     
+    <xsl:variable name="nonProcAddresses_">
+    
+        <!-- Add a dummy non proc as a place holder. Otherwise the exsl:node-set test
+             Below complains if the variable is completely empty
+        -->
+        <NONPROCADDRESS INSTANCE="__DUMMY__" BASENAME="__DUMMY__" HIGHNAME="__DUMMY__" BASEDECIMAL="__DUMMY__"/>
+         
+        <xsl:for-each select="$G_SYS_MODS/MODULE[(not(@MODCLASS = 'PROCESSOR') and (MEMORYMAP/MEMRANGE[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ACCESSROUTE)]))]">
+            <xsl:variable name="nonProcInst_" select="@INSTANCE"/>
+        
+            <xsl:for-each select="MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+        
+                <xsl:variable name="highName_"    select="@HIGHNAME"/>
+                <xsl:variable name="baseName_"    select="@BASENAME"/>
+                <xsl:variable name="baseDecimal_" select="@BASEDECIMAL"/>
+            
+                <xsl:if test="not($G_SYS_MODS/MODULE[(@MODCLASS = 'PROCESSOR')]/MEMORYMAP/MEMRANGE[((@INSTANCE = $nonProcInst_) and (@BASENAME = $baseName_) and (@HIGHNAME = $highName_))])">
+                     <NONPROCADDRESS INSTANCE="{$nonProcInst_}" BASENAME="{$baseName_}" HIGHNAME="{$highName_}" BASEDECIMAL="{$baseDecimal_}"/>
+                </xsl:if>
+            </xsl:for-each>
+        </xsl:for-each>
+        
+    </xsl:variable>
+
+    <!--  Add unmapped addresses -->
+    <xsl:variable name="hasUnMappedAddress">
+        <xsl:for-each select="$G_SYS_MODS/MODULE[(not(@MODCLASS = 'PROCESSOR') and (MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]))]">
+            <xsl:variable name="nonProcInst_" select="@INSTANCE"/>
+            <xsl:for-each select="MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                <xsl:variable name="highName_"    select="@HIGHNAME"/>
+                <xsl:variable name="baseName_"    select="@BASENAME"/>
+                <xsl:variable name="baseDecimal_" select="@BASEDECIMAL"/>
+                <xsl:if test="not($G_SYS_MODS/MODULE[(@MODCLASS = 'PROCESSOR')]/MEMORYMAP/MEMRANGE[((@INSTANCE = $nonProcInst_) and (@BASENAME = $baseName_) and (@HIGHNAME = $highName_))])"><xsl:value-of select="$nonProcInst_"/></xsl:if>
+            </xsl:for-each>
+        </xsl:for-each>
+    </xsl:variable>
+
+    <xsl:if test="string-length($hasUnMappedAddress) &gt; 1">
+    
+        <SET ID="Unmapped Addresses" CLASS="MODULE" ROW_INDEX="{$G_NUM_OF_PROCS_W_ADDRS}">
+            
+            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance" NAME="INSTANCE"  VALUE="Unmapped Addresses"/>
+            
+            <xsl:for-each select="$G_SYS_MODS/MODULE[(not(@MODCLASS = 'PROCESSOR') and (MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]))]/MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]"> 
+            
+                <xsl:variable name="nonProcMod_"  select="../.."/>
+                <xsl:variable name="nonProcMMap_" select="$nonProcMod_/MEMORYMAP"/>
+                <xsl:variable name="instance_"    select="$nonProcMod_/@INSTANCE"/>
+                
+                <xsl:variable name="row_index_"    select="position()"/>
+                <xsl:variable name="instName_"     select="$nonProcMod_/@INSTANCE"/>
+                <xsl:variable name="highName_"     select="@HIGHNAME"/>
+                <xsl:variable name="baseName_"     select="@BASENAME"/>
+                <xsl:variable name="baseDecimal_"  select="@BASEDECIMAL"/>
+                
+                <xsl:for-each select="$nonProcMMap_/MEMRANGE[((@BASENAME = $baseName_) and (@HIGHNAME = $highName_))]">
+                    
+                    <xsl:if test="not($G_SYS_MODS/MODULE[(@MODCLASS = 'PROCESSOR')]/MEMORYMAP/MEMRANGE[((@INSTANCE = $instName_) and (@BASENAME = $baseName_) and (@HIGHNAME = $highName_))])">
+                    
+                        <xsl:variable name="addr_id_"><xsl:value-of select="$baseName_"/>:<xsl:value-of select="$highName_"/></xsl:variable>
+                        <xsl:variable name="set_id_"><xsl:value-of select="$instName_"/>:<xsl:value-of select="$addr_id_"/></xsl:variable>
+                            
+                        <xsl:variable name="inst_modtype_"    select="$nonProcMod_/@MODTYPE"/>
+                        <xsl:variable name="inst_viewicon_"   select="$nonProcMod_/LICENSEINFO/@ICON_NAME"/>
+                        <xsl:variable name="inst_modclass_"   select="$nonProcMod_/@MODCLASS"/>
+                        <xsl:variable name="inst_hwversion_"  select="$nonProcMod_/@HWVERSION"/>
+                            
+                        <SET ID="{$set_id_}" CLASS="ADDRESS">
+                                
+                            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance"   NAME="INSTANCE"  VALUE="{$instance_}"/>
+                            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{$inst_modtype_}" VIEWICON="{$inst_viewicon_}"/>
+                            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{$inst_hwversion_}"/>
+                            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Address Type" NAME="MEMTYPE" VALUE="{@MEMTYPE}"/>
+
+                            <xsl:variable name="is_locked_">
+                              <xsl:if test="@IS_LOCKED = 'TRUE'">TRUE</xsl:if>
+                              <xsl:if test="not(@IS_LOCKED) or not(@IS_LOCKED = 'TRUE')">FALSE</xsl:if>
+                            </xsl:variable>
+
+                            <xsl:variable name="baseAddrViewType_">
+                              <xsl:choose>
+                                <xsl:when test="$is_locked_='TRUE'">STATIC</xsl:when>
+                                <xsl:otherwise>TEXTBOX</xsl:otherwise>
+                              </xsl:choose>
+                            </xsl:variable>
+
+                            <xsl:if test="(@SIZEABRV and not(@SIZEABRV = 'U'))">
+                            
+                                <xsl:variable name="baseAddr_"><xsl:value-of select="translate(@BASEVALUE,&HEXU2L;)"/></xsl:variable>
+                                <xsl:variable name="highAddr_"><xsl:value-of select="translate(@HIGHVALUE,&HEXU2L;)"/></xsl:variable>
+                                
+                                <VARIABLE VIEWTYPE="{$baseAddrViewType_}"  VIEWDISP="Base Address" NAME="BASEVALUE" VALUE="{$baseAddr_}"/>
+                                <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="High Address" NAME="HIGHVALUE" VALUE="{$highAddr_}"/>
+
+                                <xsl:if test="not(@MEMTYPE) or not(@MEMTYPE = 'BRIDGE')">
+                                  <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="Lock" NAME="IS_LOCKED" VALUE="{$is_locked_}"/>
+                                </xsl:if>
+
+                                <xsl:if test="@MEMTYPE and (@MEMTYPE = 'BRIDGE') and not(@BRIDGE_TO)">
+                                  <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="Lock" NAME="IS_LOCKED" VALUE="{$is_locked_}"/>
+                                </xsl:if>
+
+                            </xsl:if>
+                                
+                            <xsl:if test="(@SIZEABRV and (@SIZEABRV = 'U'))">
+                                <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Base Address" NAME="BASEVALUE" VALUE=""/>
+                            </xsl:if>
+
+                                
+            <!--
+                                Lock, DCache and ICache removed in 11.1
+                                
+                                <xsl:if test="(@IS_CACHEABLE = 'TRUE')">
+                                    
+                                    <xsl:variable name="is_dcached_">
+                                        <xsl:if test="(@IS_DCACHED = 'TRUE')">TRUE</xsl:if>
+                                        <xsl:if test="(not(@IS_DCACHED) or not(@IS_DCACHED = 'TRUE'))">FALSE</xsl:if>
+                                    </xsl:variable>
+                                    
+                                    <xsl:variable name="is_icached_">
+                                        <xsl:if test="(@IS_ICACHED = 'TRUE')">TRUE</xsl:if>
+                                        <xsl:if test="(not(@IS_ICACHED) or not(@IS_ICACHED = 'TRUE'))">FALSE</xsl:if>
+                                    </xsl:variable>
+                                    
+                                    <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="DCache" NAME="IS_DCACHED" VALUE="{$is_dcached_}"/>
+                                    <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="ICache" NAME="IS_ICACHED" VALUE="{$is_icached_}"/>
+                                </xsl:if>
+             -->                    
+                                
+                                   <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="Base Name"  NAME="BASENAME" VALUE="{@BASENAME}"/>
+
+                        <xsl:variable name="sizeViewType_">
+                          <xsl:choose>
+                            <xsl:when test="(@SIZEABRV and (@SIZEABRV = 'U'))">DROPDOWN</xsl:when>
+                            <xsl:when test="$is_locked_='TRUE'">STATIC</xsl:when>
+                            <xsl:otherwise>DROPDOWN</xsl:otherwise>
+                          </xsl:choose>
+                        </xsl:variable>
+
+                        <VARIABLE VIEWTYPE="{$sizeViewType_}" VIEWDISP="Size" NAME="SIZEABRV" VALUE="{@SIZEABRV}"/>
+                           
+                           <xsl:variable name="valid_bifNames_">
+                               <xsl:choose>
+                                   <xsl:when test="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES">
+                                       <xsl:for-each select="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES/SLAVE">
+                                           <xsl:variable name="bifName_"  select="@BUSINTERFACE"/>
+                                            <!-- <xsl:message>Bif Name <xsl:value-of select="$bifName_"/> </xsl:message> -->
+                                           <xsl:variable name="modBifs_"  select="$nonProcMod_/BUSINTERFACES"/>
+                                           <xsl:if test="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]">
+                                               <xsl:variable name="busName_" select="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                               <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="@BUSINTERFACE"/>
+                                           </xsl:if>    
+                                       </xsl:for-each>
+                                   </xsl:when>
+                                   <xsl:otherwise>
+                                       <xsl:for-each select="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLVINTERFACES/BUSINTERFACE">
+                                           <xsl:variable name="bifName_"  select="@NAME"/>
+                                           <xsl:variable name="modBifs_"  select="$nonProcMod_"/>
+                                           <xsl:if test="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]">
+                                               <xsl:variable name="busName_" select="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                               <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="@NAME"/>
+                                           </xsl:if>    
+                                       </xsl:for-each>                       
+                                   </xsl:otherwise>
+                               </xsl:choose>
+                           </xsl:variable>                                 
+                    
+                     <xsl:variable name="def_bifNames_">
+                        <xsl:choose>
+                         <xsl:when test="(string-length($valid_bifNames_) &lt; 1) or ((string-length($valid_bifNames_) = 1) and ($valid_bifNames_ = ':'))">Not Connected</xsl:when>
+                           <xsl:when test="starts-with($valid_bifNames_,':')"><xsl:value-of select="substring-after($valid_bifNames_,':')"/></xsl:when>
+                           <xsl:otherwise><xsl:value-of select="$valid_bifNames_"/></xsl:otherwise>
+                        </xsl:choose>
+                     </xsl:variable>
+                     
+                     
+                    <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Interface(s)"  NAME="BIFNAMES" VALUE="{$def_bifNames_}"/>
+                            
+                       <xsl:choose>
+                           <xsl:when test="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES">
+                              <xsl:for-each select="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES/SLAVE">
+                                   <xsl:variable name="slvBifName_" select="@BUSINTERFACE"/>
+                                   <xsl:variable name="modBifs_"    select="$nonProcMod_/BUSINTERFACES"/>
+                                   <xsl:if test="count($modBifs_/BUSINTERFACE[((@NAME = $slvBifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]) = 1">
+                                       <xsl:variable name="slvBusName_" select="$modBifs_/BUSINTERFACE[((@NAME = $slvBifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                       <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Name" NAME="BUSNAME" VALUE="{$slvBusName_}"/>
+                                   </xsl:if>    
+                               </xsl:for-each>
+                           </xsl:when>
+                           <xsl:otherwise>
+                               <xsl:for-each select="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLVINTERFACES/BUSINTERFACE">
+                                   <xsl:variable name="slvBifName_" select="@NAME"/>
+                                   <xsl:variable name="modBifs_"    select="$nonProcMod_"/>
+                                   <xsl:if test="count($modBifs_/BUSINTERFACE[((@NAME = $slvBifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]) = 1">
+                                       <xsl:variable name="slvBusName_" select="$modBifs_/BUSINTERFACE[((@NAME = $slvBifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                       <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Name" NAME="BUSNAME" VALUE="{$slvBusName_}"/>
+                                   </xsl:if>    
+                               </xsl:for-each>
+                           </xsl:otherwise>
+                       </xsl:choose>
+                            
+                            
+                </SET>  <!--  End of one non processor memory range row -->
+            </xsl:if>   
+                        
+        </xsl:for-each> <!-- end of non processor memory ranges loop -->
+            
+      </xsl:for-each> <!--  end of NONPROCADDRESS loop -->
+        
+      </SET> <!--  End of non processor tree branch -->
+        
+    </xsl:if> <!--  End of test to see if we have and non processor mapped address -->
+
+</xsl:template> 
+
+
+<xsl:template name="__WRITE_VIEW_ADDRESS__">
+
+<!--
+-->                
+    <xsl:for-each select="$G_SYS_MODS/MODULE[((@MODCLASS = 'PROCESSOR') and (MEMORYMAP/MEMRANGE[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ACCESSROUTE)]))]">
+        <xsl:sort data-type="number" select="@ROW_INDEX" order="ascending"/>
+            
+        <xsl:variable name="procInst_" select="@INSTANCE"/>
+        <xsl:variable name="modClass_" select="@MODCLASS"/>
+        
+        <xsl:variable name="procInstHdrVal_"><xsl:value-of select="$procInst_"/>'s Address Map</xsl:variable>
+        <xsl:variable name="procInstRowIdx_" select="position() - 1"/>
+        <xsl:variable name="modInstance_" select="self::node()"/>
+        
+        <SET ID="{$procInst_}" CLASS="MODULE" ROW_INDEX="{$procInstRowIdx_}">
+        
+            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance" NAME="INSTANCE"  VALUE="{$procInstHdrVal_}"/>
+            
+            <xsl:for-each select="$modInstance_/MEMORYMAP/MEMRANGE[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and (ACCESSROUTE or (@MEMTYPE = 'BRIDGE')))]">
+                <xsl:sort data-type="number" select="@BASEDECIMAL" order="ascending"/>
+                
+                <xsl:variable name="addr_id_"><xsl:value-of select="@BASENAME"/>:<xsl:value-of select="@HIGHNAME"/></xsl:variable>
+                <xsl:variable name="baseName_" select="@BASENAME"/>
+                <xsl:variable name="highName_" select="@HIGHNAME"/>
+                
+                <xsl:if test="$G_DEBUG='TRUE'">
+                       <xsl:message>ADDRESS ID <xsl:value-of select="$addr_id_"/></xsl:message>
+                </xsl:if>
+                
+                <xsl:variable name="set_id_">
+                    <xsl:if test="(@INSTANCE)">
+                        <xsl:value-of select="$procInst_"/>.<xsl:value-of select="@INSTANCE"/>:<xsl:value-of select="$addr_id_"/>
+                    </xsl:if>
+                    <xsl:if test="not(@INSTANCE)">
+                        <xsl:value-of select="$procInst_"/>:<xsl:value-of select="$addr_id_"/>
+                    </xsl:if>
+                </xsl:variable>
+                
+                <xsl:variable name="procAddrRowIdx_" select="position() - 1"/>
+                <SET ID="{$set_id_}" CLASS="ADDRESS" ROW_INDEX="{$procAddrRowIdx_}">
+                    
+                    <xsl:if test="(@INSTANCE)">
+                        <xsl:variable name="instance_"        select="@INSTANCE"/>
+                        <xsl:variable name="subInstance_"     select="$G_SYS_MODS/MODULE[(@INSTANCE = $instance_)]"/>
+                        
+                        <xsl:variable name="inst_modtype_"    select="$subInstance_/@MODTYPE"/>
+                        <xsl:variable name="inst_viewicon_"   select="$subInstance_/LICENSEINFO/@ICON_NAME"/>
+                        <xsl:variable name="inst_hwversion_"  select="$subInstance_/@HWVERSION"/>
+                        
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance"   NAME="INSTANCE"  VALUE="{$instance_}"/>
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{$inst_modtype_}" VIEWICON="{$inst_viewicon_}"/>
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{$inst_hwversion_}"/>
+                    </xsl:if>
+                    
+                    <xsl:if test="not(@INSTANCE)">
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance"   NAME="INSTANCE"  VALUE="{$modInstance_/@INSTANCE}"/>
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{$modInstance_/@MODTYPE}" VIEWICON="{$modInstance_/LICENSEINFO/@ICON_NAME}"/>
+                        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{$modInstance_/@HWVERSION}"/>
+                    </xsl:if>
+
+                    <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Address Type" NAME="MEMTYPE" VALUE="{@MEMTYPE}"/>
+                    
+                    <xsl:variable name="instName_">
+                        <xsl:choose>
+                            <xsl:when test="@INSTANCE"><xsl:value-of select="@INSTANCE"/></xsl:when>
+                            <xsl:otherwise>Connected<xsl:value-of select="$modInstance_/@INSTANCE"/></xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>
+                    <!-- 
+                    <xsl:message>INST : <xsl:value-of select="$set_id_"/></xsl:message>
+                     -->    
+
+                   <xsl:variable name="is_locked_">
+                       <xsl:if test="@IS_LOCKED = 'TRUE'">TRUE</xsl:if>
+                       <xsl:if test="not(@IS_LOCKED) or not(@IS_LOCKED = 'TRUE')">FALSE</xsl:if>
+                   </xsl:variable>
+
+                   <xsl:variable name="baseAddrViewType_">
+                     <xsl:choose>
+                       <xsl:when test="$is_locked_='TRUE'">STATIC</xsl:when>
+                       <xsl:otherwise>TEXTBOX</xsl:otherwise>
+                     </xsl:choose>
+                   </xsl:variable>
+
+                   <xsl:if test="(@SIZEABRV and not(@SIZEABRV = 'U'))">
+                     <xsl:variable name="baseAddr_"><xsl:value-of select="translate(@BASEVALUE,&HEXU2L;)"/></xsl:variable>
+                     <xsl:variable name="highAddr_"><xsl:value-of select="translate(@HIGHVALUE,&HEXU2L;)"/></xsl:variable>
+                     <VARIABLE VIEWTYPE="{$baseAddrViewType_}"  VIEWDISP="Base Address" NAME="BASEVALUE" VALUE="{$baseAddr_}"/>
+                     <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="High Address" NAME="HIGHVALUE" VALUE="{$highAddr_}"/>
+
+                     <xsl:if test="not(@MEMTYPE) or not(@MEMTYPE = 'BRIDGE')">
+                       <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="Lock" NAME="IS_LOCKED" VALUE="{$is_locked_}"/>
+                     </xsl:if>
+
+                     <xsl:if test="@MEMTYPE and (@MEMTYPE = 'BRIDGE') and not(@BRIDGE_TO)">
+                       <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="Lock" NAME="IS_LOCKED" VALUE="{$is_locked_}"/>
+                     </xsl:if>
+
+                   </xsl:if>
+                    
+                    <xsl:if test="(@SIZEABRV and (@SIZEABRV = 'U'))">
+                      <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Base Address" NAME="BASEVALUE" VALUE=""/>
+                    </xsl:if>
+                   
+                    <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="Base Name"  NAME="BASENAME" VALUE="{@BASENAME}"/>
+
+                   <xsl:variable name="sizeViewType_">
+                     <xsl:choose>
+                       <xsl:when test="(@SIZEABRV and (@SIZEABRV = 'U'))">DROPDOWN</xsl:when>
+                       <xsl:when test="$is_locked_='TRUE'">STATIC</xsl:when>
+                       <xsl:otherwise>DROPDOWN</xsl:otherwise>
+                     </xsl:choose>
+                   </xsl:variable>
+
+                   <VARIABLE VIEWTYPE="{$sizeViewType_}" VIEWDISP="Size" NAME="SIZEABRV" VALUE="{@SIZEABRV}"/>
+
+                       <xsl:variable name="modInst_"    select="$G_SYS_MODS/MODULE[(@INSTANCE = $instName_)]"/>
+                       <xsl:variable name="modMemMap_"  select="$modInst_/MEMORYMAP"/>
+                       
+                    <xsl:variable name="valid_bifNames_">
+                        <xsl:choose>
+                            <xsl:when test="$modMemMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES">
+                                       <xsl:for-each select="$modMemMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES/SLAVE">
+                                           <xsl:variable name="bifName_"  select="@BUSINTERFACE"/>
+                                     <!-- <xsl:message>Bif Name <xsl:value-of select="$bifName_"/> </xsl:message> -->
+                                           <xsl:variable name="modBifs_"  select="$modInst_/BUSINTERFACES"/>
+                                           <xsl:if test="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]">
+                                               <xsl:variable name="busName_" select="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                               <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="@BUSINTERFACE"/>
+                                           </xsl:if>    
+                                       </xsl:for-each>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                   <xsl:for-each select="$modMemMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLVINTERFACES/BUSINTERFACE">
+                                       <xsl:variable name="bifName_"  select="@NAME"/>
+                                           <xsl:variable name="modBifs_"  select="$modInst_"/>
+                                       <xsl:if test="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]">
+                                           <xsl:variable name="busName_" select="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                           <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="@NAME"/>
+                                       </xsl:if>    
+                                   </xsl:for-each>                       
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>
+                    
+                    <!-- 
+                       <xsl:message>Module Instances <xsl:value-of select="$instName_"/> </xsl:message>
+                       <xsl:message>Base Name <xsl:value-of select="$baseName_"/> </xsl:message>
+                       <xsl:message>High Name <xsl:value-of select="$highName_"/> </xsl:message>
+                       <xsl:message>Valid bif names <xsl:value-of select="$valid_bifNames_"/> </xsl:message>
+                       -->
+                    
+                    
+                <xsl:variable name="def_bifNames_">
+                    <xsl:choose>
+                           <xsl:when test="string-length($valid_bifNames_) &lt; 1">
+                               <xsl:choose>
+                                   <xsl:when test="$modClass_ = 'BUS'">Not Applicable</xsl:when>
+                                   <xsl:otherwise>Not Connected</xsl:otherwise>
+                               </xsl:choose>
+                           </xsl:when>
+                           <xsl:when test="starts-with($valid_bifNames_,':')"><xsl:value-of select="substring-after($valid_bifNames_,':')"/></xsl:when>
+                           <xsl:otherwise><xsl:value-of select="$valid_bifNames_"/></xsl:otherwise>
+                    </xsl:choose> 
+                </xsl:variable>
+                <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Interface(s)"  NAME="BIFNAMES" VALUE="{$def_bifNames_}"/>
+                
+                <xsl:choose>
+                 <xsl:when test="$modMemMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES">
+                     <xsl:for-each select="$modMemMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES/SLAVE">
+                      <xsl:variable name="bifName_"  select="@BUSINTERFACE"/>
+                         <xsl:variable name="modBifs_"  select="$modInst_/BUSINTERFACES"/>
+                      <xsl:if test="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]">
+                          <xsl:variable name="busName_" select="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                          <xsl:variable name="numBifs_" select="count($modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))])"/>
+                          <xsl:if test="((position() = 1) or ($numBifs_ = 1))">
+                              <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Name" NAME="BUSNAME" VALUE="{$busName_}"/>
+                          </xsl:if>
+                      </xsl:if>    
+                  </xsl:for-each>
+                 </xsl:when>
+                 <xsl:otherwise>
+                        <xsl:for-each select="$modMemMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLVINTERFACES/BUSINTERFACE">
+                        <xsl:variable name="bifName_" select="@NAME"/>
+                        <xsl:variable name="modBifs_" select="$modInst_"/>
+                        <xsl:if test="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]">
+                            <xsl:variable name="busName_" select="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                            <xsl:variable name="numBifs_" select="count($modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))])"/>
+                            <xsl:if test="((position() = 1) or ($numBifs_ = 1))">
+                                <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Name" NAME="BUSNAME" VALUE="{$busName_}"/>
+                            </xsl:if>
+                        </xsl:if>    
+                    </xsl:for-each>                   
+                </xsl:otherwise>
+            </xsl:choose>
+<!-- 
+ -->
+            </SET>  <!--  End of one processor memory range row -->
+            </xsl:for-each> <!-- end of processor memory ranges loop -->
+        </SET>  
+    </xsl:for-each> <!-- end of processor module address space loop -->
+    
+    <!-- 
+        Add branch for valid address that are not part of a processor's 
+        memory map. Usually modules that have just been added, but have 
+        not been connected to a bus yet.
+     -->
+     
+    <xsl:variable name="nonProcAddresses_">
+    
+        <!-- Add a dummy non proc as a place holder. Otherwise the exsl:node-set test
+             Below complains if the variable is completely empty
+        -->
+        <NONPROCADDRESS INSTANCE="__DUMMY__" BASENAME="__DUMMY__" HIGHNAME="__DUMMY__" BASEDECIMAL="__DUMMY__"/>
+         
+        <xsl:for-each select="$G_SYS_MODS/MODULE[(not(@MODCLASS = 'PROCESSOR') and (MEMORYMAP/MEMRANGE[((not(@IS_VALID) or (@IS_VALID = 'TRUE')) and ACCESSROUTE)]))]">
+            <xsl:variable name="nonProcInst_" select="@INSTANCE"/>
+        
+            <xsl:for-each select="MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+        
+                <xsl:variable name="highName_"    select="@HIGHNAME"/>
+                <xsl:variable name="baseName_"    select="@BASENAME"/>
+                <xsl:variable name="baseDecimal_" select="@BASEDECIMAL"/>
+            
+                <xsl:if test="not($G_SYS_MODS/MODULE[(@MODCLASS = 'PROCESSOR')]/MEMORYMAP/MEMRANGE[((@INSTANCE = $nonProcInst_) and (@BASENAME = $baseName_) and (@HIGHNAME = $highName_))])">
+                     <NONPROCADDRESS INSTANCE="{$nonProcInst_}" BASENAME="{$baseName_}" HIGHNAME="{$highName_}" BASEDECIMAL="{$baseDecimal_}"/>
+                </xsl:if>
+            </xsl:for-each>
+        </xsl:for-each>
+        
+    </xsl:variable>
+
+    <!--  Add unmapped addresses -->
+    <xsl:variable name="hasUnMappedAddress">
+        <xsl:for-each select="$G_SYS_MODS/MODULE[(not(@MODCLASS = 'PROCESSOR') and (MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]))]">
+            <xsl:variable name="nonProcInst_" select="@INSTANCE"/>
+            <xsl:for-each select="MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                <xsl:variable name="highName_"    select="@HIGHNAME"/>
+                <xsl:variable name="baseName_"    select="@BASENAME"/>
+                <xsl:variable name="baseDecimal_" select="@BASEDECIMAL"/>
+                <xsl:if test="not($G_SYS_MODS/MODULE[(@MODCLASS = 'PROCESSOR')]/MEMORYMAP/MEMRANGE[((@INSTANCE = $nonProcInst_) and (@BASENAME = $baseName_) and (@HIGHNAME = $highName_))])"><xsl:value-of select="$nonProcInst_"/></xsl:if>
+            </xsl:for-each>
+        </xsl:for-each>
+    </xsl:variable>
+
+    <xsl:if test="string-length($hasUnMappedAddress) &gt; 1">
+    
+        <SET ID="Unmapped Addresses" CLASS="MODULE" ROW_INDEX="{$G_NUM_OF_PROCS_W_ADDRS}">
+            
+            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance" NAME="INSTANCE"  VALUE="Unmapped Addresses"/>
+            
+            <xsl:for-each select="$G_SYS_MODS/MODULE[(not(@MODCLASS = 'PROCESSOR') and (MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]))]/MEMORYMAP/MEMRANGE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]"> 
+            
+                <xsl:variable name="nonProcMod_"  select="../.."/>
+                <xsl:variable name="nonProcMMap_" select="$nonProcMod_/MEMORYMAP"/>
+                <xsl:variable name="instance_"    select="$nonProcMod_/@INSTANCE"/>
+                
+                <xsl:variable name="row_index_"    select="position()"/>
+                <xsl:variable name="instName_"     select="$nonProcMod_/@INSTANCE"/>
+                <xsl:variable name="highName_"     select="@HIGHNAME"/>
+                <xsl:variable name="baseName_"     select="@BASENAME"/>
+                <xsl:variable name="baseDecimal_"  select="@BASEDECIMAL"/>
+                
+                <xsl:for-each select="$nonProcMMap_/MEMRANGE[((@BASENAME = $baseName_) and (@HIGHNAME = $highName_))]">
+                    
+                    <xsl:if test="not($G_SYS_MODS/MODULE[(@MODCLASS = 'PROCESSOR')]/MEMORYMAP/MEMRANGE[((@INSTANCE = $instName_) and (@BASENAME = $baseName_) and (@HIGHNAME = $highName_))])">
+                    
+                        <xsl:variable name="addr_id_"><xsl:value-of select="$baseName_"/>:<xsl:value-of select="$highName_"/></xsl:variable>
+                        <xsl:variable name="set_id_"><xsl:value-of select="$instName_"/>:<xsl:value-of select="$addr_id_"/></xsl:variable>
+                            
+                        <xsl:variable name="inst_modtype_"    select="$nonProcMod_/@MODTYPE"/>
+                        <xsl:variable name="inst_viewicon_"   select="$nonProcMod_/LICENSEINFO/@ICON_NAME"/>
+                        <xsl:variable name="inst_modclass_"   select="$nonProcMod_/@MODCLASS"/>
+                        <xsl:variable name="inst_hwversion_"  select="$nonProcMod_/@HWVERSION"/>
+                            
+                        <SET ID="{$set_id_}" CLASS="ADDRESS">
+                                
+                            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance"   NAME="INSTANCE"  VALUE="{$instance_}"/>
+                            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{$inst_modtype_}" VIEWICON="{$inst_viewicon_}"/>
+                            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{$inst_hwversion_}"/>
+                            <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Address Type" NAME="MEMTYPE" VALUE="{@MEMTYPE}"/>
+
+                            <xsl:variable name="is_locked_">
+                              <xsl:if test="@IS_LOCKED = 'TRUE'">TRUE</xsl:if>
+                              <xsl:if test="not(@IS_LOCKED) or not(@IS_LOCKED = 'TRUE')">FALSE</xsl:if>
+                            </xsl:variable>
+
+                            <xsl:variable name="baseAddrViewType_">
+                              <xsl:choose>
+                                <xsl:when test="$is_locked_='TRUE'">STATIC</xsl:when>
+                                <xsl:otherwise>TEXTBOX</xsl:otherwise>
+                              </xsl:choose>
+                            </xsl:variable>
+
+                            <xsl:if test="(@SIZEABRV and not(@SIZEABRV = 'U'))">
+                            
+                                <xsl:variable name="baseAddr_"><xsl:value-of select="translate(@BASEVALUE,&HEXU2L;)"/></xsl:variable>
+                                <xsl:variable name="highAddr_"><xsl:value-of select="translate(@HIGHVALUE,&HEXU2L;)"/></xsl:variable>
+                                
+                                <VARIABLE VIEWTYPE="{$baseAddrViewType_}"  VIEWDISP="Base Address" NAME="BASEVALUE" VALUE="{$baseAddr_}"/>
+                                <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="High Address" NAME="HIGHVALUE" VALUE="{$highAddr_}"/>
+
+                                <xsl:if test="not(@MEMTYPE) or not(@MEMTYPE = 'BRIDGE')">
+                                  <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="Lock" NAME="IS_LOCKED" VALUE="{$is_locked_}"/>
+                                </xsl:if>
+
+                                <xsl:if test="@MEMTYPE and (@MEMTYPE = 'BRIDGE') and not(@BRIDGE_TO)">
+                                  <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="Lock" NAME="IS_LOCKED" VALUE="{$is_locked_}"/>
+                                </xsl:if>
+
+                            </xsl:if>
+                                
+                            <xsl:if test="(@SIZEABRV and (@SIZEABRV = 'U'))">
+                                <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Base Address" NAME="BASEVALUE" VALUE=""/>
+                            </xsl:if>
+
+                                
+            <!--
+                                Lock, DCache and ICache removed in 11.1
+                                
+                                <xsl:if test="(@IS_CACHEABLE = 'TRUE')">
+                                    
+                                    <xsl:variable name="is_dcached_">
+                                        <xsl:if test="(@IS_DCACHED = 'TRUE')">TRUE</xsl:if>
+                                        <xsl:if test="(not(@IS_DCACHED) or not(@IS_DCACHED = 'TRUE'))">FALSE</xsl:if>
+                                    </xsl:variable>
+                                    
+                                    <xsl:variable name="is_icached_">
+                                        <xsl:if test="(@IS_ICACHED = 'TRUE')">TRUE</xsl:if>
+                                        <xsl:if test="(not(@IS_ICACHED) or not(@IS_ICACHED = 'TRUE'))">FALSE</xsl:if>
+                                    </xsl:variable>
+                                    
+                                    <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="DCache" NAME="IS_DCACHED" VALUE="{$is_dcached_}"/>
+                                    <VARIABLE VIEWTYPE="CHECKBOX" VIEWDISP="ICache" NAME="IS_ICACHED" VALUE="{$is_icached_}"/>
+                                </xsl:if>
+             -->                    
+                                
+                                   <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="Base Name"  NAME="BASENAME" VALUE="{@BASENAME}"/>
+
+                        <xsl:variable name="sizeViewType_">
+                          <xsl:choose>
+                            <xsl:when test="(@SIZEABRV and (@SIZEABRV = 'U'))">DROPDOWN</xsl:when>
+                            <xsl:when test="$is_locked_='TRUE'">STATIC</xsl:when>
+                            <xsl:otherwise>DROPDOWN</xsl:otherwise>
+                          </xsl:choose>
+                        </xsl:variable>
+
+                        <VARIABLE VIEWTYPE="{$sizeViewType_}" VIEWDISP="Size" NAME="SIZEABRV" VALUE="{@SIZEABRV}"/>
+                           
+                    <xsl:variable name="valid_bifNames_">
+                        <xsl:choose>
+                            <xsl:when test="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES">
+                                <xsl:for-each select="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES/SLAVE">
+                                    <xsl:variable name="bifName_"  select="@BUSINTERFACE"/>
+                                     <!-- <xsl:message>Bif Name <xsl:value-of select="$bifName_"/> </xsl:message> -->
+                                    <xsl:variable name="modBifs_"  select="$nonProcMod_/BUSINTERFACES"/>
+                                    <xsl:if test="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]">
+                                        <xsl:variable name="busName_" select="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                        <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="@BUSINTERFACE"/>
+                                    </xsl:if>    
+                                </xsl:for-each>
+                            </xsl:when>
+                            <xsl:otherwise>
+                                <xsl:for-each select="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLVINTERFACES/BUSINTERFACE">
+                                    <xsl:variable name="bifName_"  select="@NAME"/>
+                                    <xsl:variable name="modBifs_"  select="$nonProcMod_"/>
+                                    <xsl:if test="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]">
+                                        <xsl:variable name="busName_" select="$modBifs_/BUSINTERFACE[((@NAME = $bifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                        <xsl:if test="position() &gt; 1">:</xsl:if><xsl:value-of select="@NAME"/>
+                                    </xsl:if>    
+                                </xsl:for-each>                       
+                            </xsl:otherwise>
+                        </xsl:choose>
+                    </xsl:variable>                                
+                    
+                     <xsl:variable name="def_bifNames_">
+                        <xsl:choose>
+                         <xsl:when test="(string-length($valid_bifNames_) &lt; 1) or ((string-length($valid_bifNames_) = 1) and ($valid_bifNames_ = ':'))">Not Connected</xsl:when>
+                           <xsl:when test="starts-with($valid_bifNames_,':')"><xsl:value-of select="substring-after($valid_bifNames_,':')"/></xsl:when>
+                           <xsl:otherwise><xsl:value-of select="$valid_bifNames_"/></xsl:otherwise>
+                        </xsl:choose>
+                     </xsl:variable>
+                     
+                     
+                    <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Interface(s)"  NAME="BIFNAMES" VALUE="{$def_bifNames_}"/>
+                            
+                       <xsl:choose>
+                           <xsl:when test="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES">
+                              <xsl:for-each select="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLAVES/SLAVE">
+                                   <xsl:variable name="slvBifName_" select="@BUSINTERFACE"/>
+                                   <xsl:variable name="modBifs_"    select="$nonProcMod_/BUSINTERFACES"/>
+                                   <xsl:if test="count($modBifs_/BUSINTERFACE[((@NAME = $slvBifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]) = 1">
+                                       <xsl:variable name="slvBusName_" select="$modBifs_/BUSINTERFACE[((@NAME = $slvBifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                       <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Name" NAME="BUSNAME" VALUE="{$slvBusName_}"/>
+                                   </xsl:if>    
+                               </xsl:for-each>
+                           </xsl:when>
+                           <xsl:otherwise>
+                               <xsl:for-each select="$nonProcMMap_/MEMRANGE[(@BASENAME = $baseName_) and (@HIGHNAME = $highName_)]/SLVINTERFACES/BUSINTERFACE">
+                                   <xsl:variable name="slvBifName_" select="@NAME"/>
+                                   <xsl:variable name="modBifs_"    select="$nonProcMod_"/>
+                                   <xsl:if test="count($modBifs_/BUSINTERFACE[((@NAME = $slvBifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]) = 1">
+                                       <xsl:variable name="slvBusName_" select="$modBifs_/BUSINTERFACE[((@NAME = $slvBifName_) and not(@IS_VALID = 'FALSE') and not(@BUSNAME = '__NOC__'))]/@BUSNAME"/>
+                                       <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Name" NAME="BUSNAME" VALUE="{$slvBusName_}"/>
+                                   </xsl:if>    
+                               </xsl:for-each>
+                           </xsl:otherwise>
+                       </xsl:choose>
+                            
+                            
+                </SET>  <!--  End of one non processor memory range row -->
+            </xsl:if>   
+                        
+                </xsl:for-each> <!-- end of non processor memory ranges loop -->
+            
+            </xsl:for-each> <!--  end of NONPROCADDRESS loop -->
+        
+        </SET> <!--  End of non processor tree branch -->
+        
+    </xsl:if> <!--  End of test to see if we have and non processor mapped address -->
+
+</xsl:template> 
+
+</xsl:stylesheet>
+
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_busif.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_busif.xsl
new file mode 100644 (file)
index 0000000..97adb0d
--- /dev/null
@@ -0,0 +1,631 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE stylesheet [
+       <!ENTITY UPPERCASE "ABCDEFGHIJKLMNOPQRSTUVWXYZ">
+       <!ENTITY LOWERCASE "abcdefghijklmnopqrstuvwxyz">
+       
+       <!ENTITY UPPER2LOWER " '&UPPERCASE;' , '&LOWERCASE;' ">
+       <!ENTITY LOWER2UPPER " '&LOWERCASE;' , '&UPPERCASE;' ">
+       
+       <!ENTITY ALPHALOWER "ABCDEFxX0123456789">
+       <!ENTITY HEXUPPER "ABCDEFxX0123456789">
+       <!ENTITY HEXLOWER "abcdefxX0123456789">
+       <!ENTITY HEXU2L " '&HEXLOWER;' , '&HEXUPPER;' ">
+]>             
+
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="exsl dyn math xlink">
+           
+
+<!--   
+       ================================================================================
+                                                       Generate XTeller for BIFS
+       ================================================================================ 
+-->    
+
+<xsl:template name="WRITE_VIEW_BIF_TREE">
+
+    <xsl:for-each select="$G_SYS_MODS/MODULE">
+    
+      <xsl:variable name="modRef_" select="self::node()"/>
+      <xsl:variable name="m_inst_" select="$modRef_/@INSTANCE"/>
+               
+               <xsl:element name="SET">
+              <xsl:attribute name="ID"><xsl:value-of select="@INSTANCE"/></xsl:attribute>
+              <xsl:attribute name="CLASS">MODULE</xsl:attribute>
+              
+               <xsl:choose>
+                <xsl:when test="$modRef_/@POTENTIAL_INDEX">
+                               <xsl:attribute name="POTENTIAL_INDEX"><xsl:value-of select="$modRef_/@POTENTIAL_INDEX"/></xsl:attribute>
+                </xsl:when>
+                <xsl:when test="$modRef_/@CONNECTED_INDEX">
+                               <xsl:attribute name="CONNECTED_INDEX"><xsl:value-of select="$modRef_/@CONNECTED_INDEX"/></xsl:attribute>
+                </xsl:when>
+           </xsl:choose>
+           
+                       <!--            
+                                  CR452579
+                                  Can only modify INSTANCE name in Hierarchal view.
+                       -->     
+                   <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Name"       NAME="INSTANCE"  VALUE="{@INSTANCE}"/>
+                   <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{@MODTYPE}" VIEWICON="{LICENSEINFO/@ICON_NAME}"/>
+                   <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{@HWVERSION}"/>
+                   
+                   <xsl:variable name="ipClassification_">
+                               <xsl:call-template name="F_ModClass_To_IpClassification">
+                                       <xsl:with-param name="iModClass"  select="@MODCLASS"/>
+                                       <xsl:with-param name="iBusStd"    select="@BUSSTD"/> 
+                               </xsl:call-template>    
+                   </xsl:variable>
+                   
+              <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Classification" NAME="IPCLASS" VALUE="{$ipClassification_}"/>
+              
+              <!-- Write Bus Interfaces here  --> 
+               <xsl:for-each select="$G_SYS_MODS"> <!--  To put things in the right scope for the keys below -->
+                       <xsl:variable name="m_bifs_all_"  select="key('G_MAP_ALL_BIFS', $m_inst_)"/>    
+                       <xsl:for-each select="$m_bifs_all_">
+                          <xsl:sort data-type="number" select="@MPD_INDEX" order="ascending"/>
+                               <xsl:call-template name="WRITE_VIEW_BIF_TREE_SET">
+                                               <xsl:with-param name="iModRef" select="$modRef_"/>
+                                               <xsl:with-param name="iBifRef" select="self::node()"/>
+                                       </xsl:call-template>
+                   </xsl:for-each> <!-- End of bus interface loop  -->
+               </xsl:for-each>
+         </xsl:element> 
+    </xsl:for-each> <!-- End module loop -->
+</xsl:template>        
+
+
+<xsl:template name="WRITE_VIEW_BIF_TREE_SET">
+       <xsl:param name="iModRef" select="'__NONE__'"/>
+       <xsl:param name="iBifRef" select="'__NONE__'"/>
+       <xsl:param name="iBifCol" select="'__NONE__'"/>
+       
+       <xsl:element name="SET">
+               <xsl:if test="not($iBifCol = '__NONE__')">
+                       <xsl:attribute name="RGB_FG"><xsl:value-of select="$iBifCol"/></xsl:attribute>                
+               </xsl:if>
+               <xsl:attribute name="ID"><xsl:value-of select="$iBifRef/@NAME"/></xsl:attribute>
+               <xsl:attribute name="CLASS">BUSINTERFACE</xsl:attribute>
+               
+               <xsl:if test="($iBifRef/@TYPE = 'MONITOR')">
+                       <xsl:choose>
+                               <xsl:when test="($iBifRef/@IS_P2P)">
+                                       <xsl:attribute name="IS_P2P_MONITOR">TRUE</xsl:attribute>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <xsl:attribute name="IS_SHARED_MONITOR">TRUE</xsl:attribute>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:if>
+               
+               <VARIABLE VIEWTYPE="STATIC" VIEWDISP="NAME" NAME="NAME" VALUE="{$iBifRef/@NAME}"/>
+        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Type" NAME="TYPE" VALUE="{$iBifRef/@TYPE}"/>
+               <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="VIEWDISP">Bus Standard</xsl:attribute>
+                       <xsl:attribute name="NAME">BUSSTD</xsl:attribute>
+                       <xsl:choose>
+                       <xsl:when test="($iBifRef/@BUSSTD_PSF)">
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSSTD_PSF"/></xsl:attribute>
+                       </xsl:when>
+                       <xsl:when test="($iBifRef/@BUSSTD)">
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSSTD"/></xsl:attribute>
+                       </xsl:when>
+                       <xsl:when test="($iBifRef/@BUS_STD)">
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUS_STD"/></xsl:attribute>
+                       </xsl:when>
+                       <xsl:otherwise>
+                                       <xsl:attribute name="VALUE">USER</xsl:attribute>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:element>
+               
+               <xsl:choose>
+                       <xsl:when test="($iBifRef/@TYPE = 'INITIATOR')">
+                               <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWTYPE">TEXTBOX</xsl:attribute>
+                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                       <xsl:choose>
+                               <xsl:when test="(($iBifRef/@BUSNAME = '__NOC__') or ($iBifRef/@BUSNAME = '') or not($iBifRef/@BUSNAME))">
+                                               <xsl:variable name="def_noc_name_"><xsl:value-of select="$iModRef/@INSTANCE"/>_<xsl:value-of select="$iBifRef/@NAME"/></xsl:variable>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$def_noc_name_"/></xsl:attribute>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSNAME"/></xsl:attribute>
+                                               </xsl:otherwise>
+                                       </xsl:choose>
+                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                               </xsl:call-template>
+                                       </xsl:if>
+                               </xsl:element>               
+                       </xsl:when>
+                       
+                       <xsl:otherwise>
+                               <xsl:choose>
+                       <xsl:when test="(($iBifRef/@BUSNAME = '__NOC__') or ($iBifRef/@BUSNAME = '') or not($iBifRef/@BUSNAME))">
+                                               <xsl:element name="VARIABLE">
+                                                       <xsl:choose>
+                                       <xsl:when test="(($iBifRef/@BUSSTD = 'AXI') and ($iBifRef/@TYPE = 'SLAVE') and ($G_HAVE_XB_BUSSES = 'TRUE'))">
+                                                                       <xsl:attribute name="VIEWTYPE">BUTTON</xsl:attribute>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                                                       <xsl:attribute name="VIEWTYPE">DROPDOWN</xsl:attribute>
+                                       </xsl:otherwise>
+                                                       </xsl:choose>
+                                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                                       <xsl:attribute name="VALUE">No Connection</xsl:attribute>
+                                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                                               </xsl:call-template>
+                                                       </xsl:if>       
+                                               </xsl:element>
+                                       </xsl:when>                         
+                                       
+                    <xsl:otherwise>
+                                               <xsl:choose>
+                                                       <xsl:when test="(($iBifRef/@TYPE = 'MONITOR') and ($iBifRef/MONITORS/MONITOR))">
+                               <xsl:variable name="monitorBif_" select="$iBifRef/MONITORS/MONITOR"/>
+                               <xsl:variable name="p2pMonConn_" select="concat($monitorBif_/@INSTANCE,'.',$monitorBif_/@BUSINTERFACE)"/>
+                                                               <xsl:element name="VARIABLE">
+                                                                       <xsl:attribute name="VIEWTYPE">DROPDOWN</xsl:attribute>
+                                                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$p2pMonConn_"/></xsl:attribute>
+                                                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                                                               </xsl:call-template>
+                                                                       </xsl:if>
+                                                               </xsl:element>                                                                  
+                               </xsl:when>
+                               
+                                                       <xsl:when test="($iBifRef/@TYPE = 'SLAVE')">
+                                                               <xsl:element name="VARIABLE">
+                                                                       <xsl:choose>
+                                                                               <xsl:when test="(($iBifRef/@BUSSTD = 'AXI') and ($G_HAVE_XB_BUSSES ='TRUE'))">
+                                             <xsl:attribute name="VIEWTYPE">BUTTON</xsl:attribute>
+                                         </xsl:when>
+                                                                               <xsl:otherwise>
+                                                                                       <xsl:attribute name="VIEWTYPE">DROPDOWN</xsl:attribute>
+                                                                               </xsl:otherwise>
+                                                                       </xsl:choose> 
+                                    <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                    <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                    <xsl:choose>
+                                       <xsl:when test="$iBifRef/MASTERS/MASTER">
+                                            <xsl:variable name="mastersList_"><xsl:for-each select="$iBifRef/MASTERS/MASTER"><xsl:if test="position() &gt; 1"> &amp; </xsl:if><xsl:value-of select="concat(@INSTANCE,'.',@BUSINTERFACE)"/></xsl:for-each></xsl:variable>
+                                            <xsl:variable name="mastersConn_" select="concat($iBifRef/@BUSNAME,':',$mastersList_)"/>
+                                             <xsl:attribute name="VALUE"><xsl:value-of select="$mastersConn_"/></xsl:attribute>
+                                         </xsl:when>
+                                         <xsl:otherwise>
+                                             <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSNAME"/></xsl:attribute>
+                                         </xsl:otherwise>
+                                                                       </xsl:choose> 
+                                                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                                                               </xsl:call-template>
+                                                                       </xsl:if>                                                                       
+                                                               </xsl:element>
+                                                       </xsl:when>
+                                                       
+                                                       <xsl:otherwise>
+                                                               <xsl:element name="VARIABLE">
+                                                                       <xsl:attribute name="VIEWTYPE">DROPDOWN</xsl:attribute>
+                                                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSNAME"/></xsl:attribute>
+                                                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                                                               </xsl:call-template>
+                                                                       </xsl:if>
+                                                               </xsl:element>                                                  
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                        </xsl:otherwise>
+               </xsl:choose>
+       </xsl:element>
+</xsl:template>
+
+
+<xsl:template name="WRITE_VIEW_BIF_FLAT">
+
+    <xsl:for-each select="$G_SYS_MODS/MODULE">
+    
+       <xsl:sort data-type="number" select="@ROW_INDEX" order="ascending"/>
+       <xsl:variable name="moduleRef_" select="self::node()"/>
+       <xsl:variable name="busifsRef_">
+                       <xsl:choose>
+                <xsl:when test="self::node()/BUSINTERFACES"><xsl:text>$moduleRef_/BUSINTERFACES</xsl:text></xsl:when>
+                <xsl:otherwise><xsl:text>$moduleRef_</xsl:text></xsl:otherwise>
+                       </xsl:choose>
+               </xsl:variable>   
+               <xsl:for-each select="dyn:evaluate($busifsRef_)/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+               <xsl:sort data-type="number" select="@MPD_INDEX" order="ascending"/>
+               <xsl:call-template name="WRITE_VIEW_BIF_FLAT_SET">
+                               <xsl:with-param name="iModRef" select="$moduleRef_"/>
+                               <xsl:with-param name="iBifRef" select="self::node()"/>
+                       </xsl:call-template>
+       </xsl:for-each> <!--  End of Bus Interface Loop -->
+    </xsl:for-each> <!-- End of Module loop -->
+</xsl:template>
+
+<xsl:template name="WRITE_VIEW_BIF_FLAT_SET">
+
+       <xsl:param name="iModRef" select="'__NONE__'"/>
+       <xsl:param name="iBifRef" select="'__NONE__'"/>
+       <xsl:param name="iBifCol" select="'__NONE__'"/>
+       
+       <xsl:element name="SET">
+               <xsl:if test="not($iBifCol = '__NONE__')">
+                       <xsl:attribute name="RGB_FG"><xsl:value-of select="$iBifCol"/></xsl:attribute>                
+               </xsl:if>       
+               <!-- 
+               <xsl:attribute name="ID"><xsl:value-of select="$iModRef/@INSTANCE"/>.<xsl:value-of select="$iBifRef/@NAME"/></xsl:attribute>
+                -->
+               <xsl:attribute name="ID"><xsl:value-of select="$iBifRef/@NAME"/></xsl:attribute>
+               <xsl:attribute name="CLASS">BUSINTERFACE</xsl:attribute>
+
+               <xsl:if test="($iBifRef/@TYPE = 'MONITOR')">
+                       <xsl:choose>
+                               <xsl:when test="($iBifRef/@IS_P2P)">
+                                       <xsl:attribute name="IS_P2P_MONITOR">TRUE</xsl:attribute>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <xsl:attribute name="IS_SHARED_MONITOR">TRUE</xsl:attribute>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:if>
+               
+               <!-- CR452579 Can only modify INSTANCE name in Hierarchal view. --> 
+               <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance"      NAME="INSTANCE"  VALUE="{$iModRef/@INSTANCE}"/>
+               <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Bus Interface" NAME="NAME"      VALUE="{$iBifRef/@NAME}"/>
+               <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Type"       NAME="MODTYPE"   VALUE="{$iModRef/@MODTYPE}" VIEWICON="{$iModRef/LICENSEINFO/@ICON_NAME}"/>
+               <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Version"    NAME="HWVERSION" VALUE="{$iModRef/@HWVERSION}"/>
+                           
+           <xsl:variable name="ipClassification_">
+               <xsl:call-template name="F_ModClass_To_IpClassification">
+                   <xsl:with-param name="iModClass"  select="$iModRef/@MODCLASS"/>
+                   <xsl:with-param name="iBusStd"    select="$iBifRef/@BUSSTD"/> 
+               </xsl:call-template>    
+           </xsl:variable>
+                           
+               <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Classification" NAME="IPCLASS" VALUE="{$ipClassification_}"/>
+               <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="Type" NAME="TYPE" VALUE="{$iBifRef/@TYPE}"/>
+               
+               <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="VIEWDISP">Bus Standard</xsl:attribute>
+                       <xsl:attribute name="NAME">BUSSTD</xsl:attribute>
+                       <xsl:choose>
+                       <xsl:when test="($iBifRef/@BUS_STD)">
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUS_STD"/></xsl:attribute>
+                       </xsl:when>
+                       <xsl:when test="($iBifRef/@BUSSTD)">
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSSTD"/></xsl:attribute>
+                       </xsl:when>
+                       <xsl:otherwise>
+                                       <xsl:attribute name="VALUE">USER</xsl:attribute>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:element>                      
+               
+               <xsl:choose>
+                       <xsl:when test="$iBifRef/@TYPE = 'INITIATOR'">
+                               <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWTYPE">TEXTBOX</xsl:attribute>
+                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                       <xsl:choose>
+                               <xsl:when test="(($iBifRef/@BUSNAME = '__NOC__') or ($iBifRef/@BUSNAME = '') or not($iBifRef/@BUSNAME))">
+                                               <xsl:variable name="def_noc_name_"><xsl:value-of select="$iModRef/@INSTANCE"/>_<xsl:value-of select="$iBifRef/@NAME"/></xsl:variable>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$def_noc_name_"/></xsl:attribute>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSNAME"/></xsl:attribute>
+                                               </xsl:otherwise>
+                                       </xsl:choose>
+                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                               </xsl:call-template>
+                                       </xsl:if>       
+                               </xsl:element>          
+                       </xsl:when>     
+                       <xsl:otherwise>
+                       <xsl:choose> 
+                       
+                       <xsl:when test="(($iBifRef/@BUSNAME = '__NOC__') or ($iBifRef/@BUSNAME = '') or not($iBifRef/@BUSNAME))">
+                                               <xsl:element name="VARIABLE">
+                                                       <xsl:choose>
+                                       <xsl:when test="(($iBifRef/@BUSSTD = 'AXI') and ($iBifRef/@TYPE = 'SLAVE') and ($G_HAVE_XB_BUSSES = 'TRUE'))">
+                                                                       <xsl:attribute name="VIEWTYPE">BUTTON</xsl:attribute>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                                                       <xsl:attribute name="VIEWTYPE">DROPDOWN</xsl:attribute>
+                                       </xsl:otherwise>
+                                                       </xsl:choose>
+                                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                                       <xsl:attribute name="VALUE">No Connection</xsl:attribute>
+                                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                                               </xsl:call-template>
+                                                       </xsl:if>                                                               
+                                               </xsl:element>
+                                       </xsl:when>
+                       
+                                       <xsl:otherwise>
+                               <xsl:choose>
+                               <xsl:when test="(($iBifRef/@TYPE = 'MONITOR') and ($iBifRef/MONITORS/MONITOR))">
+                                       <xsl:variable name="monitorBif_" select="$iBifRef/MONITORS/MONITOR"/>
+                                       <xsl:variable name="p2pMonConn_" select="concat($monitorBif_/@INSTANCE,'.',$monitorBif_/@BUSINTERFACE)"/>
+                                       <!-- 
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Bus Name" NAME="BUSNAME" VALUE="{$p2pMonConn_}"/>
+                                        -->
+                                                               <xsl:element name="VARIABLE">
+                                                                       <xsl:attribute name="VIEWTYPE">DROPDOWN</xsl:attribute>
+                                                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$p2pMonConn_"/></xsl:attribute>
+                                                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                                                               </xsl:call-template>
+                                                                       </xsl:if>       
+                                                               </xsl:element>                                          
+                               </xsl:when>
+                           
+                               <xsl:when test="($iBifRef/@TYPE = 'SLAVE')">
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:choose>
+                                               <xsl:when test="$iBifRef/@BUSSTD = 'AXI' and $G_HAVE_XB_BUSSES ='TRUE'">
+                                                       <xsl:attribute name="VIEWTYPE">BUTTON</xsl:attribute>
+                                               </xsl:when>
+                                               <xsl:otherwise>
+                                                       <xsl:attribute name="VIEWTYPE">DROPDOWN</xsl:attribute>
+                                               </xsl:otherwise>
+                                       </xsl:choose> 
+                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                       <xsl:choose>
+                                               <xsl:when test="$iBifRef/MASTERS/MASTER">
+                                                       <xsl:variable name="mastersList_"><xsl:for-each select="$iBifRef/MASTERS/MASTER"><xsl:if test="position() &gt; 1"> &amp; </xsl:if><xsl:value-of select="concat(@INSTANCE,'.',@BUSINTERFACE)"/></xsl:for-each></xsl:variable>
+                                                       <xsl:variable name="mastersConn_" select="concat($iBifRef/@BUSNAME,':',$mastersList_)"/>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$mastersConn_"/></xsl:attribute>
+                                               </xsl:when>
+                                               <xsl:otherwise>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSNAME"/></xsl:attribute>
+                                               </xsl:otherwise>
+                                     </xsl:choose> 
+                                                                 <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                                                       <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                                               <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                                               <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                                                       </xsl:call-template>
+                                                                </xsl:if>                                                    
+                                  </xsl:element>
+                               </xsl:when> 
+                               <xsl:otherwise>
+                                       <!-- 
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Bus Name" NAME="BUSNAME" VALUE="{$iBifRef/@BUSNAME}"/>
+                                        -->    
+                                                               <xsl:element name="VARIABLE">
+                                                                       <xsl:attribute name="VIEWTYPE">DROPDOWN</xsl:attribute>
+                                                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$iBifRef/@BUSNAME"/></xsl:attribute>
+                                                                       <xsl:if test="$G_ADD_CHOICES = 'TRUE'">
+                                                                               <xsl:call-template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+                                                                                       <xsl:with-param name="iModRef" select="$iModRef"/>
+                                                                                       <xsl:with-param name="iBifRef" select="$iBifRef"/>
+                                                                               </xsl:call-template>
+                                                                       </xsl:if>       
+                                                               </xsl:element>                                          
+                               </xsl:otherwise>
+                          </xsl:choose>
+                   </xsl:otherwise>
+               </xsl:choose>
+               </xsl:otherwise>
+       </xsl:choose>                               
+ </xsl:element>  
+</xsl:template>
+
+<xsl:template name="WRITE_VIEW_BIF_BUSNAME_CHOICES">
+
+       <xsl:param name="iModRef" select="None"/>
+       <xsl:param name="iBifRef" select="None"/>
+       
+       <xsl:variable name="b_bus_"      select="$iBifRef/@BUSNAME"/>
+       <xsl:variable name="b_name_"     select="$iBifRef/@NAME"/>
+       <xsl:variable name="b_type_"     select="$iBifRef/@TYPE"/>
+       <xsl:variable name="b_bstd_"     select="$iBifRef/@BUSSTD"/>
+       <xsl:variable name="b_bstd_psf_" select="$iBifRef/@BUSSTD_PSF"/>
+       <xsl:variable name="b_protocol_" select="$iBifRef/@PROTOCOL"/>
+       
+       <xsl:element name="CHOICES">
+               <xsl:choose>
+                       <xsl:when test="($b_type_ = 'INITIATOR')">
+                               <xsl:variable name="initiator_busName_">
+                               <xsl:choose>
+                                       <xsl:when test="($b_bus_ = '__NOC__')"><xsl:value-of select="concat($iModRef/@INSTANCE,'_',$b_name_)"/></xsl:when>      
+                                               <xsl:otherwise><xsl:value-of select="$b_bus_"/></xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable>
+                               <CHOICE NAME="{$initiator_busName_}"/>
+                       </xsl:when>     
+                               
+                       <xsl:when test="(($b_type_ = 'MASTER') or ($b_type_ = 'SLAVE') or ($b_type_ = 'MASTER_SLAVE'))">
+                               <CHOICE NAME="No Connection"/>
+                       <xsl:for-each select="$G_SYS_MODS"> <!--  To set correct scope for KEY functions below -->
+                                       <xsl:if test="not(($b_bstd_ = 'AXI') and ($b_type_ = 'SLAVE'))">
+                                               <CHOICE NAME="New Connection"/>
+                                       </xsl:if>
+                               <xsl:for-each select="key('G_MAP_BUSSES',$b_bstd_)">
+                                       <xsl:variable name="busName_" select="@INSTANCE"/>      
+                                       <xsl:choose>
+                                                       <!-- CR#590473 This was setting wrong choices filled up-->
+                                               <!--xsl:when test="(($b_type_ = 'SLAVE') and (@IS_CROSSBAR) and $iBifRef/@PROTOCOL)">
+                                                               <xsl:for-each select="key('G_MAP_MST_BIFS',$busName_)[(@PROTOCOL = $b_protocol_)]">
+                                                                       <xsl:variable name="bifName_" select="@NAME"/>  
+                                                                       <xsl:variable name="insName_" select="../../@INSTANCE"/>        
+                                                                       <xsl:variable name="xb_slave_busName_" select="concat($busName_,':',$insName_,'.',$bifName_)"/>
+                                                                       <CHOICE NAME="{$xb_slave_busName_}"/>
+                                                               </xsl:for-each>
+                                               </xsl:when-->
+                                               <xsl:when test="($b_type_ = 'SLAVE') and (@IS_CROSSBAR)">
+                                                               <xsl:for-each select="key('G_MAP_MST_BIFS',$busName_)">
+                                                                       <xsl:variable name="bifName_" select="@NAME"/>  
+                                                                       <xsl:variable name="insName_" select="../../@INSTANCE"/>        
+                                                                       <xsl:variable name="xb_slave_busName_" select="concat($busName_,':',$insName_,'.',$bifName_)"/>
+                                                                       <CHOICE NAME="{$xb_slave_busName_}"/>
+                                                               </xsl:for-each>
+                                               </xsl:when>                                             
+                                               <xsl:otherwise>
+                                                               <CHOICE NAME="{$busName_}"/>
+                                               </xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:for-each>
+                       </xsl:for-each> 
+                       </xsl:when>
+                       
+                       <xsl:when test="($b_type_ = 'TARGET')">
+                               <CHOICE NAME="No Connection"/>
+                               <xsl:for-each select="$G_SYS_MODS"> <!--  To set correct scope for KEY functions below -->
+                                       <xsl:variable name="use_bstd_"> 
+                                               <xsl:choose>
+                                                       <xsl:when test="(($b_bstd_ = 'AXIS') or ($b_bstd_ = 'XIL'))">
+                                                               <xsl:value-of select="$b_bstd_psf_"/>
+                                                       </xsl:when>     
+                                                       <xsl:otherwise>
+                                                               <xsl:value-of select="$b_bstd_"/>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                       <xsl:choose>
+                                               <xsl:when test="$iBifRef/@PROTOCOL">
+                                                       <xsl:for-each select="key('G_MAP_P2P_BIFS',$use_bstd_)[(@TYPE = 'INITIATOR') and (@PROTOCOL = $b_protocol_)]">
+                                                               <xsl:variable name="busName_" select="@BUSNAME"/>
+                                                               <xsl:choose>
+                                                                       <xsl:when test="($busName_ = '__NOC__')">
+                                                                               <xsl:variable name="bifName_" select="@NAME"/>
+                                                                               <xsl:variable name="insName_" select="../../@INSTANCE"/>        
+                                                                               <xsl:variable name="initiator_busName_" select="concat($insName_,'_',$bifName_)"/>
+                                                                               <CHOICE NAME="{$initiator_busName_}"/>
+                                                                       </xsl:when>
+                                                                       <xsl:otherwise>
+                                                                               <CHOICE NAME="{$busName_}"/>
+                                                                       </xsl:otherwise>
+                                                               </xsl:choose>
+                                               </xsl:for-each>                                         
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                                       <xsl:for-each select="key('G_MAP_P2P_BIFS',$use_bstd_)[(@TYPE = 'INITIATOR')]">
+                                                               <xsl:variable name="busName_" select="@BUSNAME"/>
+                                                               <xsl:choose>
+                                                                       <xsl:when test="($busName_ = '__NOC__')">
+                                                                               <xsl:variable name="bifName_" select="@NAME"/>
+                                                                               <xsl:variable name="insName_" select="../../@INSTANCE"/>        
+                                                                               <xsl:variable name="initiator_busName_" select="concat($insName_,'_',$bifName_)"/>
+                                                                               <CHOICE NAME="{$initiator_busName_}"/>
+                                                                       </xsl:when>
+                                                                       <xsl:otherwise>
+                                                                               <CHOICE NAME="{$busName_}"/>
+                                                                       </xsl:otherwise>
+                                                               </xsl:choose>
+                                               </xsl:for-each>
+                                       </xsl:otherwise>        
+                                       </xsl:choose>
+                               </xsl:for-each>
+                       </xsl:when>
+                       
+                       <xsl:when test="($b_type_ = 'MONITOR')">                        
+                               <CHOICE NAME="No Connection"/>
+                       <xsl:for-each select="$G_SYS_MODS"> <!--  To set correct scope for KEY functions below -->
+                               <xsl:choose>
+                                       <xsl:when test="($iBifRef/@IS_P2P = 'TRUE')">
+                                               <xsl:for-each select="$G_SYS_MODS"> <!--  To set correct scope for KEY functions below -->
+                                                               <xsl:variable name="use_bstd_"> 
+                                                                       <xsl:choose>
+                                                                               <xsl:when test="(($b_bstd_ = 'AXIS') or ($b_bstd_ = 'XIL'))">
+                                                                                       <xsl:value-of select="$b_bstd_psf_"/>
+                                                                               </xsl:when>     
+                                                                               <xsl:otherwise>
+                                                                                       <xsl:value-of select="$b_bstd_"/>
+                                                                               </xsl:otherwise>
+                                                                       </xsl:choose>
+                                                               </xsl:variable>
+                                                               <!--  <xsl:message>monitor p2p <xsl:value-of select="count(key('G_MAP_P2P_BIFS',$use_bstd_)[(@TYPE = 'INITIATOR')])"/> </xsl:message> -->
+                                                               <xsl:for-each select="key('G_MAP_P2P_BIFS',$use_bstd_)[(@TYPE = 'INITIATOR')]">
+                                                                       <xsl:variable name="busName_" select="@BUSNAME"/>
+                                                                       <xsl:choose>
+                                                                               <xsl:when test="($busName_ = '__NOC__')">
+                                                                                       <xsl:variable name="bifName_" select="@NAME"/>
+                                                                                       <xsl:variable name="insName_" select="../../@INSTANCE"/>        
+                                                                                       <xsl:variable name="initiator_busName_" select="concat($insName_,'_',$bifName_)"/>
+                                                                                       <CHOICE NAME="{$initiator_busName_}"/>
+                                                                               </xsl:when>
+                                                                               <xsl:otherwise>
+                                                                                       <CHOICE NAME="{$busName_}"/>
+                                                                               </xsl:otherwise>
+                                                                       </xsl:choose>
+                                                       </xsl:for-each>                         
+                                                       </xsl:for-each> 
+                                       </xsl:when>     
+                                       <xsl:otherwise>
+                                               <xsl:for-each select="key('G_MAP_BUSSES',$b_bstd_)">
+                                                       <xsl:variable name="busName_" select="@INSTANCE"/>      
+                                                       <xsl:choose>
+                                                               <xsl:when test="(@IS_CROSSBAR or ($b_bstd_ = 'AXI'))">
+                                                                               <xsl:for-each select="key('G_MAP_MOS_BIFS',$busName_)">
+                                                                                       <xsl:variable name="bifName_" select="@NAME"/>  
+                                                                                       <xsl:variable name="insName_" select="../../@INSTANCE"/>        
+                                                                                       <!-- 
+                                                                                       <xsl:variable name="xb_moni_busName_" select="concat($busName_,':',$insName_,'.',$bifName_)"/>
+                                                                                        -->
+                                                                                       <xsl:variable name="xb_moni_busName_" select="concat($insName_,'.',$bifName_)"/>
+                                                                                       <CHOICE NAME="{$xb_moni_busName_}"/>
+                                                                               </xsl:for-each>
+                                                               </xsl:when>
+                                                               <xsl:otherwise>
+                                                                               <CHOICE NAME="{$busName_}"/>
+                                                               </xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:for-each>
+                                       </xsl:otherwise>
+
+                               </xsl:choose>
+                       </xsl:for-each>                                 
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:element>
+       
+</xsl:template>        
+                
+                
+
+</xsl:stylesheet>
+
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_groups.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_groups.xsl
new file mode 100644 (file)
index 0000000..e302f3a
--- /dev/null
@@ -0,0 +1,1447 @@
+<!DOCTYPE stylesheet [
+    <!ENTITY ALPUPRS "ABCDEFGHIJKLMNOPQRSTUVWXYZ">
+    <!ENTITY ALPLWRS "abcdefghijklmnopqrstuvwxyz">
+    <!ENTITY UPR2LWS " '&ALPUPRS;' , '&ALPLWRS;' ">
+    
+    <!ENTITY HEXUPPER "ABCDEFxx0123456789">
+    <!ENTITY HEXLOWER "abcdefxX0123456789">
+    <!ENTITY HEXU2L " '&HEXLOWER;' , '&HEXUPPER;' ">
+    
+    <!ENTITY DIV2SLSH " 'div' , '&#047;' ">     
+    
+    <!ENTITY NOT_ELM_CONN "not(name() = 'PARAMETER') and not(name() = 'PORT')          and not(name() = 'BUSINTERFACE')">
+    <!ENTITY NOT_BEF_CONN "not(name() = 'DOCUMENT')  and not(name() = 'DOCUMENTATION') and not(name() = 'DESCRIPTION') and not(name() = 'LICENSEINFO')">
+    <!ENTITY NOT_AFT_CONN "not(name() = 'MEMORYMP') and not(name() = 'PERIPHERALS')   and not(name() = 'INTERRUPTINFO')">
+]>
+
+<!-- ==============================================================
+        This XSL file converts BLOCK xml to SAV XTeller 
+       ============================================================== -->      
+<xsl:stylesheet 
+           version="1.0"
+           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+           xmlns:exsl="http://exslt.org/common"
+           xmlns:dyn="http://exslt.org/dynamic"
+           xmlns:math="http://exslt.org/math"
+           xmlns:xlink="http://www.w3.org/1999/xlink"
+           extension-element-prefixes="math exsl dyn xlink">
+           
+<xsl:output method="xml" 
+            version="1.0" 
+            indent="yes"
+            encoding="UTF-8"/> 
+<!--
+    ===================================================
+       THE MAIN TEMPLATE FOR PORT VIEW SELECTED FOCUS
+    ===================================================
+-->
+<xsl:template name="WRITE_VIEW_PORT_FOCUSED">
+       <xsl:choose>
+               <xsl:when test="$G_ROOT/SAV/@MODE = 'TREE'">
+                       <xsl:call-template name="WRITE_VIEW_EXTP_TREE_SET"/>
+               </xsl:when>
+               <xsl:when test="$G_ROOT/SAV/@MODE = 'FLAT'">
+                       <xsl:call-template name="WRITE_VIEW_EXTP_FLAT_SET"/>
+               </xsl:when>
+       </xsl:choose>
+       <xsl:apply-templates  select="$G_SYS_MODS/MODULE" mode="_port_view_focusing_on_selected"/>
+</xsl:template>        
+
+
+<!--
+    ====================================================
+       THE MAIN TEMPLATE FOR BIF VIEW BUS FOCUS
+    ====================================================
+-->
+<xsl:template name="WRITE_VIEW_BIF_FOCUS_ON_BUSES">
+
+<xsl:if test="$G_DEBUG = 'TRUE'"><xsl:message>Focusing on busses</xsl:message></xsl:if>
+<!--
+       <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES">
+               <xsl:with-param name="iModules" select="$G_GROUPS"/>
+       </xsl:call-template>
+  -->
+  <xsl:apply-templates  select="$G_SYS_MODS/MODULE" mode="_bif_view_focusing_on_buses"/>
+       <xsl:if test="$G_ROOT/SAV/@MODE = 'TREE'"> <!--  The separator -->
+               <xsl:element name="SET">
+               
+                       <xsl:attribute name="ID">MODULES WITH POTENTIAL CONNECTIONS TO FOCUSED BUS</xsl:attribute>
+                       <xsl:attribute name="CLASS">SEPARATOR</xsl:attribute>
+                       <xsl:element name="VARIABLE">
+                               <xsl:attribute name="VIEWDISP">Name</xsl:attribute>
+                               <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                               <xsl:attribute name="NAME">Name</xsl:attribute>
+                               <xsl:attribute name="VALUE">POTENTIAL MODULES BELOW HERE</xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">IP Type</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">MODTYPE</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+               <xsl:attribute name="VIEWDISP">IP Version</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">HWVERSION</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                               </xsl:element>                  
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">IP Classification</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">IPCLASS</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE"></xsl:attribute>
+                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">Type</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">TYPE</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>                  
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">Bus Standard</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">BUSSTD</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>                                          
+               </xsl:element>
+       </xsl:if>  
+</xsl:template>        
+
+<!--
+    ====================================================
+       THE MAIN TEMPLATE FOR BIF VIEW PROCESSOR FOCUS
+    ====================================================
+-->
+<xsl:template name="WRITE_VIEW_BIF_FOCUS_ON_PROCS">
+
+       <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES">
+               <xsl:with-param name="iModules" select="$G_GROUPS"/>
+       </xsl:call-template>
+       
+       <xsl:if test="$G_ROOT/SAV/@MODE = 'TREE'"> <!--  The separator -->
+               <xsl:element name="SET">
+               
+                       <xsl:attribute name="ID">MODULES WITH POTENTIAL CONNECTIONS TO THIS SUBSYSTEM</xsl:attribute>
+                       <xsl:attribute name="CLASS">SEPARATOR</xsl:attribute>
+                       <xsl:element name="VARIABLE">
+                               <xsl:attribute name="VIEWDISP">Name</xsl:attribute>
+                               <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                               <xsl:attribute name="NAME">Name</xsl:attribute>
+                               <xsl:attribute name="VALUE">POTENTIAL MODULES BELOW HERE</xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">IP Type</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">MODTYPE</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+               <xsl:attribute name="VIEWDISP">IP Version</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">HWVERSION</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                               </xsl:element>                  
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">IP Classification</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">IPCLASS</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE"></xsl:attribute>
+                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">Type</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">TYPE</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>                  
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">Bus Standard</xsl:attribute>
+                       
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">BUSSTD</xsl:attribute>
+                       <xsl:attribute name="VALUE"></xsl:attribute>
+                       </xsl:element>                                          
+               </xsl:element>
+       </xsl:if>
+</xsl:template>
+
+<!--
+    ===============================================
+       COPY TRANSFORMS FOR FOCUSING IN BIF VIEW 
+    ===============================================
+-->
+
+<!-- Root copy template for connected -->
+<xsl:template match="node() | @*" mode="_bif_view_focusing_on_connected">
+       <xsl:copy>
+               <xsl:apply-templates select="@* | node()" mode="_bif_view_focusing_on_connected"/>
+       </xsl:copy>
+</xsl:template>
+
+<!-- Root copy template for potentials -->
+<xsl:template match="node() | @*" mode="_bif_view_focusing_on_potentials">
+       <xsl:copy>
+               <xsl:apply-templates select="@* | node()" mode="_bif_view_focusing_on_potentials"/>
+       </xsl:copy>
+</xsl:template>
+
+
+<xsl:template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES"> <!--  Recursive  !! -->
+       <xsl:param name="iModules"/>
+       
+       <xsl:for-each select="$iModules/BLOCK[@ID and not(BLOCK) and not(@C)]">
+       <xsl:variable name="m_id_"                                      select="@ID"/>
+               <xsl:if test="(count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME = $m_id_]) &gt; 0)">
+                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING BUS <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                       <xsl:variable name="m_module_"                          select="$G_SYS_MODS/MODULE[@INSTANCE = $m_id_]"/>
+                       <xsl:apply-templates  select="$m_module_"   mode="_bif_view_focusing_on_connected"/>
+       </xsl:if>
+    </xsl:for-each> 
+           
+       <xsl:for-each select="$iModules/BLOCK[@ID and BLOCK]">
+               <xsl:choose>
+               
+                       <!--  An actual module that needs to be written -->     
+                       <xsl:when test="not(starts-with(@ID,'__')) and BLOCK[@C] and (not(BLOCK/BLOCK) or BLOCK/BLOCK[@CP])">
+                               
+                               <xsl:variable name="m_id_"          select="@ID"/>
+                       <xsl:variable name="m_module_"      select="$G_SYS_MODS/MODULE[@INSTANCE = $m_id_]"/>
+                               <xsl:apply-templates select="$m_module_"  mode="_bif_view_focusing_on_connected"/>
+                   </xsl:when>
+                   
+                       <xsl:when test="starts-with(@ID,'__GROUP_PROCESSOR__.') or starts-with(@ID,'__GROUP_MASTER__.')">
+                       
+                               <!-- 
+                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>MASTER GROUP <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                                -->
+                               
+                               <xsl:variable name="master_id_">
+                                       <xsl:choose>
+                                               <xsl:when test="starts-with(@ID,'__GROUP_MASTER__.')"><xsl:value-of    select="substring-after(@ID,'__GROUP_MASTER__.')"/> </xsl:when>
+                                               <xsl:when test="starts-with(@ID,'__GROUP_PROCESSOR__.')"><xsl:value-of select="substring-after(@ID,'__GROUP_PROCESSOR__.')"/> </xsl:when>
+                                       </xsl:choose>
+                               </xsl:variable>
+                               
+                               <xsl:variable name="num_focused_on_" select="count($G_ROOT/SAV/MASTER[(@INSTANCE = $master_id_)])"/>    
+
+                               <xsl:choose>
+                                       <xsl:when test="$num_focused_on_  &gt; 0">
+                                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>CONNECTED MASTER GROUP <xsl:value-of select="$master_id_"/></xsl:message></xsl:if>
+                                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES">
+                                                       <xsl:with-param name="iModules" select="self::node()"/>
+                                               </xsl:call-template>
+                                       </xsl:when>
+                                       
+                                       <xsl:otherwise>
+                                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>POTENTIAL MASTER GROUP <xsl:value-of select="$master_id_"/></xsl:message></xsl:if>
+                                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_POTENTIAL_MODULES">
+                                                       <xsl:with-param name="iModules" select="self::node()"/>
+                                               </xsl:call-template>
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:when>     
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_SHARED__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>SHARED GROUP <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               <xsl:variable name="p_id_" select="substring-after(@ID,'__GROUP_SHARED__')"/>
+                               
+                               <xsl:variable name="num_focused_on_" select="count($G_ROOT/SAV/MASTER[contains($p_id_,@INSTANCE)])"/>   
+                               
+                               <xsl:choose>
+                                       <xsl:when test="$num_focused_on_  &gt; 0">
+                                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES">
+                                                       <xsl:with-param name="iModules" select="self::node()"/>
+                                               </xsl:call-template>
+                                       </xsl:when>
+                                       
+                                       <xsl:otherwise>
+                                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_POTENTIAL_MODULES">
+                                                       <xsl:with-param name="iModules" select="self::node()"/>
+                                               </xsl:call-template>
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:when>     
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_MEMORY__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message> MEMORY GROUP <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               
+                               <xsl:variable name="m_id_" select="substring-after(@ID,'__GROUP_MEMORY__')"/>
+                               
+                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>     
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_PERIPHERAL__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PERIPHERAL GROUP <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               
+                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_SLAVES__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>SLAVE GROUP <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               
+                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       
+                       <xsl:when test="(starts-with(@ID,'__GROUP_IP__') and not($G_ROOT/SAV/@VIEW = 'BUSINTERFACE'))">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>IP GROUP<xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_CONNECTED_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_FLOATING__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>FLOATING GROUP <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               
+                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_POTENTIAL_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message> IGNORING <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                       </xsl:otherwise>                        
+               </xsl:choose>
+       </xsl:for-each>
+</xsl:template>        
+
+
+
+<!--
+    ===============================================
+       TRANSFORMS FOR FOCUSED POTENTIAL MODULES
+    ===============================================
+-->
+<xsl:template name="WRITE_VIEW_BIF_FOCUSED_POTENTIAL_MODULES"> <!--  Recursive  !! -->
+       <xsl:param name="iModules"/>
+       
+       <!--  BUS -->
+       <xsl:for-each select="$iModules/BLOCK[@ID and not(BLOCK) and not(@C)]">
+       <xsl:variable name="m_id_"                                      select="@ID"/>
+               <xsl:if test="(count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME = $m_id_]) &gt; 0)">
+                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING BUS <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                       <xsl:variable name="m_module_"                          select="$G_SYS_MODS/MODULE[@INSTANCE = $m_id_]"/>
+                       <xsl:apply-templates  select="$m_module_"   mode="_bif_view_focusing_on_connected"/>
+       </xsl:if>
+    </xsl:for-each>
+    
+       <!--  GROUP -->
+       <xsl:for-each select="$iModules/BLOCK[@ID and BLOCK]">
+               <xsl:choose>
+                       <xsl:when test="not(starts-with(@ID,'__')) and BLOCK[@C] and (not(BLOCK/BLOCK) or BLOCK/BLOCK[@CP])">
+                               
+                               <xsl:variable name="m_id_"      select="@ID"/>
+                       <xsl:variable name="m_module_"  select="$G_SYS_MODS/MODULE[@INSTANCE = $m_id_]"/>
+                       <xsl:variable name="m_class_"   select="$m_module_/@MODCLASS"/>
+                       <xsl:choose>
+                               <xsl:when test ="not($m_class_ = 'PROCESSOR')">
+                                       <xsl:variable name="potential_bifs_">
+                                                       <xsl:for-each select="$m_module_/BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                                                               <xsl:variable name="b_std_"  select="@BUSSTD"/>
+                                                               <xsl:variable name="b_bus_"  select="@BUSNAME"/>
+                                                               <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><CONNECTED/></xsl:if>
+                                                               <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@BUSSTD = $b_std_]) &gt; 0"><POTENTIAL/></xsl:if>
+                                                       </xsl:for-each>
+                                               </xsl:variable>
+                                               
+                                               <xsl:variable name="num_potential_" select="count(exsl:node-set($potential_bifs_)/POTENTIAL)"/> 
+                                               <xsl:variable name="num_connected_" select="count(exsl:node-set($potential_bifs_)/CONNECTED)"/> 
+                                               
+                                               <xsl:if test=" ($num_potential_ &gt; 0)">
+                                               <xsl:apply-templates select="$m_module_" mode="_bif_view_focusing_on_potentials"/>
+                                               </xsl:if>       
+                               </xsl:when>
+                               <xsl:when test="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $m_id_)]) &gt; 0">
+                                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message> PERI PROCESSOR <xsl:value-of select="$m_id_"/></xsl:message></xsl:if>
+                                               <xsl:apply-templates select="$m_module_" mode="_bif_view_focusing_on_potentials"/>
+                               </xsl:when>
+                       </xsl:choose>
+                   </xsl:when>
+                   
+                       <xsl:when test="starts-with(@ID,'__GROUP_MEMORY__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING MEMORY <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               
+                               <xsl:variable name="m_id_" select="substring-after(@ID,'__GROUP_MEMORY__')"/>
+                               
+                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_POTENTIAL_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>     
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_PERIPHERAL__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING POTENTIAL GROUP OF PERIPHERALS <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               
+                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_POTENTIAL_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_SLAVES__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING POTENTIAL GROUP OF SLAVES <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               
+                               <xsl:call-template name="WRITE_VIEW_BIF_FOCUSED_POTENTIAL_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message> IGNORING <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:for-each>
+</xsl:template>        
+
+<!--
+    +++++++++++++++++++++++++++++++++++++++++++++++++++++
+                     MODULE TEMPLATES
+    +++++++++++++++++++++++++++++++++++++++++++++++++++++
+-->
+
+<!--
+    ===================================================
+       THE MODULE TEMPLATE FOR PORT VIEW SELECTED FOCUS
+    ===================================================
+-->
+
+<xsl:template match="MODULE" mode="_port_view_focusing_on_selected">
+       <xsl:variable name="m_inst_" select="@INSTANCE"/>
+       
+       <xsl:if test="count($G_ROOT/SAV/SELECTED[(@INSTANCE = $m_inst_)]) &gt; 0">
+               <xsl:choose>
+                       <xsl:when test="$G_ROOT/SAV/@MODE = 'TREE'">
+                               <xsl:call-template name="WRITE_VIEW_PORT_TREE_SET">
+                                       <xsl:with-param name="iModRef" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>             
+               
+                       <xsl:when test="$G_ROOT/SAV/@MODE = 'FLAT'">
+                               <xsl:call-template name="WRITE_VIEW_PORT_FLAT_SET">
+                                       <xsl:with-param name="iModRef" select="self::node()"/>
+                               </xsl:call-template>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:if>
+</xsl:template>
+<!--
+    ===================================================
+       THE MODULE TEMPLATE FOR  BIF VIEW BUS FOCUS
+    ===================================================
+-->
+<xsl:template match="MODULE" mode="_bif_view_focusing_on_buses">
+
+       <xsl:variable name="m_instance_" select="@INSTANCE"/>
+       <xsl:variable name="m_modclass_" select="@MODCLASS"/>
+       
+       <xsl:variable name="is_focused_bus_"  select="count($G_ROOT/SAV/BUS[(@INSTANCE = $m_instance_)])"/>
+       
+       <xsl:variable name="bif_scope_">
+               <xsl:if test="$is_focused_bus_ = 0"> <!--  No need to waste time if we know its one of the focused bus -->
+                       <xsl:for-each select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                               <xsl:variable name="b_bus_"                     select="@BUSNAME"/>
+                               <xsl:variable name="b_bstd_"                    select="@BUSSTD"/>
+                               <xsl:variable name="b_on_focused_bus_"  select="count($G_ROOT/SAV/BUS[(@INSTANCE = $b_bus_)])"/>
+                               <xsl:variable name="b_of_focused_bstd_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@BUSSTD   = $b_bstd_])"/>
+                               <xsl:if test="$b_on_focused_bus_  &gt; 0"><CONNECTED/></xsl:if>
+                               <xsl:if test="$b_of_focused_bstd_ &gt; 0"><POTENTIAL/></xsl:if>
+                       </xsl:for-each>
+               </xsl:if>
+       </xsl:variable>
+       
+       <xsl:variable name="on_focused_bus_"  select="count(exsl:node-set($bif_scope_)/CONNECTED)"/>
+       <xsl:variable name="of_focused_bstd_" select="count(exsl:node-set($bif_scope_)/POTENTIAL)"/>
+       
+       <xsl:if test="(($is_focused_bus_ + $on_focused_bus_ + $of_focused_bstd_) &gt; 0)">
+       
+               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING MODULE ON BUS <xsl:value-of select="@INSTANCE"/></xsl:message></xsl:if>
+               
+               <xsl:choose>
+                       <!--  TREE VIEW -->     
+                       <xsl:when test="$G_ROOT/SAV/@MODE = 'TREE'">            
+                               <xsl:element name="SET">
+                                       <xsl:attribute name="ID"><xsl:value-of select="@INSTANCE"/></xsl:attribute>
+                                       <xsl:attribute name="CLASS">MODULE</xsl:attribute>
+                                       
+                                       <xsl:if test="($is_focused_bus_ &gt; 0)">
+                                               <xsl:attribute name="RGB_BG"><xsl:value-of select="$COL_FOCUSED_MASTER"/></xsl:attribute>
+                                       </xsl:if>
+                                                               
+                                       <xsl:choose>
+                                       
+                                               <xsl:when test="(($is_focused_bus_ + $on_focused_bus_) &gt; 0)">
+                                                       <xsl:attribute name="CONNECTED_INDEX"><xsl:value-of select="@MHS_INDEX"/></xsl:attribute>
+                                               </xsl:when>
+                                               <xsl:otherwise>
+                                                       <xsl:attribute name="POTENTIAL_INDEX"><xsl:value-of select="@MHS_INDEX"/></xsl:attribute>
+                                               </xsl:otherwise>
+                                       </xsl:choose>                                           
+
+
+                                       
+                                       <!-- CR452579 Can only modify INSTANCE name in Hierarchal view. -->     
+                                   <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Name"       NAME="INSTANCE"  VALUE="{@INSTANCE}"/>
+                                   <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{@MODTYPE}" VIEWICON="{LICENSEINFO/@ICON_NAME}"/>
+                                   <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{@HWVERSION}"/>
+                                   
+                                   <xsl:variable name="ipClassification_">
+                                               <xsl:call-template name="F_ModClass_To_IpClassification">
+                                                       <xsl:with-param name="iModClass"  select="@MODCLASS"/>
+                                                       <xsl:with-param name="iBusStd"    select="@BUSSTD"/> 
+                                               </xsl:call-template>    
+                                   </xsl:variable>
+                                   
+                              <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Classification" NAME="IPCLASS" VALUE="{$ipClassification_}"/>
+                              
+                              <xsl:for-each select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                                               <xsl:variable name="b_bus_"                     select="@BUSNAME"/>
+                                               <xsl:variable name="b_bstd_"                    select="@BUSSTD"/>
+                                               <xsl:variable name="b_on_focused_bus_"  select="count($G_ROOT/SAV/BUS[(@INSTANCE = $b_bus_)])"/>
+                                               <xsl:variable name="b_of_focused_bstd_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@BUSSTD   = $b_bstd_])"/>
+                                               <xsl:variable name="bif_col_">
+                                                       <xsl:choose>
+                                                               <xsl:when test="(not($b_bus_ ='__NOC__') and ($b_on_focused_bus_  = 0) and ($b_of_focused_bstd_ &gt; 0))"><xsl:value-of select="$COL_BG_OUTOF_FOCUS_CONNECTIONS"/></xsl:when>
+                                                               <xsl:otherwise>__NONE__</xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:variable>
+                                               <xsl:if test="(($b_on_focused_bus_  + $b_of_focused_bstd_) &gt; 0)">
+                                                       <xsl:if test="$G_ROOT/SAV/@MODE = 'TREE'">
+                                                               <xsl:call-template name="WRITE_VIEW_BIF_TREE_SET">
+                                                                       <xsl:with-param name="iModRef" select="../.."/>
+                                                                       <xsl:with-param name="iBifRef" select="self::node()"/>
+                                                                       <xsl:with-param name="iBifCol" select="$bif_col_"/>
+                                                               </xsl:call-template>    
+                                                       </xsl:if>
+                                                       <xsl:if test="$G_ROOT/SAV/@MODE = 'FLAT'">
+                                                               <xsl:call-template name="WRITE_VIEW_BIF_FLAT_SET">
+                                                                       <xsl:with-param name="iModRef" select="../.."/>
+                                                                       <xsl:with-param name="iBifRef" select="self::node()"/>
+                                                                       <xsl:with-param name="iBifCol" select="$bif_col_"/>
+                                                               </xsl:call-template>
+                                                       </xsl:if>
+                                               </xsl:if>
+                                       </xsl:for-each>
+                               </xsl:element>
+                       </xsl:when>
+                       
+                       <!--  FLAT VIEW -->     
+                       <xsl:otherwise>
+                              <xsl:for-each select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                                               <xsl:variable name="b_bus_"                     select="@BUSNAME"/>
+                                               <xsl:variable name="b_on_focused_bus_"  select="count($G_ROOT/SAV/BUS[(@INSTANCE = $b_bus_)])"/>
+                                               <xsl:if test="($b_on_focused_bus_ &gt; 0)">
+                                                       <xsl:if test="$G_ROOT/SAV/@MODE = 'TREE'">
+                                                               <xsl:call-template name="WRITE_VIEW_BIF_TREE_SET">
+                                                                       <xsl:with-param name="iModRef" select="../.."/>
+                                                                       <xsl:with-param name="iBifRef" select="self::node()"/>
+                                                               </xsl:call-template>    
+                                                       </xsl:if>
+                                                       <xsl:if test="$G_ROOT/SAV/@MODE = 'FLAT'">
+                                                               <xsl:call-template name="WRITE_VIEW_BIF_FLAT_SET">
+                                                                       <xsl:with-param name="iModRef" select="../.."/>
+                                                                       <xsl:with-param name="iBifRef" select="self::node()"/>
+                                                               </xsl:call-template>
+                                                       </xsl:if>
+                                               </xsl:if>
+                                       </xsl:for-each>            
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:if>
+       
+</xsl:template>
+
+<!--
+    ===================================================
+       THE MODULE TEMPLATE FOR CONNECTED MODULES
+       IN BIF VIEW PROC FOCUS
+    ===================================================
+-->
+
+<xsl:template match="MODULE" mode="_bif_view_focusing_on_connected">
+
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>EXAMINING CONNECTED MODULE <xsl:value-of select="@INSTANCE"/></xsl:message></xsl:if>
+       
+       <xsl:variable name="m_instance_" select="@INSTANCE"/>
+       <xsl:variable name="m_class_"    select="@MODCLASS"/>
+       
+       <xsl:variable name="bif_scope_">
+               <xsl:for-each select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                       <xsl:variable name="b_std_"  select="@BUSSTD"/>
+                       <xsl:variable name="b_bus_"  select="@BUSNAME"/>
+                       <xsl:variable name="b_name_" select="@NAME"/>
+       
+                       <xsl:choose>
+                               <xsl:when test="($b_bus_ = '__NOC__')"><POTENTIAL/></xsl:when>
+                               
+                               <xsl:when test="((@TYPE = 'TARGET') or (@TYPE = 'INITIATOR')) and (count(key('G_MAP_P2P_BIFS',$b_bus_)[not(@BUSNAME  = '__NOC__')]) &gt; 0)">
+                               
+                                        <xsl:variable name="p2p_scope_">
+                                               <xsl:for-each select="$G_SYS_MODS">                                             
+                                                       <xsl:for-each select="key('G_MAP_P2P_BIFS',$b_bus_)[not(@BUSNAME  = '__NOC__')]">
+                                                               <xsl:variable name="b_instance_" select="../../@INSTANCE"/>
+                                                               <xsl:variable name="b_modclass_" select="../../@MODCLASS"/>
+                                                               <xsl:variable name="b_bifname_"  select="@NAME"/>
+                                                               <xsl:if test="not(($b_bifname_ = $b_name_) and ($b_instance_ = $m_instance_))">
+                                                                       <xsl:variable name="num_mast_connections_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_])"/>
+                                                                       <xsl:variable name="num_peri_connections_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $b_instance_)])"/>
+                                                                       <xsl:if test="(($num_mast_connections_  + $num_peri_connections_) &gt; 0)"><INSCOPE/></xsl:if>
+                                                                       <xsl:if test="(($num_mast_connections_  + $num_peri_connections_) = 0) and not($m_class_ = 'MEMORY') and not($m_class_ = 'MEMORY_CNTLR')"><UNFOCUSED/></xsl:if>
+                                                               </xsl:if>
+                                                       </xsl:for-each>
+                                               </xsl:for-each>
+                                        </xsl:variable>
+                                        <xsl:variable name="num_p2p_inscope_"   select="count(exsl:node-set($p2p_scope_)/INSCOPE)"/>
+                                        <xsl:variable name="num_p2p_unfocused_" select="count(exsl:node-set($p2p_scope_)/UNFOCUSED)"/>
+                                        <xsl:if test="$num_p2p_inscope_   &gt; 0"><CONNECTED/></xsl:if>
+                                        <xsl:if test="$num_p2p_unfocused_ &gt; 0"><UNFOCUSED/></xsl:if>
+                               </xsl:when>
+                               
+                                        <!-- 
+                                        <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>   P2P <xsl:value-of select="$b_instance_"/> == <xsl:value-of select="$num_peri_connections_"/> UNFOCUSED</xsl:message></xsl:if>
+                                        <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>   P2P <xsl:value-of select="$m_instance_"/>.<xsl:value-of select="$b_name_"/> = <xsl:value-of select="$num_p2p_unfocused_"/> UNFOCUSED</xsl:message></xsl:if>
+                                         -->
+                               
+                               <xsl:when test="((@TYPE = 'SLAVE') and not(MASTERS/MASTER)) or (@TYPE = 'MASTER')">
+                                       <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><CONNECTED/></xsl:if>
+                                       <xsl:if test="($b_bus_ = '__NOC__') and count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@BUSSTD = $b_std_]) &gt; 0"><POTENTIAL/></xsl:if>
+                               </xsl:when>
+                               
+                               <xsl:when test="(MASTERS/MASTER)">
+                                       <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><POTENTIAL/></xsl:if>
+                                       <xsl:for-each select="MASTERS/MASTER">
+                                               <xsl:variable name="m_inst_" select="@INSTANCE"/>
+                                               <xsl:choose>
+                                                       <xsl:when test="count($G_ROOT/SAV/MASTER[(@INSTANCE = $m_inst_)]) &gt; 0"><CONNECTED/></xsl:when>
+                                                       <xsl:when test="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $m_inst_)]) &gt; 0"><CONNECTED/></xsl:when>
+                                                       <xsl:otherwise><UNFOCUSED/></xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:for-each>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:for-each>
+               
+               <xsl:if test="$m_class_ = 'BUS'">
+                       <xsl:variable name="num_bifs_on_bus_" select="count(key('G_MAP_ALL_BIFS_BY_BUS',$m_instance_))"/>
+                       <!--  <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>BBBBBB <xsl:value-of select="$m_instance_"/> has <xsl:value-of select="$num_bifs_on_bus_"/> bifs </xsl:message></xsl:if> -->
+                       <xsl:for-each select="key('G_MAP_ALL_BIFS_BY_BUS',$m_instance_)">
+                               <xsl:variable name="b_name_" select="@NAME"/>
+                               <xsl:variable name="b_type_" select="@TYPE"/>
+                               <xsl:variable name="b_inst_" select="../../@INSTANCE"/>
+                               <xsl:variable name="b_icls_" select="../../@MODCLASS"/>
+                               <xsl:variable name="is_mast_in_focus_" select="count($G_ROOT/SAV/MASTER[(@INSTANCE = $b_inst_)])"/>
+                               <xsl:variable name="is_peri_in_focus_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[@NAME   = $b_inst_])"/>
+                               <xsl:if test="(($is_peri_in_focus_ + $is_mast_in_focus_) = 0)"><UNFOCUSED/></xsl:if>
+                       </xsl:for-each>
+               </xsl:if>
+       </xsl:variable>
+       
+    <xsl:variable name="mod_id_"                        select="@INSTANCE"/>   
+    <xsl:variable name="potential_masts_id_" select="concat('__GROUP_MASTER__.',@INSTANCE)"/>  
+       <xsl:variable name="is_master_"          select="count($G_GROUPS/BLOCK[(@ID = $potential_masts_id_)])"/>        
+       <xsl:variable name="is_focused_on_"      select="count($G_ROOT/SAV/MASTER[(@INSTANCE = $mod_id_)])"/>   
+       <xsl:variable name="is_peripheral_"      select="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[@NAME   = $mod_id_])"/>               
+       <xsl:variable name="num_potential_bifs_" select="count(exsl:node-set($bif_scope_)/POTENTIAL)"/> 
+       <xsl:variable name="num_connected_bifs_" select="count(exsl:node-set($bif_scope_)/CONNECTED)"/>
+       <xsl:variable name="num_unfocused_bifs_" select="count(exsl:node-set($bif_scope_)/UNFOCUSED)"/>
+       
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  CONNECTED BIFS <xsl:value-of select="$num_connected_bifs_"/></xsl:message></xsl:if>
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  POTENTIAL BIFS <xsl:value-of select="$num_potential_bifs_"/></xsl:message></xsl:if>
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  IS PERIPHERAL  <xsl:value-of select="$is_peripheral_"/></xsl:message></xsl:if>                    
+       <xsl:if test="((@MODCLASS = 'BUS') or ($num_connected_bifs_ + $is_focused_on_ + $num_potential_bifs_ + $is_peripheral_) &gt; 0)">               
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>    PLACING MODULE <xsl:value-of select="@INSTANCE"/></xsl:message></xsl:if>
+
+               <xsl:choose>
+                       <xsl:when test="$G_ROOT/SAV/@MODE = 'TREE'">
+                               <xsl:element name="SET">
+                                       <xsl:attribute name="ID"><xsl:value-of select="@INSTANCE"/></xsl:attribute>
+                                       <xsl:attribute name="CLASS">MODULE</xsl:attribute>
+                                       
+                                       <xsl:choose>
+                                               <xsl:when test="((@MODCLASS = 'BUS') or (($num_connected_bifs_ + $is_peripheral_ + $is_focused_on_) &gt; 0))">
+                                                               <xsl:attribute name="CONNECTED_INDEX"><xsl:value-of select="@MHS_INDEX"/></xsl:attribute>
+                                               </xsl:when>
+                                               <xsl:otherwise>
+                                                               <xsl:attribute name="POTENTIAL_INDEX"><xsl:value-of select="@MHS_INDEX"/></xsl:attribute>
+                                               </xsl:otherwise>
+                                       </xsl:choose>
+                                       
+                                       
+                                       <xsl:choose>
+                                               <xsl:when test="count($G_ROOT/SAV/MASTER[(@INSTANCE = $mod_id_)]) &gt; 0">
+                                                       <xsl:attribute name="RGB_BG"><xsl:value-of select="$COL_FOCUSED_MASTER"/></xsl:attribute>
+                                               </xsl:when>
+                                               <xsl:when test="$num_unfocused_bifs_ &gt; 0">
+                                                       <xsl:attribute name="RGB_FG"><xsl:value-of select="$COL_BG_OUTOF_FOCUS_CONNECTIONS"/></xsl:attribute>
+                                               </xsl:when>
+                                       </xsl:choose>
+                                               <!--            
+                                                          CR452579
+                                                          Can only modify INSTANCE name in Hierarchal view.
+                                               -->     
+                                           <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Name"       NAME="INSTANCE"  VALUE="{@INSTANCE}"/>
+                                           <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{@MODTYPE}" VIEWICON="{LICENSEINFO/@ICON_NAME}"/>
+                                           <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{@HWVERSION}"/>
+                                           
+                                           <xsl:variable name="ipClassification_">
+                                                       <xsl:call-template name="F_ModClass_To_IpClassification">
+                                                               <xsl:with-param name="iModClass"  select="@MODCLASS"/>
+                                                               <xsl:with-param name="iBusStd"    select="@BUSSTD"/> 
+                                                       </xsl:call-template>    
+                                           </xsl:variable>
+                                      <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Classification" NAME="IPCLASS" VALUE="{$ipClassification_}"/>
+                                      
+                                  <xsl:apply-templates  select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]" mode="_bif_view_focusing_on_connected"/>
+                               </xsl:element>
+                       </xsl:when>
+                       
+                       <xsl:otherwise>
+                  <xsl:apply-templates  select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]" mode="_bif_view_focusing_on_connected"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:if>
+</xsl:template>
+
+
+<!--
+    ===================================================
+       THE MODULE TEMPLATE FOR POTENTIAL MODULES
+       IN BIF VIEW PROC FOCUS
+    ===================================================
+-->
+
+<xsl:template match="MODULE" mode="_bif_view_focusing_on_potentials">
+
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>EXAMINING POTENTIAL MODULE <xsl:value-of select="@INSTANCE"/></xsl:message></xsl:if>
+       
+       <xsl:variable name="m_instance_" select="@INSTANCE"/>
+       <xsl:variable name="m_modclass_" select="@MODCLASS"/>
+       
+       <xsl:variable name="bif_scope_">
+               <xsl:for-each select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                       <xsl:variable name="b_std_"  select="@BUSSTD"/>
+                       <xsl:variable name="b_bus_"  select="@BUSNAME"/>
+                       <xsl:choose>
+                       
+                               <xsl:when test="($b_bus_ = '__NOC__')"><POTENTIAL/></xsl:when>
+                               
+                               <xsl:when test="((@TYPE = 'TARGET') or (@TYPE = 'INITIATOR')) and (count(key('G_MAP_P2P_BIFS',$b_bus_)[not(@BUSNAME  = '__NOC__')]) &gt; 0)">
+                                        <xsl:variable name="p2p_scope_">
+                                               <xsl:for-each select="$G_SYS_MODS"> <!-- To set the right scope for the keys  -->
+                                                       <xsl:for-each select="key('G_MAP_P2P_BIFS',$b_bus_)[not(@BUSNAME  = '__NOC__')]">
+                                                               <xsl:variable name="b_instance_" select="../../@INSTANCE"/>
+                                                               <xsl:variable name="b_modclass_" select="../../@MODCLASS"/>
+                                                               <xsl:variable name="num_mast_connections_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_])"/>
+                                                               <xsl:variable name="num_peri_connections_">
+                                                                       <xsl:choose>
+                                                                               <xsl:when test="((($m_modclass_ = 'PROCESSOR') and ($b_modclass_ = 'PROCESSOR')) or not($b_modclass_ = 'PROCESSOR'))">
+                                                                                       <xsl:value-of select="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $b_instance_)])"/>
+                                                                               </xsl:when>
+                                                                               <xsl:otherwise>0</xsl:otherwise>
+                                                                       </xsl:choose>
+                                                               </xsl:variable> 
+                                                                       
+                                                               <xsl:if test="(($num_mast_connections_  + $num_peri_connections_) &gt; 0)"><INSCOPE/></xsl:if>
+                                                               <xsl:if test="(($num_mast_connections_  + $num_peri_connections_) = 0) and not($m_modclass_ = 'MEMORY') and not($m_modclass_ = 'MEMORY_CNTLR')"><UNFOCUSED/></xsl:if>
+                                                       </xsl:for-each>
+                                               </xsl:for-each>
+                                        </xsl:variable>
+                                        <xsl:variable name="num_p2p_inscope_"   select="count(exsl:node-set($p2p_scope_)/INSCOPE)"/>
+                                        <xsl:variable name="num_p2p_unfocused_" select="count(exsl:node-set($p2p_scope_)/UNFOCUSED)"/>
+                                        <xsl:if test="$num_p2p_inscope_   &gt; 0"><CONNECTED/></xsl:if>
+                                        <xsl:if test="$num_p2p_unfocused_ &gt; 0"><UNFOCUSED/></xsl:if>
+                               </xsl:when>
+                               
+                               <xsl:when test="(@TYPE = 'SLAVE') and not(MASTERS/MASTER)">
+                                       <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><CONNECTED/></xsl:if>
+                                       <xsl:if test="($b_bus_ = '__NOC__') and count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@BUSSTD = $b_std_]) &gt; 0"><POTENTIAL/></xsl:if>
+                               </xsl:when>
+                               
+                               <xsl:when test="(MASTERS/MASTER)">
+                                       <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><POTENTIAL/></xsl:if>
+                                       <xsl:for-each select="MASTERS/MASTER">
+                                               <xsl:variable name="m_inst_" select="@INSTANCE"/>
+                                               <xsl:choose>
+                                                       <xsl:when test="count($G_ROOT/SAV/MASTER[(@INSTANCE = $m_inst_)]) &gt; 0"><CONNECTED/></xsl:when>
+                                                       <xsl:when test="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $m_inst_)]) &gt; 0"><CONNECTED/></xsl:when>
+                                                       <xsl:otherwise><UNFOCUSED/></xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:for-each>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:for-each>
+               
+               <xsl:if test="$m_modclass_ = 'BUS'">
+                       <xsl:variable name="num_bifs_on_bus_" select="count(key('G_MAP_ALL_BIFS_BY_BUS',$m_instance_))"/>
+                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>BUS <xsl:value-of select="$m_instance_"/> has <xsl:value-of select="$num_bifs_on_bus_"/> bifs </xsl:message></xsl:if>
+                       <xsl:for-each select="key('G_MAP_ALL_BIFS_BY_BUS',$m_instance_)">
+                               <xsl:variable name="b_name_" select="@NAME"/>
+                               <xsl:variable name="b_type_" select="@TYPE"/>
+                               <xsl:variable name="b_inst_" select="../../@INSTANCE"/>
+                               <xsl:variable name="b_icls_" select="../../@MODCLASS"/>
+                               <xsl:variable name="is_mast_in_focus_" select="count($G_ROOT/SAV/MASTER[(@INSTANCE = $b_inst_)])"/>
+                               <xsl:variable name="is_peri_in_focus_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[@NAME   = $b_inst_])"/>
+                               <xsl:if test="(($is_peri_in_focus_ + $is_mast_in_focus_) = 0)"><UNFOCUSED/></xsl:if>                            
+                       </xsl:for-each>
+               </xsl:if>
+       </xsl:variable>
+       
+    <xsl:variable name="mod_id_"                        select="@INSTANCE"/>   
+    <xsl:variable name="potential_masts_id_" select="concat('__GROUP_MASTER__.',@INSTANCE)"/>  
+       <xsl:variable name="is_master_"          select="count($G_GROUPS/BLOCK[(@ID = $potential_masts_id_)])"/>        
+       <xsl:variable name="is_peripheral_"      select="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[@NAME   = $mod_id_])"/>               
+       <xsl:variable name="num_potential_bifs_" select="count(exsl:node-set($bif_scope_)/POTENTIAL)"/> 
+       <xsl:variable name="num_connected_bifs_" select="count(exsl:node-set($bif_scope_)/CONNECTED)"/>
+       <xsl:variable name="num_unfocused_bifs_" select="count(exsl:node-set($bif_scope_)/UNFOCUSED)"/>
+<!-- 
+-->
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  <xsl:value-of select="$num_connected_bifs_"/> connected BIFS</xsl:message></xsl:if>       
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  <xsl:value-of select="$num_potential_bifs_"/> potential bifs </xsl:message></xsl:if>      
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  <xsl:value-of select="$num_unfocused_bifs_"/> unfocused bifs </xsl:message></xsl:if>      
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  <xsl:value-of select="$is_peripheral_"/> is a peripheral</xsl:message></xsl:if>   
+       
+       <xsl:if test="(($num_connected_bifs_ + $num_potential_bifs_ + $is_peripheral_) &gt; 0)">
+               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING POTENTIAL MODULE <xsl:value-of select="@INSTANCE"/></xsl:message></xsl:if>
+               <xsl:choose>
+               
+                       <xsl:when test="$G_ROOT/SAV/@MODE = 'TREE'">            
+                               <xsl:element name="SET">
+                                       <xsl:attribute name="ID"><xsl:value-of select="@INSTANCE"/></xsl:attribute>
+                                       <xsl:attribute name="CLASS">MODULE</xsl:attribute>
+                                       <xsl:choose>
+                                               <xsl:when  test="(($is_peripheral_ &gt; 0) or ($num_connected_bifs_ &gt; 0))">
+                                                       <xsl:attribute name="CONNECTED_INDEX"><xsl:value-of select="@MHS_INDEX"/></xsl:attribute>
+                                               </xsl:when>
+                                               <xsl:otherwise>
+                                                       <xsl:attribute name="POTENTIAL_INDEX"><xsl:value-of select="@MHS_INDEX"/></xsl:attribute>
+                                               </xsl:otherwise>
+                                       </xsl:choose>
+                                       
+                                       <xsl:choose>
+                                               <xsl:when test="count($G_ROOT/SAV/MASTER[(@INSTANCE = $mod_id_)]) &gt; 0">
+                                                       <xsl:attribute name="RGB_BG"><xsl:value-of select="$COL_FOCUSED_MASTER"/></xsl:attribute>
+                                               </xsl:when>
+                                               <xsl:when test="$num_unfocused_bifs_ &gt; 0">
+                                                       <xsl:attribute name="RGB_FG"><xsl:value-of select="$COL_BG_OUTOF_FOCUS_CONNECTIONS"/></xsl:attribute>
+                                               </xsl:when>
+                                       </xsl:choose>           
+                                       
+                                       <!-- CR452579 Can only modify INSTANCE name in Hierarchal view. -->     
+                                   <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Name"       NAME="INSTANCE"  VALUE="{@INSTANCE}"/>
+                                   <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{@MODTYPE}" VIEWICON="{LICENSEINFO/@ICON_NAME}"/>
+                                   <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{@HWVERSION}"/>
+                                   
+                                   <xsl:variable name="ipClassification_">
+                                               <xsl:call-template name="F_ModClass_To_IpClassification">
+                                                       <xsl:with-param name="iModClass"  select="@MODCLASS"/>
+                                                       <xsl:with-param name="iBusStd"    select="@BUSSTD"/> 
+                                               </xsl:call-template>    
+                                   </xsl:variable>
+                                   
+                              <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Classification" NAME="IPCLASS" VALUE="{$ipClassification_}"/>
+                              
+                          <xsl:apply-templates  select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]" mode="_bif_view_focusing_on_potentials"/>
+                               </xsl:element>                 
+                       </xsl:when>
+                       
+                       <xsl:otherwise>
+                          <xsl:apply-templates  select="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]" mode="_bif_view_focusing_on_potentials"/>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </xsl:if>
+</xsl:template>
+
+<!--
+    +++++++++++++++++++++++++++++++++++++++++++++++++++++
+                      BUS INTERFACE TEMPLATES
+    +++++++++++++++++++++++++++++++++++++++++++++++++++++
+-->
+
+<!--
+    ===================================================
+       THE BIF TEMPLATE FOR CONNECTED MODULES
+       IN BIF VIEW PROC FOCUS
+    ===================================================
+-->
+<xsl:template match="BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]" mode="_bif_view_focusing_on_connected">
+       <xsl:variable name="m_instance_" select="../../@INSTANCE"/>
+       <xsl:variable name="b_std_"      select="@BUSSTD"/>
+       <xsl:variable name="b_bus_"      select="@BUSNAME"/>
+       <xsl:variable name="b_name_"     select="@NAME"/>
+       
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message> EXAMINING CONNECTED INTERFACE <xsl:value-of select="$m_instance_"/>.<xsl:value-of select="$b_name_"/></xsl:message></xsl:if>
+       
+       <xsl:variable name="bif_scope_">
+               <xsl:choose>
+                       <xsl:when test="($b_bus_ = '__NOC__')"><POTENTIAL/></xsl:when>
+                       <xsl:when test="((@TYPE = 'TARGET') or (@TYPE = 'INITIATOR')) and (count(key('G_MAP_P2P_BIFS',$b_bus_)[not(@BUSNAME  = '__NOC__')]) &gt; 0)">
+                                <xsl:variable name="p2p_scope_">
+                                       <xsl:for-each select="$G_SYS_MODS">     <!--  to put in right scope for key below -->
+                                               <xsl:for-each select="key('G_MAP_P2P_BIFS',$b_bus_)[not(@BUSNAME  = '__NOC__')]">
+                                                       <xsl:variable name="p2p_bifname_"  select="@NAME"/>
+                                                       <xsl:variable name="p2p_instance_" select="../../@INSTANCE"/>
+                                                       
+                                                       <xsl:variable name="num_proc_connections_" select="count(key('G_MAP_PROCESSORS',$p2p_instance_))"/>
+                                                       <xsl:variable name="num_mast_connections_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_])"/>
+                                                       <xsl:variable name="num_peri_connections_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $p2p_instance_)])"/>
+                                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  <xsl:value-of select="$p2p_instance_"/>.<xsl:value-of select="$p2p_bifname_"/></xsl:message></xsl:if>
+                                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  PROC CONNECTIONS <xsl:value-of select="$num_proc_connections_"/></xsl:message></xsl:if>
+                                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  MAST CONNECTIONS <xsl:value-of select="$num_mast_connections_"/></xsl:message></xsl:if>
+                                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  PERI CONNECTIONS <xsl:value-of select="$num_peri_connections_"/></xsl:message></xsl:if>
+                                                       
+                                                       <xsl:if test="($num_mast_connections_ = 0)   and ($num_proc_connections_ &gt; 0)"><OUTSCOPE/></xsl:if>
+                                                       <xsl:if test="($num_mast_connections_ &gt; 0) or ($num_peri_connections_ &gt; 0)"><INSCOPE/></xsl:if>
+                                                       
+                                               </xsl:for-each>
+                                       </xsl:for-each>
+                                </xsl:variable>
+                                
+                                <xsl:variable name="num_p2p_inscope_"  select="count(exsl:node-set($p2p_scope_)/INSCOPE)"/>
+                                <xsl:variable name="num_p2p_outscope_" select="count(exsl:node-set($p2p_scope_)/OUTSCOPE)"/>
+                                
+                                <xsl:if test="(($num_p2p_inscope_ &gt; 0) and ($num_p2p_outscope_ = 0))"><CONNECTED/></xsl:if>
+                       </xsl:when>
+                       <xsl:when test="(@TYPE = 'MASTER')">
+                               <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><CONNECTED/></xsl:if>
+                       </xsl:when>
+                       <xsl:when test="(@TYPE = 'SLAVE') and not(MASTERS/MASTER)">
+                               <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><CONNECTED/></xsl:if>
+                               <xsl:if test="($b_bus_ = '__NOC__') and count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@BUSSTD = $b_std_]) &gt; 0"><POTENTIAL/></xsl:if>
+                       </xsl:when>
+                       <xsl:when test="(MASTERS/MASTER)">
+                               <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><POTENTIAL/></xsl:if>
+                               <xsl:for-each select="MASTERS/MASTER">
+                                       <xsl:variable name="m_inst_" select="@INSTANCE"/>
+                                       <xsl:choose>
+                                               <xsl:when test="count($G_ROOT/SAV/MASTER[(@INSTANCE = $m_inst_)]) &gt; 0"><CONNECTED/></xsl:when>
+                                               <xsl:when test="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $m_inst_)]) &gt; 0"><CONNECTED/></xsl:when>
+                                               <xsl:otherwise><UNFOCUSED/></xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:for-each>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>         
+       
+       <xsl:variable name="num_scope_unfocuseds_" select="count(exsl:node-set($bif_scope_)/UNFOCUSED)"/>       
+       <xsl:variable name="num_scope_potentials_" select="count(exsl:node-set($bif_scope_)/POTENTIAL)"/>
+       <xsl:variable name="num_scope_connecteds_" select="count(exsl:node-set($bif_scope_)/CONNECTED)"/>
+       
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  CONNECTED SCOPE <xsl:value-of select="$num_scope_connecteds_"/></xsl:message></xsl:if>
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  POTENTIAL SCOPE <xsl:value-of select="$num_scope_potentials_"/></xsl:message></xsl:if>
+
+       <xsl:variable name="include_bif_">
+               <xsl:choose>
+                       <xsl:when test="($b_bus_ = '__NOC__')">TRUE</xsl:when>
+                       <xsl:when test="(((@TYPE = 'TARGET') or (@TYPE = 'INITIATOR')) and ($num_scope_connecteds_  &gt; 0))">TRUE</xsl:when>
+                       <xsl:when test="((@TYPE = 'MASTER') or (@TYPE = 'SLAVE') or (@TYPE = 'MASTER_SLAVE')) and (($num_scope_potentials_  &gt; 0) or ($num_scope_connecteds_  &gt; 0))">TRUE</xsl:when>
+                       <xsl:otherwise>FALSE</xsl:otherwise>
+               </xsl:choose>                   
+       </xsl:variable>
+                               
+       <xsl:if test="($include_bif_ = 'TRUE')">
+               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>   PLACING CONNECTED INTERFACE <xsl:value-of select="$m_instance_"/>.<xsl:value-of select="$b_name_"/></xsl:message></xsl:if>
+
+               <xsl:variable name="bif_col_">
+                       <xsl:choose>
+                               <xsl:when test="($num_scope_unfocuseds_ &gt; 0)"><xsl:value-of select="$COL_BG_OUTOF_FOCUS_CONNECTIONS"/></xsl:when>
+                               <xsl:otherwise>__NONE__</xsl:otherwise>
+                       </xsl:choose>   
+               </xsl:variable> 
+               
+               <xsl:if test="$G_ROOT/SAV/@MODE = 'TREE'">
+                       <xsl:call-template name="WRITE_VIEW_BIF_TREE_SET">
+                               <xsl:with-param name="iModRef" select="../.."/>
+                               <xsl:with-param name="iBifRef" select="self::node()"/>
+                               <xsl:with-param name="iBifCol" select="$bif_col_"/>
+                       </xsl:call-template>    
+               </xsl:if>               
+               
+               <xsl:if test="$G_ROOT/SAV/@MODE = 'FLAT'">
+                       <xsl:call-template name="WRITE_VIEW_BIF_FLAT_SET">
+                               <xsl:with-param name="iModRef" select="../.."/>
+                               <xsl:with-param name="iBifRef" select="self::node()"/>
+                               <xsl:with-param name="iBifCol" select="$bif_col_"/>
+                       </xsl:call-template>
+               </xsl:if>       
+       </xsl:if>
+</xsl:template>  
+
+<!--
+    ===================================================
+       THE BIF TEMPLATE FOR POTENTIAL MODULES
+       IN BIF VIEW PROC FOCUS
+    ===================================================
+-->
+
+<xsl:template match="BUSINTERFACES/BUSINTERFACE[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]" mode="_bif_view_focusing_on_potentials">
+       <xsl:variable name="m_instance_" select="../../@INSTANCE"/>
+       <xsl:variable name="b_name_"     select="@NAME"/>
+       <xsl:variable name="b_std_"      select="@BUSSTD"/>
+       <xsl:variable name="b_bus_"      select="@BUSNAME"/>
+       
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message> EXAMINING POTENTIAL INTERFACE <xsl:value-of select="$m_instance_"/>.<xsl:value-of select="$b_name_"/></xsl:message></xsl:if>
+       
+       <xsl:variable name="bif_scope_">
+               <xsl:choose>
+                       <xsl:when test="($b_bus_ = '__NOC__')"><POTENTIAL/></xsl:when>
+                       
+                       <xsl:when test="((@TYPE = 'TARGET') or (@TYPE = 'INITIATOR')) and (count(key('G_MAP_P2P_BIFS',$b_bus_)[not(@BUSNAME  = '__NOC__')]) &gt; 0)">
+                                <xsl:variable name="p2p_scope_">
+                                       <xsl:for-each select="$G_SYS_MODS">                                             
+                                               <xsl:for-each select="key('G_MAP_P2P_BIFS',$b_bus_)[not(@BUSNAME  = '__NOC__')]">
+                                                       <xsl:variable name="b_instance_" select="../../@INSTANCE"/>
+                                                       
+                                                       <xsl:variable name="num_proc_connections_" select="count(key('G_MAP_PROCESSORS',$b_instance_))"/>
+                                                       <xsl:variable name="num_mast_connections_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_])"/>
+                                                       <xsl:variable name="num_peri_connections_" select="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $b_instance_)])"/>
+                                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  PROC CONNECTIONS <xsl:value-of select="$num_proc_connections_"/></xsl:message></xsl:if>
+                                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  MAST CONNECTIONS <xsl:value-of select="$num_mast_connections_"/></xsl:message></xsl:if>
+                                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>  PERI CONNECTIONS <xsl:value-of select="$num_peri_connections_"/></xsl:message></xsl:if>
+                                                       
+                                                       <xsl:if test="($num_mast_connections_ = 0)   and ($num_proc_connections_ &gt; 0)"><OUTSCOPE/></xsl:if>
+                                                       <xsl:if test="($num_mast_connections_ &gt; 0) or ($num_peri_connections_ &gt; 0)"><INSCOPE/></xsl:if>
+                                                       
+                                               </xsl:for-each>
+                                       </xsl:for-each>
+                                </xsl:variable>
+                                
+                                <xsl:variable name="num_p2p_inscope_"  select="count(exsl:node-set($p2p_scope_)/INSCOPE)"/>
+                                <xsl:variable name="num_p2p_outscope_" select="count(exsl:node-set($p2p_scope_)/OUTSCOPE)"/>
+                                
+                                <xsl:if test="(($num_p2p_inscope_ &gt; 0) and ($num_p2p_outscope_ = 0))"><CONNECTED/></xsl:if>
+                       </xsl:when>     
+                       <xsl:when test="(((@TYPE = 'SLAVE') and not(MASTERS/MASTER)) or (@TYPE = 'MASTER'))">
+                               <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><CONNECTED/></xsl:if>
+                               <xsl:if test="($b_bus_ = '__NOC__') and count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@BUSSTD = $b_std_]) &gt; 0"><POTENTIAL/></xsl:if>
+                       </xsl:when>
+                       <xsl:when test="(MASTERS/MASTER)">
+                               <xsl:if test="count(exsl:node-set($G_FOCUSED_SCOPE)/BUS[@NAME   = $b_bus_]) &gt; 0"><POTENTIAL/></xsl:if>
+                               <xsl:for-each select="MASTERS/MASTER">
+                                       <xsl:variable name="m_inst_" select="@INSTANCE"/>
+                                       <xsl:choose>
+                                               <xsl:when test="count($G_ROOT/SAV/MASTER[(@INSTANCE = $m_inst_)]) &gt; 0"><CONNECTED/></xsl:when>
+                                               <xsl:when test="count(exsl:node-set($G_FOCUSED_SCOPE)/PERIPHERAL[(@NAME   = $m_inst_)]) &gt; 0"><CONNECTED/></xsl:when>
+                                               <xsl:otherwise><UNFOCUSED/></xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:for-each>
+                       </xsl:when>
+               </xsl:choose>
+       </xsl:variable>         
+       
+       <xsl:variable name="num_scope_potentials_" select="count(exsl:node-set($bif_scope_)/POTENTIAL)"/>
+       <xsl:variable name="num_scope_connecteds_" select="count(exsl:node-set($bif_scope_)/CONNECTED)"/>
+       <xsl:variable name="num_scope_unfocuseds_" select="count(exsl:node-set($bif_scope_)/UNFOCUSED)"/>       
+       
+       <xsl:variable name="include_bif_">
+               <xsl:choose>
+                       <xsl:when test="($b_bus_ = '__NOC__')">TRUE</xsl:when>
+                       <xsl:when test="(((@TYPE = 'TARGET') or (@TYPE = 'INITIATOR')) and ($num_scope_connecteds_  &gt; 0))">TRUE</xsl:when>
+                       <xsl:when test="((@TYPE = 'MASTER') or (@TYPE = 'SLAVE') or (@TYPE = 'MASTER_SLAVE')) and (($num_scope_potentials_  &gt; 0) or ($num_scope_connecteds_  &gt; 0))">TRUE</xsl:when>
+                       <xsl:otherwise>FALSE</xsl:otherwise>
+               </xsl:choose>
+       </xsl:variable>
+
+       <xsl:variable name="bif_col_">
+               <xsl:choose>
+                       <xsl:when test="($num_scope_unfocuseds_ &gt; 0)"><xsl:value-of select="$COL_BG_OUTOF_FOCUS_CONNECTIONS"/></xsl:when>
+                       <xsl:otherwise>__NONE__</xsl:otherwise>
+               </xsl:choose>   
+       </xsl:variable>
+       
+       <xsl:if test="($include_bif_ = 'TRUE')">
+               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>   PLACING POTENTIAL INTERFACE <xsl:value-of select="$m_instance_"/>.<xsl:value-of select="$b_name_"/></xsl:message></xsl:if>
+               <xsl:if test="$G_ROOT/SAV/@MODE = 'TREE'">
+                       <xsl:call-template name="WRITE_VIEW_BIF_TREE_SET">
+                               <xsl:with-param name="iModRef" select="../.."/>
+                               <xsl:with-param name="iBifRef" select="self::node()"/>
+                               <xsl:with-param name="iBifCol" select="$bif_col_"/>
+                       </xsl:call-template>    
+               </xsl:if>
+               <xsl:if test="$G_ROOT/SAV/@MODE = 'FLAT'">
+                       <xsl:call-template name="WRITE_VIEW_BIF_FLAT_SET">
+                               <xsl:with-param name="iModRef" select="../.."/>
+                               <xsl:with-param name="iBifRef" select="self::node()"/>
+                               <xsl:with-param name="iBifCol" select="$bif_col_"/>
+                       </xsl:call-template>
+               </xsl:if>       
+       </xsl:if>
+       
+</xsl:template>
+
+<!--  THINGS TO IGNORE -->
+<!-- Ignore all non valid bus interfaces -->
+<xsl:template match="MODULE/DESCRIPTION" mode="_bif_view_focusing_on_potentials">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/PARAMETERS" mode="_bif_view_focusing_on_potentials">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/DOCUMENTATION" mode="_bif_view_focusing_on_potentials">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/LICENSEINFO" mode="_bif_view_focusing_on_potentials">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<!-- Ignore all non valid bus interfaces -->
+<xsl:template match="BUSINTERFACES/BUSINTERFACE[(@IS_VALID = 'FALSE')]" mode="_bif_view_focusing_on_potentials">
+</xsl:template>
+
+<xsl:template match="MODULE/DESCRIPTION" mode="_bif_view_focusing_on_connected">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/PARAMETERS" mode="_bif_view_focusing_on_connected">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/DOCUMENTATION" mode="_bif_view_focusing_on_connected">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/LICENSEINFO" mode="_bif_view_focusing_on_connected">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="BUSINTERFACES/BUSINTERFACE[(@IS_VALID = 'FALSE')]" mode="_bif_view_focusing_on_connected">
+</xsl:template>
+
+<!-- Ignore all non valid bus interfaces -->
+<xsl:template match="SAV" mode="_port_view_focusing_on_selected">
+</xsl:template>
+
+<xsl:template match="MODULE/DESCRIPTION" mode="_port_view_focusing_on_selected">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/PARAMETERS" mode="_port_view_focusing_on_selected">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/DOCUMENTATION" mode="_port_view_focusing_on_selected">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<xsl:template match="MODULE/LICENSEINFO" mode="_port_view_focusing_on_selected">
+<!--  <xsl:message>Ignoring invalid bus interface <xsl:value-of select="@NAME"/></xsl:message> -->
+</xsl:template>
+
+<!-- Ignore all non valid bus interfaces -->
+<xsl:template match="BUSINTERFACES/BUSINTERFACE[(@IS_VALID = 'FALSE')]" mode="_port_view_focusing_on_selected">
+</xsl:template>
+
+<!-- 
+       Only write bus interfaces that are valid for non point to point interfaces 
+       that have busstds the processor can see 
+-->
+
+<!--
+    ===============================================
+          GROUP VIEW TRANSFORMS
+    ===============================================
+-->
+
+<xsl:template name="WRITE_VIEW_GROUPS">
+    <xsl:param name="iModules"/>
+
+    <xsl:if test="$G_DEBUG='TRUE'">
+       <!--
+       <xsl:message>BLKD AREA            = <xsl:value-of select="$blkd_full_w_"/> X <xsl:value-of select="$blkd_full_h_"/></xsl:message>
+       <xsl:message>NUMOF BUSSTD COLORS  = <xsl:value-of select="$COL_BUSSTDS_NUMOF"/></xsl:message>
+            <xsl:message>NUMOF INTERFACE TYPES= <xsl:value-of select="$G_IFTYPES_NUMOF"/></xsl:message> 
+            <xsl:message>NUMOF DIRS           = <xsl:value-of select="$G_BLKD_COMPASS_DIRS_NUMOF"/></xsl:message>
+        <xsl:apply-templates select="$G_BLOCKS/node()" mode="_place_module_blocks_"/>        
+        -->
+    </xsl:if>
+   
+    <xsl:element name="SET">
+        <xsl:attribute name="CLASS">PROJECT</xsl:attribute>
+        <xsl:attribute name="VIEW_ID">BUSINTERFACE</xsl:attribute>
+        <xsl:attribute name="DISPLAYMODE">TREE</xsl:attribute>
+       <xsl:call-template name="WRITE_VIEW_BIF_GROUPS">
+               <xsl:with-param name="iModules" select="$G_BLOCKS"/>
+       </xsl:call-template>    
+    </xsl:element>
+</xsl:template>
+<xsl:template name="WRITE_VIEW_BIF_GROUPS">
+       <xsl:param name="iModules"/>
+    
+       <xsl:for-each select="$iModules/BLOCK[@ID and not(BLOCK) and not(@C)]">
+       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING BUS <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+       
+       <xsl:variable name="m_id_" select="@ID"/>
+       <xsl:variable name="m_module_"   select="$G_SYS_MODS/MODULE[@INSTANCE = $m_id_]"/>
+       <xsl:variable name="m_instance_" select="$m_module_/@INSTANCE"/>
+       <xsl:variable name="m_version_"  select="$m_module_/@HWVERSION"/>
+       <xsl:variable name="m_type_"     select="$m_module_/@MODTYPE"/>
+       <xsl:variable name="m_class_"    select="$m_module_/@MODCLASS"/>
+       <xsl:variable name="m_busstd_"   select="$m_module_/@BUSSTD"/>
+       
+               <xsl:element name="SET">
+               <xsl:attribute name="ID"><xsl:value-of select="@ID"/></xsl:attribute>
+               <xsl:attribute name="CLASS">MODULE</xsl:attribute>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">Name</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">TEXTBOX</xsl:attribute>
+                       <xsl:attribute name="NAME">INSTANCE</xsl:attribute>
+                       <xsl:attribute name="VALUE"><xsl:value-of select="$m_instance_"/></xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">IP Type</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">MODTYPE</xsl:attribute>
+                       <xsl:attribute name="VALUE"><xsl:value-of select="$m_type_"/></xsl:attribute>
+                       </xsl:element>
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">IP Version</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">HWVERSION</xsl:attribute>
+                       <xsl:attribute name="VALUE"><xsl:value-of select="$m_version_"/></xsl:attribute>
+                       </xsl:element>                  
+                       <xsl:element name="VARIABLE">
+                       <xsl:attribute name="VIEWDISP">IP Classification</xsl:attribute>
+                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       <xsl:attribute name="NAME">IPCLASS</xsl:attribute>
+                       <xsl:attribute name="VALUE"><xsl:value-of select="$m_busstd_"/> BUS</xsl:attribute>
+                       </xsl:element>                          
+           </xsl:element>
+   </xsl:for-each> 
+           
+       <xsl:for-each select="$iModules/BLOCK[@ID and BLOCK]">
+               <xsl:choose>    
+                       <xsl:when test="not(starts-with(@ID,'__')) and BLOCK[@C] and (not(BLOCK/BLOCK) or BLOCK/BLOCK[@CP])">
+                       <!-- 
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING MODULE <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                        -->
+                               <xsl:variable name="m_id_"       select="@ID"/>
+                       <xsl:variable name="m_module_"   select="$G_SYS_MODS/MODULE[@INSTANCE = $m_id_]"/>
+                       <xsl:variable name="m_instance_" select="$m_module_/@INSTANCE"/>
+                       <xsl:variable name="m_type_"     select="$m_module_/@MODTYPE"/>
+                       <xsl:variable name="m_class_"    select="$m_module_/@MODCLASS"/>
+                       <xsl:variable name="m_version_"  select="$m_module_/@HWVERSION"/>
+                       
+                               <xsl:element name="SET">
+                               <xsl:attribute name="ID"><xsl:value-of select="@ID"/></xsl:attribute>
+                               <xsl:attribute name="CLASS">MODULE</xsl:attribute>
+                               
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">Name</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">TEXTBOX</xsl:attribute>
+                                       <xsl:attribute name="NAME">INSTANCE</xsl:attribute>
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$m_instance_"/></xsl:attribute>
+                                       </xsl:element>
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">IP Type</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                       <xsl:attribute name="NAME">MODTYPE</xsl:attribute>
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$m_type_"/></xsl:attribute>
+                                       </xsl:element>
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">IP Version</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                       <xsl:attribute name="NAME">HWVERSION</xsl:attribute>
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$m_version_"/></xsl:attribute>
+                                       </xsl:element>                  
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">IP Classification</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                       <xsl:attribute name="NAME">IPCLASS</xsl:attribute>
+                                       <xsl:attribute name="VALUE"><xsl:value-of select="$m_class_"/></xsl:attribute>
+                                       </xsl:element>
+                                       
+                                       <xsl:for-each select="BLOCK[@C and @ID]">
+                                               <xsl:variable name="b_bus_"    select="@C"/>
+                                       <xsl:variable name="b_name_"   select="@ID"/>
+                                               <xsl:variable name="b_if_"     select="$m_module_/BUSINTERFACES/BUSINTERFACE[(@NAME = $b_name_)]"/>
+                                       <xsl:variable name="b_type_"   select="$b_if_/@TYPE"/>
+                                       <xsl:variable name="b_busstd_" select="$b_if_/@BUSSTD"/>
+                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING BIF <xsl:value-of select="$b_name_"/></xsl:message></xsl:if>
+                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>       TYPE <xsl:value-of select="$b_type_"/></xsl:message></xsl:if>
+                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>       BUS  <xsl:value-of select="$b_bus_"/></xsl:message></xsl:if>
+                               
+                                       <xsl:variable name="b_busNameViewType_">
+                                               <xsl:choose>
+                                                       <xsl:when test="$b_type_ = 'INITIATOR'">TEXTBOX</xsl:when>
+                                                               <xsl:when test="starts-with(@ID,'S_AXI')">BUTTON</xsl:when>
+                                                               <xsl:when test="starts-with(@ID,'S0_AXI')">BUTTON</xsl:when>
+                                                               <xsl:when test="starts-with(@ID,'S1_AXI')">BUTTON</xsl:when>
+                                                               <xsl:otherwise>DROPDOWN</xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                       <xsl:variable name="b_busName_">
+                                <xsl:choose>
+                                    <xsl:when test="$b_if_/MASTERS/MASTER">
+                                       <xsl:variable name="mastersList_"><xsl:for-each select="$b_if_/MASTERS/MASTER"><xsl:if test="position() &gt; 1"> &amp; </xsl:if><xsl:value-of select="concat(@INSTANCE,'.',@BUSINTERFACE)"/></xsl:for-each></xsl:variable>
+                                       <xsl:variable name="mastersConn_" select="concat($b_bus_,':',$mastersList_)"/>
+                                        <xsl:value-of select="$mastersConn_"/>
+                                 </xsl:when>
+                                 <xsl:otherwise><xsl:value-of select="$b_bus_"/></xsl:otherwise>
+                                </xsl:choose>                                  
+                                       </xsl:variable>
+                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>       VIEWTYPE <xsl:value-of select="$b_busNameViewType_"/></xsl:message></xsl:if>
+                                       <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>       BUSNAME  <xsl:value-of select="$b_busName_"/></xsl:message></xsl:if>
+                                               <xsl:element name="SET">
+                                                       <xsl:attribute name="ID"><xsl:value-of select="@ID"/></xsl:attribute>
+                                               <xsl:attribute name="CLASS">BUSINTERFACE</xsl:attribute>
+                                                       <xsl:element name="VARIABLE">
+                                                       <xsl:attribute name="VIEWDISP">NAME</xsl:attribute>
+                                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                                       <xsl:attribute name="NAME">NAME</xsl:attribute>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$b_name_"/></xsl:attribute>
+                                                       </xsl:element>
+                                                       <xsl:element name="VARIABLE">
+                                                       <xsl:attribute name="VIEWDISP">Bus Name</xsl:attribute>
+                                                       <xsl:attribute name="VIEWTYPE"><xsl:value-of select="$b_busNameViewType_"/></xsl:attribute>
+                                                       <xsl:attribute name="NAME">BUSNAME</xsl:attribute>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$b_busName_"/></xsl:attribute>
+                                                       </xsl:element>
+                                                       <xsl:element name="VARIABLE">
+                                                       <xsl:attribute name="VIEWDISP">Type</xsl:attribute>
+                                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                                       <xsl:attribute name="NAME">TYPE</xsl:attribute>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$b_type_"/></xsl:attribute>
+                                                       </xsl:element>                  
+                                                       <xsl:element name="VARIABLE">
+                                                       <xsl:attribute name="VIEWDISP">Bus Standard</xsl:attribute>
+                                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                                       <xsl:attribute name="NAME">BUSSTD</xsl:attribute>
+                                                       <xsl:attribute name="VALUE"><xsl:value-of select="$b_busstd_"/></xsl:attribute>
+                                                       </xsl:element>                                          
+                                               </xsl:element>
+                                       </xsl:for-each>
+                               </xsl:element>
+                       </xsl:when>
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_PROCESSOR__')">
+                       
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PROCESSOR GROUP<xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               <xsl:variable name="p_id_" select="substring-after(@ID,'__GROUP_PROCESSOR__')"/>
+                               <xsl:variable name="m_id_" select="concat('PROCESSOR',$p_id_)"/>
+                               <xsl:element name="SET">
+                               <xsl:attribute name="ID"><xsl:value-of select="$m_id_"/></xsl:attribute>
+                               <xsl:attribute name="CLASS">GROUP</xsl:attribute>
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">NAME</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                       <xsl:attribute name="NAME">INSTANCE</xsl:attribute>
+                                       <xsl:attribute name="VALUE">Subsystem of <xsl:value-of select="$p_id_"/></xsl:attribute>
+                                       </xsl:element>
+                                       <xsl:call-template name="WRITE_VIEW_BIF_GROUPS">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                               </xsl:element>  
+                       </xsl:when>
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_MASTER__')">
+                       
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>MASTER GROUP<xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               <xsl:variable name="p_id_" select="substring-after(@ID,'__GROUP_MASTER__')"/>
+                               <xsl:variable name="m_id_" select="concat('MASTER',$p_id_)"/>                           
+                               <xsl:element name="SET">
+                               <xsl:attribute name="ID"><xsl:value-of select="$m_id_"/></xsl:attribute>
+                               <xsl:attribute name="CLASS">GROUP</xsl:attribute>
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">NAME</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                       <xsl:attribute name="NAME">INSTANCE</xsl:attribute>
+                                       <xsl:attribute name="VALUE">Subsystem of <xsl:value-of select="$p_id_"/></xsl:attribute>
+                                       </xsl:element>
+                                       <xsl:call-template name="WRITE_VIEW_BIF_GROUPS">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                               </xsl:element>  
+                       </xsl:when>                     
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_SHARED__')">
+                               <xsl:variable name="s_id_" select="substring-after(@ID,'__GROUP_SHARED__')"/>
+                               <xsl:variable name="m_id_" select="concat('SHARED',$s_id_)"/>                           
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING SHARED PERIPHERALS <xsl:value-of select="$s_id_"/></xsl:message></xsl:if>
+                               <xsl:element name="SET">
+                               <xsl:attribute name="ID"><xsl:value-of select="$m_id_"/></xsl:attribute>
+                               <xsl:attribute name="CLASS">GROUP</xsl:attribute>
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">NAME</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                       <xsl:attribute name="NAME">INSTANCE</xsl:attribute>
+                                       <xsl:attribute name="VALUE">Peripherals shared by <xsl:value-of select="$s_id_"/></xsl:attribute>
+                                       </xsl:element>
+                                       <xsl:call-template name="WRITE_VIEW_BIF_GROUPS">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                               </xsl:element>  
+                       </xsl:when>                     
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_MEMORY__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING MEMORY <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               <xsl:variable name="m_id_" select="substring-after(@ID,'__GROUP_MEMORY__')"/>
+                               <xsl:element name="SET">
+                               <xsl:attribute name="ID"><xsl:value-of select="$m_id_"/></xsl:attribute>
+                               <xsl:attribute name="CLASS">GROUP</xsl:attribute>
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">NAME</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                       <xsl:attribute name="NAME">INSTANCE</xsl:attribute>
+                                       <xsl:attribute name="VALUE">(Memory) <xsl:value-of select="$m_id_"/></xsl:attribute>
+                                       </xsl:element>
+                                       <xsl:call-template name="WRITE_VIEW_BIF_GROUPS">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                               </xsl:element>  
+                       </xsl:when>     
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_PERIPHERAL__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING PERIPHERAL <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                                       <xsl:call-template name="WRITE_VIEW_BIF_GROUPS">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+                       
+                       <xsl:when test="starts-with(@ID,'__GROUP_SLAVES__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING SLAVES <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                                       <xsl:call-template name="WRITE_VIEW_BIF_GROUPS">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                       </xsl:when>
+<!-- 
+                       <xsl:when test="starts-with(@ID,'__GROUP_SLAVES__')">
+                               <xsl:if test="$G_DEBUG='TRUE'"><xsl:message>PLACING SLAVES GOUP <xsl:value-of select="@ID"/></xsl:message></xsl:if>
+                               <xsl:variable name="m_id_" select="substring-after(@ID,'__GROUP_SLAVES__')"/>
+                               <xsl:element name="SET">
+                               <xsl:attribute name="ID"><xsl:value-of select="$m_id_"/></xsl:attribute>
+                               <xsl:attribute name="CLASS">GROUP</xsl:attribute>
+                                       <xsl:element name="VARIABLE">
+                                       <xsl:attribute name="VIEWDISP">NAME</xsl:attribute>
+                                       <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                                       <xsl:attribute name="NAME">INSTANCE</xsl:attribute>
+                                       <xsl:attribute name="VALUE">(Slaves of) <xsl:value-of select="$m_id_"/></xsl:attribute>
+                                       </xsl:element>
+                                       <xsl:call-template name="F_Write_XTeller_MODULES">
+                                       <xsl:with-param name="iModules" select="self::node()"/>
+                               </xsl:call-template>    
+                               </xsl:element>  
+                       </xsl:when>                     
+-->                    
+                       
+               </xsl:choose>
+       </xsl:for-each>
+</xsl:template>        
+
+       
+
+</xsl:stylesheet>
+   
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_port.xsl b/Demo/MicroBlaze_Spartan-6_SP605/__xps/edw2xtl_sav_view_port.xsl
new file mode 100644 (file)
index 0000000..5cfc3be
--- /dev/null
@@ -0,0 +1,771 @@
+<?xml version="1.0" standalone="no"?>
+
+<!DOCTYPE stylesheet [
+       <!ENTITY UPPERCASE "ABCDEFGHIJKLMNOPQRSTUVWXYZ">
+       <!ENTITY LOWERCASE "abcdefghijklmnopqrstuvwxyz">
+       
+       <!ENTITY UPPER2LOWER " '&UPPERCASE;' , '&LOWERCASE;' ">
+       <!ENTITY LOWER2UPPER " '&LOWERCASE;' , '&UPPERCASE;' ">
+       
+       <!ENTITY ALPHALOWER "ABCDEFxX0123456789">
+       <!ENTITY HEXUPPER "ABCDEFxX0123456789">
+       <!ENTITY HEXLOWER "abcdefxX0123456789">
+       <!ENTITY HEXU2L " '&HEXLOWER;' , '&HEXUPPER;' ">
+]>             
+
+<xsl:stylesheet version="1.0"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
+       xmlns:dyn="http://exslt.org/dynamic"
+       xmlns:math="http://exslt.org/math"
+       xmlns:xlink="http://www.w3.org/1999/xlink"
+       extension-element-prefixes="math dyn exsl xlink">
+           
+<!--   
+       ================================================================================
+                                                       Generate XTeller for PORTS
+       ================================================================================ 
+-->    
+<xsl:param name="SHOW_IOIF"    select="'TRUE'"/>
+<xsl:param name="SHOW_BUSIF"   select="'TRUE'"/>
+
+<xsl:template name="WRITE_VIEW_PORT_TREE">
+
+    <xsl:variable name="num_of_ext_ports_" select="count($G_SYS_EXPS/PORT)"/>
+    
+       <xsl:if test="$G_DEBUG='TRUE'">
+               <xsl:message>WRITING PORT in MODE :<xsl:value-of select="@MODE"/></xsl:message>
+               <!-- 
+                       <xsl:message>EXTERNAL PORT <xsl:value-of select="$num_of_ext_ports_"/></xsl:message>
+                -->
+       </xsl:if>       
+       
+    
+       <xsl:if test="$num_of_ext_ports_ &gt; 0">
+               <xsl:call-template name="WRITE_VIEW_EXTP_TREE_SET"/>
+       </xsl:if>
+
+       <xsl:for-each select="$G_SYS_MODS/MODULE">
+               <xsl:sort data-type="number"    select="@ROW_INDEX" order="ascending"/>
+               <xsl:variable name= "instName_" select="@INSTANCE"/>
+               <xsl:variable name="moduleRef_" select="self::node()"/>
+       
+               <xsl:call-template name="WRITE_VIEW_PORT_TREE_SET">
+                       <xsl:with-param name="iModRef" select="$moduleRef_"/>
+               </xsl:call-template>
+               
+       </xsl:for-each> <!--  End of MODULES loop -->
+</xsl:template>
+
+<xsl:template name="WRITE_VIEW_EXTP_TREE_SET">
+       
+       <xsl:element name="SET">
+               <xsl:attribute name="ID">ExternalPorts</xsl:attribute>
+               <xsl:attribute name="CLASS">MODULE</xsl:attribute>
+               
+               <xsl:for-each select="$G_SYS_EXPS">
+                       
+            <xsl:element name="VARIABLE">
+                               <xsl:attribute name="NAME">Name</xsl:attribute>
+                               <xsl:attribute name="VALUE">External Ports</xsl:attribute>
+                               <xsl:attribute name="VIEWDISP">Name</xsl:attribute>
+                               <xsl:attribute name="VIEWTYPE">STATIC</xsl:attribute>
+                       </xsl:element>                          
+                       
+                       <xsl:for-each select="PORT">
+                               <xsl:sort select="@NAME" order="ascending"/>
+                               <!--
+                               <xsl:sort data-type="number" select="@MHS_INDEX" order="ascending"/>
+                                 -->
+                       
+                               <xsl:element name="SET">
+                                       <xsl:attribute name="ID"><xsl:value-of select="@NAME"/></xsl:attribute>
+                                       <xsl:attribute name="CLASS">PORT</xsl:attribute>
+                                       <xsl:attribute name="ROW_INDEX"><xsl:value-of select="(position() - 1)"/></xsl:attribute>
+                       
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"       NAME="SIGNAME" VALUE="{@SIGNAME}" IS_EDITABLE="TRUE"/>
+                                       <VARIABLE VIEWTYPE="TEXTBOX"   VIEWDISP="Name"      NAME="NAME"    VALUE="{@NAME}"/>
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Direction" NAME="DIR"     VALUE="{@DIR}"/>
+                                           
+                                       <xsl:if test="(@SIGIS)">
+                                               <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Class"     NAME="SIGIS"   VALUE="{@SIGIS}"/>
+                                       </xsl:if>
+                                       <xsl:if test="not(@SIGIS)">
+                                               <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Class"     NAME="SIGIS"   VALUE="NONE"/>
+                                       </xsl:if>
+                                           
+                                   <xsl:choose>
+                                               <xsl:when test="@LEFT and @RIGHT">
+                                                       <xsl:variable name="vecformula_txt_">[<xsl:value-of select="@LEFT"/>:<xsl:value-of select="@RIGHT"/>]</xsl:variable>
+                                                       <VARIABLE VIEWTYPE="TEXTBOX"    VIEWDISP="Range" NAME="VECFORMULA" VALUE="{$vecformula_txt_}"/>
+                                               </xsl:when>
+                                               <xsl:when test="@MSB and @LSB">
+                                                       <xsl:variable name="vecformula_txt_">[<xsl:value-of select="@MSB"/>:<xsl:value-of select="@LSB"/>]</xsl:variable>
+                                                       <VARIABLE VIEWTYPE="TEXTBOX"    VIEWDISP="Range" NAME="VECFORMULA" VALUE="{$vecformula_txt_}"/>
+                                               </xsl:when>
+                                       <xsl:when test="(not(@MSB) and not(@LSB) and not(@SIGIS = 'CLK') and not(@SIGIS = 'CLOCK') and not(@SIGIS = 'DCMCLK') and not(@SIGIS = 'RST') and not(@SIGIS = 'RESET'))">
+                                               <VARIABLE VIEWTYPE="TEXTBOX"    VIEWDISP="Range" NAME="VECFORMULA" VALUE=""/>
+                                       </xsl:when>
+                                   </xsl:choose>        
+                                                
+                                   <xsl:if test="((@SIGIS = 'CLK') or (@SIGIS = 'CLOCK') or (@SIGIS = 'DCMCLK'))">
+                                       <VARIABLE VIEWTYPE="TEXTBOX"  VIEWDISP="Frequency(Hz)" NAME="CLKFREQUENCY" VALUE="{@CLKFREQUENCY}"/>
+                                   </xsl:if>
+                                   
+                                       <xsl:if test="(@SIGIS = 'RST' or @SIGIS = 'RESET')">
+                                               <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Reset Polarity" NAME="RSTPOLARITY" VALUE="{@RSTPOLARITY}"/>
+                                       </xsl:if>
+                                       
+                           <xsl:if test="(@SIGIS = 'INTERRUPT')">
+                               <VARIABLE VIEWTYPE="DROPDOWN"    VIEWDISP="Sensitivity" NAME="SENSITIVITY" VALUE="{@SENSITIVITY}"/>
+                               </xsl:if>
+                       </xsl:element>
+                       </xsl:for-each> <!--  End of EXTERNAL PORTS loop -->
+               </xsl:for-each> <!-- End of EXTERNAL PORTS loop  -->
+       </xsl:element>  <!-- End of EXTERNAL PORTS SET  -->
+</xsl:template>
+
+<xsl:template name="WRITE_VIEW_PORT_TREE_SET">
+       <xsl:param name="iModRef" select="'__NONE__'"/>
+       
+       <xsl:variable name="m_inst_"      select="$iModRef/@INSTANCE"/>
+       <xsl:variable name="m_class_"     select="$iModRef/@MODCLASS"/>
+       <xsl:variable name="m_type_"      select="$iModRef/@MODTYPE"/>
+       <xsl:variable name="m_type_lc_"   select="translate($m_type_,&UPPER2LOWER;)"/> 
+       <xsl:variable name="m_version_"   select="$iModRef/@HWVERSION"/>
+       <xsl:variable name="m_licinfo_"   select="$iModRef/LICENSEINFO"/>       
+       <xsl:variable name="m_ports_"     select="$iModRef/PORTS"/>     
+       
+       <xsl:variable name="is_axi_interconnect_">
+        <xsl:choose>
+            <xsl:when test="$m_type_    = 'axi_interconnect'">TRUE</xsl:when>
+            <xsl:when test="$m_type_lc_ = 'axi_interconnect'">TRUE</xsl:when>
+            <xsl:otherwise>FALSE</xsl:otherwise>
+        </xsl:choose>
+       </xsl:variable>         
+
+       <xsl:for-each select="$G_SYS_MODS"> <!--  To put things in the right scope for the keys below -->
+       
+               <xsl:variable name="m_iofs_all_"  select="key('G_MAP_ALL_IOFS', $m_inst_)"/>    
+               <xsl:variable name="m_bifs_all_"  select="key('G_MAP_ALL_BIFS', $m_inst_)"/>    
+               
+               <xsl:variable name="m_ports_def_" select="key('G_MAP_DEF_PORTS',$m_inst_)"/>    
+               <xsl:variable name="m_ports_ndf_" select="key('G_MAP_NDF_PORTS',$m_inst_)"/>    
+<!-- 
+               <xsl:if test="$G_DEBUG = 'TRUE'">
+                       <xsl:message><xsl:value-of select="$m_inst_"/> has <xsl:value-of select="count($m_bifs_all_)"/> valid bifs </xsl:message>         
+                       <xsl:message><xsl:value-of select="$m_inst_"/> has <xsl:value-of select="count($m_iofs_all_)"/> valid iofs </xsl:message>         
+                       <xsl:message><xsl:value-of select="$m_inst_"/> has <xsl:value-of select="count($m_ports_def_)"/> default ports </xsl:message>         
+                       <xsl:message><xsl:value-of select="$m_inst_"/> has <xsl:value-of select="count($m_ports_ndf_)"/> non default ports </xsl:message>         
+                       <xsl:message></xsl:message>
+               </xsl:if>
+-->            
+       
+               <SET ID="{$m_inst_}" CLASS="MODULE">
+                       <!-- CR452579
+                                       Can only modify INSTANCE name in Hierarchal view.
+                       --> 
+                       <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Name"       NAME="INSTANCE"  VALUE="{$m_inst_}"/>
+                       <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{$m_type_}" VIEWICON="{$m_licinfo_/@ICON_NAME}"/>
+                       <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{$m_version_}"/>
+                       
+                       <!-- 
+                       CR582477, 
+                               (among others) special case of axi_interconnect_aclk which is a member of
+                               a bus interface, but should be treated as a non interface port, (i.e. appear even
+                               if the bus interfaces its a member of is invalid.
+                       -->
+                       <xsl:if test="($is_axi_interconnect_ = 'TRUE')">
+                               <!--  do it this way so we also catch the lower-upper case mismatches -->
+                               <xsl:for-each select="key('G_MAP_ALL_PORTS',$m_inst_)[contains(@SIGIS,'CLK')]">
+                                       <xsl:variable name="uc_portName_" select="translate(@NAME,&LOWER2UPPER;)"/> 
+                               <xsl:if test="($uc_portName_= 'INTERCONNECT_ACLK')">
+                                       <!-- 
+                                                       <xsl:message><xsl:value-of select="$m_inst_"/>.<xsl:value-of select="@NAME"/> =  <xsl:value-of select="@SIGIS"/></xsl:message>
+                                        -->
+                                               <xsl:variable name="portName_" select="@NAME"/> 
+                                               <xsl:variable name="portDir_"  select="@DIR"/> 
+                                               <xsl:variable name="portSig_"  select="@SIGNAME"/> 
+                               
+                                               <xsl:variable name="portSigIs_">
+                                                       <xsl:choose>
+                                                               <xsl:when test="not(@SIGIS)">__NONE__</xsl:when>
+                                                       <xsl:otherwise><xsl:value-of select="@SIGIS"/></xsl:otherwise>
+                                                       </xsl:choose>   
+                                               </xsl:variable>
+                               
+                                               <xsl:variable name="portSensi_">
+                                                       <xsl:choose>
+                                                               <xsl:when test="(@SENSITIVITY)"><xsl:value-of select="@SENSITIVIITY"/></xsl:when>
+                                                               <xsl:otherwise>__NONE__</xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:variable>
+                                                       
+                                               <xsl:variable name="portVecFormula_">
+                                               <xsl:choose>
+                                                               <xsl:when test="@VECFORMULA"><xsl:value-of select="@VECFORMULA"/></xsl:when>
+                                                       <xsl:otherwise>__NONE__</xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:variable>    
+                               
+                                               <xsl:call-template name="WRITE_PORT_SET">
+                                                       <xsl:with-param name="iName"        select="$portName_"/>
+                                                       <xsl:with-param name="iDir"         select="$portDir_"/>
+                                                       <xsl:with-param name="iSigName"     select="$portSig_"/>
+                                                       <xsl:with-param name="iSigIs"       select="$portSigIs_"/>
+                                                       <xsl:with-param name="iSensitivity" select="$portSensi_"/>
+                                                       <xsl:with-param name="iVecFormula"  select="$portVecFormula_"/>
+                                               </xsl:call-template>
+                               </xsl:if>
+                               </xsl:for-each>
+                       </xsl:if>
+                       
+                       <!--  PORTS not part of an INTERFACE -->
+                       <xsl:for-each select="$m_ports_ndf_">
+                       
+                               <xsl:sort data-type="number" select="@MPD_INDEX" order="ascending"/>
+                               <xsl:variable name="uc_portName_" select="translate(@NAME,&LOWER2UPPER;)"/> 
+                               
+                               <!-- 
+                           <xsl:if test="((not(@BUS) and not(@IOS)) or (($is_axi_interconnect_ = 'TRUE') and ($uc_portName_= 'INTERCONNECT_ACLK')))">
+                           </xsl:if>
+                                -->
+                           
+                           
+                               <xsl:variable name="portName_" select="@NAME"/> 
+                               <xsl:variable name="portDir_"  select="@DIR"/> 
+                               <xsl:variable name="portSig_"  select="@SIGNAME"/> 
+               
+                               <xsl:variable name="portSigIs_">
+                                       <xsl:choose>
+                                               <xsl:when test="not(@SIGIS)">__NONE__</xsl:when>
+                                       <xsl:otherwise><xsl:value-of select="@SIGIS"/></xsl:otherwise>
+                                       </xsl:choose>   
+                               </xsl:variable>
+               
+                               <xsl:variable name="portSensi_">
+                                       <xsl:choose>
+                                               <xsl:when test="(@SENSITIVITY)"><xsl:value-of select="@SENSITIVIITY"/></xsl:when>
+                                               <xsl:otherwise>__NONE__</xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable>
+                                       
+                               <xsl:variable name="portVecFormula_">
+                               <xsl:choose>
+                                               <xsl:when test="@VECFORMULA"><xsl:value-of select="@VECFORMULA"/></xsl:when>
+                                       <xsl:otherwise>__NONE__</xsl:otherwise>
+                                       </xsl:choose>
+                               </xsl:variable>    
+               
+                    
+                               <xsl:call-template name="WRITE_PORT_SET">
+                                       <xsl:with-param name="iName"        select="$portName_"/>
+                                       <xsl:with-param name="iDir"         select="$portDir_"/>
+                                       <xsl:with-param name="iSigName"     select="$portSig_"/>
+                                       <xsl:with-param name="iSigIs"       select="$portSigIs_"/>
+                                       <xsl:with-param name="iSensitivity" select="$portSensi_"/>
+                                       <xsl:with-param name="iVecFormula"  select="$portVecFormula_"/>
+                               </xsl:call-template>
+                       </xsl:for-each> <!--  END of PORTS NOT OF INTERFACE -->
+                       
+                       <!--  PORTS part of a BUSINTERFACE -->
+                       <xsl:if test="$SHOW_BUSIF = 'TRUE'">
+                               <xsl:for-each select="$m_bifs_all_">
+                                   <xsl:sort data-type="number" select="@MPD_INDEX" order="ascending"/>
+                                   
+                                       <xsl:variable name="bifName_"      select="@NAME"/>
+                               <xsl:variable name="bifRef_"       select="self::node()"/>
+                               <xsl:variable name="portmapsRef_"  select="$bifRef_/PORTMAPS"/>
+                                       
+                                       <!-- 
+                                       <xsl:variable name="bpmsCnt_"  select="count($bpmsRef_/PORTMAP)"/>
+                                               <xsl:message><xsl:value-of select="$instName_"/>.<xsl:value-of select="$bifName_"/>.<xsl:value-of select="$bpmsCnt_"/></xsl:message>
+                                        -->
+                                        
+                                       <xsl:variable name="is_external_">
+                                               <xsl:call-template name="F_IS_Interface_External">
+                                                       <xsl:with-param name="iInstRef" select="$iModRef"/>
+                                                       <xsl:with-param name="iIntfRef" select="$bifRef_"/>
+                                               </xsl:call-template>    
+                                       </xsl:variable>
+                                                       
+                               <xsl:variable name="bif_connection_">
+                                       <xsl:choose>
+                                                       <xsl:when test="not(@BUSNAME = '__NOC__')">Connected to BUS <xsl:value-of select="@BUSNAME"/></xsl:when>
+                                                       <xsl:when test="($is_external_ = 'TRUE')">Connected to External Ports</xsl:when>
+                                               <xsl:otherwise>Not connected to BUS or External Ports</xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                                                               
+                          <!--  <SET ID="{@NAME}" CLASS="BUSINTERFACE.PORTS"/> --> 
+                               <xsl:element name="SET">
+                           
+                               <xsl:attribute name="ID"><xsl:value-of select="@NAME"/></xsl:attribute>
+                               <xsl:attribute name="CLASS">BUSINTERFACE.PORTS</xsl:attribute>
+                               
+                               <xsl:if test="$is_external_ = 'TRUE'">
+                                       <xsl:attribute name="IS_EXTERNAL">TRUE</xsl:attribute>
+                               </xsl:if>
+                               
+                               <VARIABLE VIEWTYPE="STATIC"   VIEWDISP="NAME" NAME="NAME" VALUE="(BUS_IF) {@NAME}"/>
+                               <VARIABLE VIEWTYPE="DROPDOWN" VIEWDISP="Net"  NAME="BUSINTERFACE.CONNECTION" VALUE="{$bif_connection_}"/>
+                                       
+                                               <xsl:for-each select="$portmapsRef_/PORTMAP">
+                                               
+                                                   <xsl:variable name="portDir_"  select="@DIR"/> 
+                                               <xsl:variable name="portName_" select="@PHYSICAL"/> 
+                                               
+                                               <xsl:if test="$m_ports_def_[(@NAME = $portName_)]"><!--  Only in map if port is valid -->
+                                               
+                                                           <!-- 
+                                                      <xsl:if test="(not($portRef_/@IS_VALID) or ($portRef_/@IS_VALID = 'TRUE'))"/>
+                                                               <xsl:sort select="@MPD_INDEX" order="ascending"/>
+                                                               <xsl:sort data-type="number" select="@MPD_INDEX" order="ascending"/>
+                                                            -->
+                                                   <xsl:variable name="portRef_"  select="$m_ports_def_[(@NAME = $portName_)]"/>
+                                                       <xsl:variable name="portSig_"  select="$portRef_/@SIGNAME"/>
+                               
+                                                       <xsl:variable name="portSigIs_">
+                                                               <xsl:choose>
+                                                                               <xsl:when test="not($portRef_/@SIGIS)">__NONE__</xsl:when>
+                                                                       <xsl:otherwise><xsl:value-of select="$portRef_/@SIGIS"/></xsl:otherwise>
+                                                                       </xsl:choose>   
+                                                               </xsl:variable>
+                                                       
+                                                       <xsl:variable name="portSensi_">
+                                                                   <xsl:choose>
+                                                                               <xsl:when test="($portRef_/@SENSITIVITY)"><xsl:value-of select="$portRef_/@SENSITIVITY"/></xsl:when>
+                                                                       <xsl:otherwise>__NONE__</xsl:otherwise>
+                                                                       </xsl:choose>
+                                                               </xsl:variable>
+                                                                                       
+                                                           <xsl:variable name="portVecFormula_">
+                                                                   <xsl:choose>
+                                                                               <xsl:when test="$portRef_/@VECFORMULA"><xsl:value-of select="$portRef_/@VECFORMULA"/></xsl:when>
+                                                                       <xsl:otherwise>__NONE__</xsl:otherwise>
+                                                                       </xsl:choose>
+                                                               </xsl:variable>
+                                                           
+                                                               <xsl:call-template name="WRITE_PORT_SET">
+                                                                       <xsl:with-param name="iName"        select="$portName_"/>
+                                                                       <xsl:with-param name="iDir"         select="$portDir_"/>
+                                                                       <xsl:with-param name="iSigName"     select="$portSig_"/>
+                                                                       <xsl:with-param name="iSigIs"       select="$portSigIs_"/>
+                                                                       <xsl:with-param name="iSensitivity" select="$portSensi_"/>
+                                                                       <xsl:with-param name="iVecFormula"  select="$portVecFormula_"/>
+                                                               </xsl:call-template>
+                                               </xsl:if>
+                                               </xsl:for-each> <!--  END BIF PORTMAPS LOOP -->                         
+                               </xsl:element>
+                               </xsl:for-each> <!-- END BIFS LOOP -->
+                       </xsl:if> <!--  END IF SHOW_BUSIFS --> 
+                       
+                       
+                       <!--  PORTS part of a IOINTERFACE -->
+                       <xsl:if test="$SHOW_IOIF = 'TRUE'">
+                       
+                               <xsl:for-each select="$m_iofs_all_[PORTMAPS/PORTMAP]">
+                                   <xsl:sort data-type="number" select="@MPD_INDEX" order="ascending"/>
+                                   
+                                       <xsl:variable name="iifName_" select="@NAME"/>
+                               <xsl:variable name="iifRef_"  select="self::node()"/>
+                               <xsl:variable name="portmapsRef_" select="$iifRef_/PORTMAPS"/>
+                                       
+                                       <xsl:variable name="is_external_">
+                                               <xsl:call-template name="F_IS_Interface_External">
+                                                       <xsl:with-param name="iInstRef" select="$iModRef"/>
+                                                       <xsl:with-param name="iIntfRef" select="$iifRef_"/>
+                                               </xsl:call-template>    
+                                               </xsl:variable>
+                                               
+                                       <xsl:variable name="iif_connection_">
+                                               <xsl:choose>
+                                                       <xsl:when test="($is_external_ ='TRUE')">Connected to External Ports</xsl:when>
+                                                       <xsl:otherwise>Not connected to External Ports</xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:variable>
+                                       
+                               <xsl:element name="SET">
+                          
+                               <xsl:attribute name="ID"><xsl:value-of select="@NAME"/></xsl:attribute>
+                               <xsl:attribute name="CLASS">IOINTERFACE.PORTS</xsl:attribute>
+                              
+                               <xsl:if test="$is_external_ = 'TRUE'">
+                                       <xsl:attribute name="IS_EXTERNAL">TRUE</xsl:attribute>
+                               </xsl:if>
+                              
+                                   <VARIABLE VIEWTYPE="STATIC"    VIEWDISP="NAME" NAME="NAME" VALUE="(IO_IF) {@NAME}"/>
+                               <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="IOINTERFACE.CONNECTION" VALUE="{$iif_connection_}"/>
+                                               
+                                               <xsl:for-each select="$portmapsRef_/PORTMAP">
+                                               
+                                               <xsl:variable name="portName_" select="@PHYSICAL"/>
+                                               <xsl:variable name="portDir_"  select="@DIR"/>
+                                               
+                                               <!--
+                                               <xsl:variable name="port_is_valid_">
+                                                       <xsl:choose>
+                                                               <xsl:when test="$portRef_/@IS_VALID = 'FALSE'">FALSE</xsl:when>
+                                                               <xsl:otherwise>TRUE</xsl:otherwise>
+                                                       </xsl:choose>
+                                               </xsl:variable>                                                 
+                                                  <xsl:message><xsl:value-of select="$portName_"/> : <xsl:value-of select="$port_is_valid_"/> : <xsl:value-of select="$portRef_/@IS_VALID"/></xsl:message>    
+                                                -->
+                                                  
+                                               <xsl:if test="$m_ports_def_[(@NAME = $portName_)]"> <!--  Only in map if port is valid -->
+                                                  <!-- 
+                                                          <xsl:message><xsl:value-of select="$portName_"/> </xsl:message>
+                                                   -->
+                                               
+                                                       <xsl:variable name="portRef_"  select="$m_ports_def_[(@NAME = $portName_)]"/>
+                                                       <xsl:variable name="portSig_"  select="$portRef_/@SIGNAME"/>
+                               
+                                                       <xsl:variable name="portSigIs_">
+                                                               <xsl:choose>
+                                                                               <xsl:when test="not($portRef_/@SIGIS)">__NONE__</xsl:when>
+                                                                       <xsl:otherwise><xsl:value-of select="$portRef_/@SIGIS"/></xsl:otherwise>
+                                                                       </xsl:choose>   
+                                                               </xsl:variable>
+                                                       
+                                                       <xsl:variable name="portSensi_">
+                                                                   <xsl:choose>
+                                                                               <xsl:when test="($portRef_/@SENSITIVITY)"><xsl:value-of select="$portRef_/@SENSITIVITY"/></xsl:when>
+                                                                       <xsl:otherwise>__NONE__</xsl:otherwise>
+                                                                       </xsl:choose>
+                                                               </xsl:variable>
+                                                                                       
+                                                           <xsl:variable name="portVecFormula_">
+                                                                   <xsl:choose>
+                                                                               <xsl:when test="$portRef_/@VECFORMULA"><xsl:value-of select="$portRef_/@VECFORMULA"/></xsl:when>
+                                                                       <xsl:otherwise>__NONE__</xsl:otherwise>
+                                                                       </xsl:choose>
+                                                               </xsl:variable>
+                                                           
+                                                               <xsl:call-template name="WRITE_PORT_SET">
+                                                                       <xsl:with-param name="iName"        select="$portName_"/>
+                                                                       <xsl:with-param name="iDir"         select="$portDir_"/>
+                                                                       <xsl:with-param name="iSigName"     select="$portSig_"/>
+                                                                       <xsl:with-param name="iSigIs"       select="$portSigIs_"/>
+                                                                       <xsl:with-param name="iSensitivity" select="$portSensi_"/>
+                                                                       <xsl:with-param name="iVecFormula"  select="$portVecFormula_"/>
+                                                               </xsl:call-template>
+                                               </xsl:if> <!-- End of port is valid check -->
+                                               </xsl:for-each> <!--  END IO INTERFACE PORTMAPS LOOP -->         
+                                       </xsl:element>
+                               </xsl:for-each> <!-- END IIFS LOOP -->
+                       </xsl:if> <!--  END IF SHOW_IOIFS -->                           
+               </SET>  
+       
+       </xsl:for-each> <!-- End of the scoping for key functions-->
+</xsl:template>
+
+<xsl:template name="WRITE_VIEW_PORT_FLAT">
+       
+       <xsl:if test="$G_DEBUG='TRUE'">
+               <xsl:message>WRITING PORT MODE <xsl:value-of select="@MODE"/></xsl:message>
+       </xsl:if>       
+       
+    <xsl:variable name="num_of_ext_ports_" select="count($G_SYS_EXPS/PORT)"/>
+       <xsl:if test="$num_of_ext_ports_ &gt; 0">
+               <xsl:call-template name="WRITE_VIEW_EXTP_FLAT_SET"/>
+       </xsl:if>
+       
+       
+    <xsl:for-each select="$G_SYS_MODS/MODULE">
+               <xsl:sort data-type="number" select="@ROW_INDEX" order="ascending"/>
+               <xsl:variable name="instName_" select="@INSTANCE"/>
+               <xsl:variable name="moduleRef_" select="self::node()"/>
+       
+               <xsl:call-template name="WRITE_VIEW_PORT_FLAT_SET">
+                       <xsl:with-param name="iModRef" select="$moduleRef_"/>
+               </xsl:call-template>
+                       
+    </xsl:for-each> <!-- End of Modules Loop -->
+</xsl:template>        
+
+<xsl:template name="WRITE_VIEW_EXTP_FLAT_SET">
+
+       <xsl:for-each select="$G_SYS_EXPS">
+               <xsl:for-each select="PORT[(not(@IS_VALID) or (@IS_VALID = 'TRUE'))]">
+                       <xsl:sort data-type="number" select="@MHS_INDEX" order="ascending"/> 
+                   <xsl:variable name="ext_is_interrupt_">
+                          <xsl:if test="@SIGIS = 'INTERRUPT'">TRUE</xsl:if>
+                          <xsl:if test="not(@SIGIS = 'INTERRUPT')">FALSE</xsl:if>
+                   </xsl:variable>
+                         
+                       <SET ID="{@NAME}" CLASS="PORT">
+                        
+                               <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="Instance" NAME="INSTANCE" VALUE="External Ports"/>
+                       <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Port Name" NAME="NAME" VALUE="{@NAME}"/>
+                       
+                                <xsl:choose>
+                                       <xsl:when test="@LEFT and @RIGHT">
+                                               <xsl:variable name="vecformula_txt_">[<xsl:value-of select="@LEFT"/>:<xsl:value-of select="@RIGHT"/>]</xsl:variable>
+                                               <VARIABLE VIEWTYPE="TEXTBOX"    VIEWDISP="Range" NAME="VECFORMULA" VALUE="{$vecformula_txt_}"/>
+                                       </xsl:when>
+                                       <xsl:when test="@MSB and @LSB">
+                                               <xsl:variable name="vecformula_txt_">[<xsl:value-of select="@MSB"/>:<xsl:value-of select="@LSB"/>]</xsl:variable>
+                                               <VARIABLE VIEWTYPE="TEXTBOX"    VIEWDISP="Range" NAME="VECFORMULA" VALUE="{$vecformula_txt_}"/>
+                                       </xsl:when>
+                               <xsl:when test="(not(@MSB) and not(@LSB) and not(@SIGIS = 'CLK') and not(@SIGIS = 'CLOCK') and not(@SIGIS = 'DCMCLK') and not(@SIGIS = 'RST') and not(@SIGIS = 'RESET'))">
+                                       <VARIABLE VIEWTYPE="TEXTBOX"    VIEWDISP="Range" NAME="VECFORMULA" VALUE=""/>
+                               </xsl:when>
+                           </xsl:choose>
+                           
+                       <VARIABLE VIEWTYPE="DROPDOWN" VIEWDISP="Net" NAME="SIGNAME" VALUE="{@SIGNAME}" IS_EDITABLE="TRUE"/>
+                       <VARIABLE VIEWTYPE="DROPDOWN" VIEWDISP="Direction" NAME="DIR" VALUE="{@DIR}"/>
+                       
+                               <xsl:if test="(@SIGIS)">
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Class"     NAME="SIGIS"   VALUE="{@SIGIS}"/>
+                       </xsl:if>
+                               <xsl:if test="not(@SIGIS)">
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Class"     NAME="SIGIS"   VALUE="NONE"/>
+                               </xsl:if>
+                               
+                               <xsl:if test="(@SIGIS = 'RST' or @SIGIS = 'RESET')">
+                               <VARIABLE VIEWTYPE="DROPDOWN" VIEWDISP="Reset Polarity" NAME="RSTPOLARITY" VALUE="{@RSTPOLARITY}"/>
+                               </xsl:if>
+                               <xsl:if test="((@SIGIS = 'CLK') or (@SIGIS = 'CLOCK') or (@SIGIS = 'DCMCLK'))">
+                               <VARIABLE VIEWTYPE="TEXTBOX" VIEWDISP="Frequency(Hz)" NAME="CLKFREQUENCY" VALUE="{@CLKFREQUENCY}"/>
+                               </xsl:if>
+                               
+                               <!-- SENSITIVITY Settings on Interrupt ports -->
+                               <xsl:choose>
+                                       <xsl:when test="((@SIGNAME = '__NOC__') and ($ext_is_interrupt_ = 'TRUE') and not(@SENSITIVITY))">
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Sensitivity"  NAME="SENSITIVITY" VALUE=""/> 
+                                       </xsl:when>
+                                       <xsl:when test="((@SIGNAME = '__NOC__') and ($ext_is_interrupt_ = 'TRUE') and (@SENSITIVITY))">
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Sensitivity"  NAME="SENSITIVITY" VALUE="{@SENSITIVITY}"/>
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="((@SIGNAME = '__DEF__') and ($ext_is_interrupt_ = 'TRUE') and not(@SENSITIVITY))">
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Sensitivity"  NAME="SENSITIVITY" VALUE=""/>
+                                       </xsl:when>
+                                       <xsl:when test="((@SIGNAME = '__DEF__') and ($ext_is_interrupt_ = 'TRUE') and (@SENSITIVITY))">
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Sensitivity"  NAME="SENSITIVITY" VALUE="{@SENSITIVITY}"/>
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="(not(@SIGNAME = '__DEF__') and not(@SIGNAME = '__NOC__') and ($ext_is_interrupt_ = 'TRUE') and not(@SENSITIVITY))">
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Sensitivity"  NAME="SENSITIVITY" VALUE=""/> 
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="(not(@SIGNAME = '__DEF__') and not(@SIGNAME = '__NOC__') and ($ext_is_interrupt_ = 'TRUE') and (@SENSITIVITY))">
+                                       <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Sensitivity"  NAME="SENSITIVITY" VALUE="{@SENSITIVITY}"/> 
+                                       </xsl:when>
+                               </xsl:choose>
+                       </SET>                          
+           </xsl:for-each>
+       </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="WRITE_VIEW_PORT_FLAT_SET">
+
+       <xsl:param name="iModRef"                 select="'__NONE__'"/>
+       
+       <xsl:variable name="m_inst_"      select="$iModRef/@INSTANCE"/>
+       <xsl:variable name="m_class_"     select="$iModRef/@MODCLASS"/>
+       <xsl:variable name="m_type_"      select="$iModRef/@MODTYPE"/>
+       <xsl:variable name="m_type_lc_"   select="translate($m_type_,&UPPER2LOWER;)"/> 
+       <xsl:variable name="m_version_"   select="$iModRef/@HWVERSION"/>
+       <xsl:variable name="m_licinfo_"   select="$iModRef/LICENSEINFO"/>       
+       
+       <xsl:variable name="is_axi_interconnect_">
+        <xsl:choose>
+            <xsl:when test="$m_type_    = 'axi_interconnect'">TRUE</xsl:when>
+            <xsl:when test="$m_type_lc_ = 'axi_interconnect'">TRUE</xsl:when>
+            <xsl:otherwise>FALSE</xsl:otherwise>
+        </xsl:choose>
+       </xsl:variable>
+       
+       <xsl:for-each select="$G_SYS_MODS"> <!--  To put things in the right scope for the keys below -->
+       
+               <xsl:variable name="m_bifs_all_"  select="key('G_MAP_ALL_BIFS', $m_inst_)"/>
+               <xsl:variable name="m_ports_all_" select="key('G_MAP_ALL_PORTS',$m_inst_)"/>    
+               
+               <xsl:if test="$G_DEBUG = 'TRUE'">
+                       <xsl:message><xsl:value-of select="$m_inst_"/> has <xsl:value-of select="count($m_ports_all_)"/> valid ports </xsl:message>         
+               </xsl:if>
+               
+               <xsl:for-each select="$m_ports_all_">
+                       <xsl:sort data-type="number" select="@MPD_INDEX" order="ascending"/>
+               <!-- <xsl:message>PORTNM : <xsl:value-of select="@NAME"/></xsl:message> -->
+               
+                       <xsl:variable name="p_nm_uc_"  select="translate(@NAME,&LOWER2UPPER;)"/> 
+                       <xsl:variable name="p_bif_"    select="@BUS"/>          
+                       
+               <xsl:variable name="port_is_valid_">
+                       <xsl:choose>
+                               <xsl:when test="@IS_VALID = 'FALSE'">FALSE</xsl:when>
+                               <xsl:when test="(($is_axi_interconnect_ = 'TRUE') and ($p_nm_uc_= 'INTERCONNECT_ACLK'))">TRUE</xsl:when>
+                               <xsl:when test="not(@BUS) or (@BUS and key('G_MAP_ALL_BIFS', $m_inst_)[(@NAME = $p_bif_)])">TRUE</xsl:when>
+                               <xsl:otherwise>FALSE</xsl:otherwise>
+                       </xsl:choose>
+               </xsl:variable>
+               
+                   <xsl:if test="$port_is_valid_ = 'TRUE'">
+                   <!-- 
+                       <xsl:message>PORT <xsl:value-of select="@BUS"/>.<xsl:value-of select="@NAME"/></xsl:message> 
+                    -->
+                               <SET ID="{@NAME}" CLASS="PORT">
+                               <!--        
+                               CR452579
+                               Can only modify INSTANCE name in Hierarchal view.
+                               --> 
+                                   <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Instance"   NAME="INSTANCE"  VALUE="{$m_inst_}"/>
+                                   <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Type"    NAME="MODTYPE"   VALUE="{$m_type_}" VIEWICON="{$m_licinfo_/@ICON_NAME}"/>
+                                   <VARIABLE VIEWTYPE="STATIC" VIEWDISP="IP Version" NAME="HWVERSION" VALUE="{$m_version_}"/>
+                                      
+                                   <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Port Name"  NAME="NAME" VALUE="{@NAME}"/>
+                                   <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Direction"  NAME="DIR"  VALUE="{@DIR}"/>
+                                   
+                                   <xsl:if test="@SIGIS">
+                                       <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="Class" NAME="SIGIS" VALUE="{@SIGIS}"/>
+                                   </xsl:if>
+                                   
+                                   <xsl:if test="@VECFORMULA">
+                                       <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="Range" NAME="VECFORMULA" VALUE="{@VECFORMULA}"/>
+                                   </xsl:if>
+                                   
+                                   <xsl:if test="@SENSITIVITY">
+                                       <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="Sensitivity" NAME="SENSITIVITY" VALUE="{@SENSITIVITY}"/>
+                                   </xsl:if>
+                                   
+                                   <xsl:variable name="is_interrupt">
+                                      <xsl:if test="@SIGIS = 'INTERRUPT'">TRUE</xsl:if>
+                                      <xsl:if test="not(@SIGIS = 'INTERRUPT')">FALSE</xsl:if>
+                                   </xsl:variable>
+                                   
+                                  <xsl:variable name="is_input">
+                                           <xsl:choose> 
+                                               <xsl:when test="(@DIR= 'I')">TRUE</xsl:when>
+                                               <xsl:when test="(@DIR= 'IN')">TRUE</xsl:when>
+                                               <xsl:when test="(@DIR= 'INPUT')">TRUE</xsl:when>
+                                               <xsl:otherwise>FALSE</xsl:otherwise>
+                                           </xsl:choose>
+                                   </xsl:variable>
+                                   
+                                   <!-- VECFORMULA Settings if Interrupt settings -->
+                                   <xsl:choose>
+                                       
+                                       <xsl:when test="((@SIGNAME = '__NOC__') and ($is_interrupt = 'TRUE') and ($is_input = 'TRUE') and not(@VECFORMULA))">
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="No Connection" IS_INTERRUPT="{$is_interrupt}"/>
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="((@SIGNAME = '__NOC__') and ($is_interrupt = 'TRUE') and ($is_input = 'TRUE') and (@VECFORMULA))">
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="No Connection" IS_INTERRUPT="{$is_interrupt}" IS_RANGE="TRUE"/>
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="@SIGNAME = '__NOC__'">
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="No Connection" IS_EDITABLE="TRUE"/>
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="((@SIGNAME = '__DEF__') and ($is_interrupt = 'TRUE') and ($is_input = 'TRUE') and not(@VECFORMULA))">
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="Default Connection" IS_INTERRUPT="{$is_interrupt}"/>
+                                       </xsl:when>
+                                       <xsl:when test="((@SIGNAME = '__DEF__') and ($is_interrupt = 'TRUE') and ($is_input = 'TRUE') and (@VECFORMULA))">
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="Default Connection" IS_INTERRUPT="{$is_interrupt}" IS_RANGE="TRUE"/>
+                                       </xsl:when>
+                                       <xsl:when test="@SIGNAME = '__DEF__'">
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="Default Connection"/>
+                                       </xsl:when>
+                                       
+                                       <xsl:when test="(not(@SIGNAME = '__DEF__') and not(@SIGNAME = '__NOC__') and ($is_input = 'TRUE') and ($is_interrupt = 'TRUE') and (@VECFORMULA))">
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="{@SIGNAME}" IS_INTERRUPT="{$is_interrupt}" IS_RANGE="TRUE"/>
+                                       </xsl:when>
+                                       <xsl:when test="(not(@SIGNAME = '__DEF__') and not(@SIGNAME = '__NOC__') and ($is_input = 'TRUE') and ($is_interrupt = 'TRUE'))">
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="{@SIGNAME}" IS_INTERRUPT="{$is_interrupt}"/>
+                                       </xsl:when>
+                                           
+                                       <xsl:otherwise>     
+                                           <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="{@SIGNAME}" IS_EDITABLE="TRUE"/>
+                                       </xsl:otherwise>
+                                   </xsl:choose>
+                                 </SET>
+                       </xsl:if>  <!--  End of port validity check -->
+               </xsl:for-each>  <!-- End of Ports Loop -->
+       </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="WRITE_PORT_SET">
+
+<xsl:param name="iName"                select="'__NONE__'"/>
+<xsl:param name="iDir"          select="'__NONE__'"/>
+<xsl:param name="iSigName"      select="'__NONE__'"/>
+<xsl:param name="iSigIs"        select="'__NONE__'"/>
+<xsl:param name="iVecFormula"   select="'__NONE__'"/>
+<xsl:param name="iSensitivity"  select="'__NONE__'"/>
+
+<SET ID="{$iName}" CLASS="PORT">
+   <VARIABLE VIEWTYPE="STATIC"  VIEWDISP="NAME" NAME="NAME" VALUE="{$iName}"/>
+    
+   <xsl:variable name="is_interrupt">
+       <xsl:if test="$iSigIs = 'INTERRUPT'">TRUE</xsl:if>
+       <xsl:if test="not($iSigIs = 'INTERRUPT')">FALSE</xsl:if>
+   </xsl:variable>
+    
+   <xsl:variable name="is_input">
+        <xsl:choose> 
+            <xsl:when test="($iDir = 'I')">TRUE</xsl:when>
+            <xsl:when test="($iDir = 'IN')">TRUE</xsl:when>
+            <xsl:when test="($iDir = 'INPUT')">TRUE</xsl:when>
+            <xsl:otherwise>FALSE</xsl:otherwise>
+        </xsl:choose>
+   </xsl:variable>
+   
+   <xsl:choose>
+   
+        <xsl:when test="(($iSigName = '__NOC__') and ($is_input = 'TRUE') and ($is_interrupt = 'TRUE') and ($iVecFormula = '__NONE__'))">
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="No Connection" IS_INTERRUPT="{$is_interrupt}"/>
+        </xsl:when>
+        <xsl:when test="(($iSigName = '__NOC__') and ($is_input ='TRUE') and ($is_interrupt = 'TRUE') and not($iVecFormula = '__NONE__'))">
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="No Connection" IS_INTERRUPT="{$is_interrupt}" IS_RANGE="TRUE"/>
+        </xsl:when>
+        <xsl:when test="$iSigName = '__NOC__'">
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="No Connection" IS_EDITABLE="TRUE"/>
+        </xsl:when>
+       
+        <xsl:when test="(($iSigName = '__DEF__') and ($is_input = 'TRUE') and ($is_interrupt = 'TRUE') and ($iVecFormula = '__NONE__'))">
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="Default Connection" IS_INTERRUPT="{$is_interrupt}"/>
+        </xsl:when>
+        <xsl:when test="(($iSigName = '__DEF__') and ($is_input = 'TRUE') and ($is_interrupt = 'TRUE') and not($iVecFormula = '__NONE__'))">
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="Default Connection" IS_INTERRUPT="{$is_interrupt}" IS_RANGE="TRUE"/>
+        </xsl:when>
+        
+        <xsl:when test="($iSigName = '__DEF__')">
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="Default Connection"/>
+        </xsl:when>
+        
+        <xsl:when test="(not($iSigName = '__DEF__') and not($iSigName = '__NOC__') and ($is_input ='TRUE') and ($is_interrupt = 'TRUE') and not($iVecFormula = '__NONE__'))">
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="{$iSigName}" IS_INTERRUPT="{$is_interrupt}" IS_RANGE="TRUE"/>
+        </xsl:when>
+        
+        <xsl:when test="(not($iSigName = '__DEF__') and not($iSigName = '__NOC__') and ($is_input ='TRUE') and ($is_interrupt = 'TRUE'))">
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="{$iSigName}" IS_INTERRUPT="{$is_interrupt}"/>
+        </xsl:when>
+            
+        <xsl:otherwise>     
+            <VARIABLE VIEWTYPE="DROPDOWN"  VIEWDISP="Net"  NAME="SIGNAME" VALUE="{$iSigName}" IS_EDITABLE="TRUE"/>
+        </xsl:otherwise>
+    </xsl:choose>
+    
+    <VARIABLE VIEWTYPE="STATIC"    VIEWDISP="Direction" NAME="DIR" VALUE="{$iDir}"/>
+    
+    <xsl:if test="not($iSigIs = '__NONE__')">
+        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Class" NAME="SIGIS" VALUE="{$iSigIs}"/>
+    </xsl:if>
+        
+    <xsl:if test="not($iVecFormula = '__NONE__')">
+        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Range" NAME="VECFORMULA" VALUE="{$iVecFormula}"/>
+    </xsl:if>
+    
+    <xsl:if test="not($iSensitivity = '__NONE__')">
+        <VARIABLE VIEWTYPE="STATIC" VIEWDISP="Sensitivity" NAME="SENSITIVITY" VALUE="{$iSensitivity}"/>
+    </xsl:if>
+</SET>
+</xsl:template>
+
+       
+</xsl:stylesheet>
+
+                                                       
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/gensav_cmd.xml b/Demo/MicroBlaze_Spartan-6_SP605/__xps/gensav_cmd.xml
new file mode 100644 (file)
index 0000000..a1d03d3
--- /dev/null
@@ -0,0 +1,2 @@
+
+<SAV MODE="TREE" VIEW="BUSINTERFACE"/>
\ No newline at end of file
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/ise/RTOSDemo.xreport b/Demo/MicroBlaze_Spartan-6_SP605/__xps/ise/RTOSDemo.xreport
new file mode 100644 (file)
index 0000000..56bfbec
--- /dev/null
@@ -0,0 +1,218 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<report-views version="2.0" >
+ <header>
+  <DateModified>2011-05-30T16:47:01</DateModified>
+  <ModuleName>RTOSDemo</ModuleName>
+  <SummaryTimeStamp>2011-05-30T16:47:01</SummaryTimeStamp>
+  <SavedFilePath>C:/E/Dev/FreeRTOS/WorkingCopy/Demo/MicroBlaze_Spartan-6_SP605/__xps/ise/RTOSDemo.xreport</SavedFilePath>
+  <FilterFile>filter.filter</FilterFile>
+  <SavedFilterFilePath>C:/E/Dev/FreeRTOS/WorkingCopy/Demo/MicroBlaze_Spartan-6_SP605/__xps/ise</SavedFilterFilePath>
+  <DateInitialized>2011-05-30T16:47:01</DateInitialized>
+  <EnableMessageFiltering>false</EnableMessageFiltering>
+ </header>
+ <body>
+  <viewgroup label="Design Overview" >
+   <view inputState="Unknown" program="implementation" ShowPartitionData="false" type="FPGASummary" file="implementation\RTOSDemo_summary.html" label="Summary" >
+    <toc-item title="Design Overview" target="Design Overview" />
+    <toc-item title="Design Utilization Summary" target="Design Utilization Summary" />
+    <toc-item title="Performance Summary" target="Performance Summary" />
+    <toc-item title="Failing Constraints" target="Failing Constraints" />
+    <toc-item title="Detailed Reports" target="Detailed Reports" />
+   </view>
+   <view inputState="Unknown" program="implementation" contextTags="FPGA_ONLY" hidden="true" type="HTML" file="implementation\RTOSDemo_envsettings.html" label="System Settings" />
+   <view inputState="Translated" program="map" locator="MAP_IOB_TABLE" contextTags="FPGA_ONLY" type="IOBProperties" file="implementation\RTOSDemo_map.xrpt" label="IOB Properties" />
+   <view inputState="Translated" program="map" contextTags="FPGA_ONLY" hidden="true" type="Control_Sets" file="implementation\RTOSDemo_map.xrpt" label="Control Set Information" />
+   <view inputState="Translated" program="map" locator="MAP_MODULE_HIERARCHY" contextTags="FPGA_ONLY" type="Module_Utilization" file="implementation\RTOSDemo_map.xrpt" label="Module Level Utilization" />
+   <view inputState="Mapped" program="par" locator="CONSTRAINT_TABLE" contextTags="FPGA_ONLY" type="ConstraintsData" file="implementation\RTOSDemo.ptwx" label="Timing Constraints" translator="ptwxToTableXML.xslt" />
+   <view inputState="Mapped" program="par" locator="PAR_PINOUT_BY_PIN_NUMBER" contextTags="FPGA_ONLY" type="PinoutData" file="implementation\RTOSDemo_par.xrpt" label="Pinout Report" />
+   <view inputState="Mapped" program="par" locator="PAR_CLOCK_TABLE" contextTags="FPGA_ONLY" type="ClocksData" file="implementation\RTOSDemo_par.xrpt" label="Clock Report" />
+   <view inputState="Mapped" program="par" contextTags="FPGA_ONLY,EDK_OFF" hidden="true" type="Timing_Analyzer" file="implementation\RTOSDemo.twx" label="Static Timing" />
+   <view inputState="Translated" program="cpldfit" contextTags="CPLD_ONLY,EDK_OFF" hidden="true" type="EXTERNAL_HTML" file="implementation\RTOSDemo_html/fit/report.htm" label="CPLD Fitter Report" />
+   <view inputState="Fitted" program="taengine" contextTags="CPLD_ONLY,EDK_OFF" hidden="true" type="EXTERNAL_HTML" file="implementation\RTOSDemo_html/tim/report.htm" label="CPLD Timing Report" />
+  </viewgroup>
+  <viewgroup label="XPS Errors and Warnings" >
+   <view program="platgen" WrapMessages="true" contextTags="EDK_ON" hidden="false" type="MessageList" hideColumns="Filtered" file="__xps/ise/_xmsgs/platgen.xmsgs" label="Platgen Messages" />
+   <view program="libgen" WrapMessages="true" contextTags="EDK_ON" hidden="false" type="MessageList" hideColumns="Filtered" file="__xps/ise/_xmsgs/libgen.xmsgs" label="Libgen Messages" />
+   <view program="simgen" WrapMessages="true" contextTags="EDK_ON" hidden="false" type="MessageList" hideColumns="Filtered" file="__xps/ise/_xmsgs/simgen.xmsgs" label="Simgen Messages" />
+   <view program="bitinit" WrapMessages="true" contextTags="EDK_ON" hidden="false" type="MessageList" hideColumns="Filtered" file="__xps/ise/_xmsgs/bitinit.xmsgs" label="BitInit Messages" />
+  </viewgroup>
+  <viewgroup label="XPS Reports" >
+   <view inputState="PreSynthesized" program="platgen" contextTags="EDK_ON" hidden="false" type="Secondary_Report" file="platgen.log" label="Platgen Log File" />
+   <view inputState="PreSynthesized" program="libgen" contextTags="EDK_ON" hidden="false" type="Secondary_Report" file="libgen.log" label="Libgen Log File" />
+   <view inputState="PreSynthesized" program="simgen" contextTags="EDK_ON" hidden="false" type="Secondary_Report" file="simgen.log" label="Simgen Log File" />
+   <view inputState="PreSynthesized" program="bitinit" contextTags="EDK_ON" hidden="false" type="Secondary_Report" file="bitinit.log" label="BitInit Log File" />
+   <view inputState="PreSynthesized" program="system" contextTags="EDK_ON" hidden="false" type="Secondary_Report" file="RTOSDemo.log" label="System Log File" />
+  </viewgroup>
+  <viewgroup label="Errors and Warnings" >
+   <view program="pn" WrapMessages="true" contextTags="EDK_OFF" hidden="true" type="MessageList" hideColumns="Filtered, New" file="implementation\_xmsgs/pn_parser.xmsgs" label="Parser Messages" />
+   <view program="xst" WrapMessages="true" contextTags="XST_ONLY,EDK_OFF" hidden="true" type="MessageList" hideColumns="Filtered" file="synthesis\_xmsgs/xst.xmsgs" label="Synthesis Messages" />
+   <view inputState="Synthesized" program="ngdbuild" WrapMessages="true" type="MessageList" hideColumns="Filtered" file="implementation\_xmsgs/ngdbuild.xmsgs" label="Translation Messages" />
+   <view inputState="Translated" program="map" WrapMessages="true" contextTags="FPGA_ONLY" type="MessageList" hideColumns="Filtered" file="implementation\_xmsgs/map.xmsgs" label="Map Messages" />
+   <view inputState="Mapped" program="par" WrapMessages="true" contextTags="FPGA_ONLY" type="MessageList" hideColumns="Filtered" file="implementation\_xmsgs/par.xmsgs" label="Place and Route Messages" />
+   <view inputState="Routed" program="trce" WrapMessages="true" contextTags="FPGA_ONLY" type="MessageList" hideColumns="Filtered" file="implementation\_xmsgs/trce.xmsgs" label="Timing Messages" />
+   <view inputState="Routed" program="xpwr" WrapMessages="true" contextTags="EDK_OFF" hidden="true" type="MessageList" hideColumns="Filtered" file="implementation\_xmsgs/xpwr.xmsgs" label="Power Messages" />
+   <view inputState="Routed" program="bitgen" WrapMessages="true" contextTags="FPGA_ONLY" type="MessageList" hideColumns="Filtered" file="implementation\_xmsgs/bitgen.xmsgs" label="Bitgen Messages" />
+   <view inputState="Translated" program="cpldfit" WrapMessages="true" contextTags="CPLD_ONLY,EDK_OFF" hidden="true" type="MessageList" hideColumns="Filtered" file="implementation\_xmsgs/cpldfit.xmsgs" label="Fitter Messages" />
+   <view inputState="Current" program="implementation" WrapMessages="true" fileList="_xmsgs/xst.xmsgs,_xmsgs/ngdbuild.xmsgs,_xmsgs/map.xmsgs,_xmsgs/par.xmsgs,_xmsgs/trce.xmsgs,_xmsgs/xpwr.xmsgs,_xmsgs/bitgen.xmsgs" contextTags="FPGA_ONLY" type="MessageList" hideColumns="Filtered" file="implementation\_xmsgs/*.xmsgs" label="All Implementation Messages" />
+   <view inputState="Current" program="fitting" WrapMessages="true" fileList="_xmsgs/xst.xmsgs,_xmsgs/ngdbuild.xmsgs,_xmsgs/cpldfit.xmsgs,_xmsgs/xpwr.xmsgs" contextTags="CPLD_ONLY,EDK_OFF" hidden="true" type="CPLD_MessageList" hideColumns="Filtered" file="implementation\_xmsgs/*.xmsgs" label="All Implementation Messages (CPLD)" />
+  </viewgroup>
+  <viewgroup label="Detailed Reports" >
+   <view program="xst" contextTags="XST_ONLY,EDK_OFF" hidden="true" type="Report" file="implementation\RTOSDemo.syr" label="Synthesis Report" >
+    <toc-item title="Top of Report" target="Copyright " searchDir="Forward" />
+    <toc-item title="Synthesis Options Summary" target="   Synthesis Options Summary   " />
+    <toc-item title="HDL Compilation" target="   HDL Compilation   " />
+    <toc-item title="Design Hierarchy Analysis" target="   Design Hierarchy Analysis   " />
+    <toc-item title="HDL Analysis" target="   HDL Analysis   " />
+    <toc-item title="HDL Parsing" target="   HDL Parsing   " />
+    <toc-item title="HDL Elaboration" target="   HDL Elaboration   " />
+    <toc-item title="HDL Synthesis" target="   HDL Synthesis   " />
+    <toc-item title="HDL Synthesis Report" target="HDL Synthesis Report" searchCnt="2" searchDir="Backward" subItemLevel="1" />
+    <toc-item title="Advanced HDL Synthesis" target="   Advanced HDL Synthesis   " searchDir="Backward" />
+    <toc-item title="Advanced HDL Synthesis Report" target="Advanced HDL Synthesis Report" subItemLevel="1" />
+    <toc-item title="Low Level Synthesis" target="   Low Level Synthesis   " />
+    <toc-item title="Partition Report" target="   Partition Report     " />
+    <toc-item title="Final Report" target="   Final Report   " />
+    <toc-item title="Design Summary" target="   Design Summary   " />
+    <toc-item title="Primitive and Black Box Usage" target="Primitive and Black Box Usage:" subItemLevel="1" />
+    <toc-item title="Device Utilization Summary" target="Device utilization summary:" subItemLevel="1" />
+    <toc-item title="Partition Resource Summary" target="Partition Resource Summary:" subItemLevel="1" />
+    <toc-item title="Timing Report" target="Timing Report" subItemLevel="1" />
+    <toc-item title="Clock Information" target="Clock Information" subItemLevel="2" />
+    <toc-item title="Asynchronous Control Signals Information" target="Asynchronous Control Signals Information" subItemLevel="2" />
+    <toc-item title="Timing Summary" target="Timing Summary" subItemLevel="2" />
+    <toc-item title="Timing Details" target="Timing Details" subItemLevel="2" />
+    <toc-item title="Cross Clock Domains Report" target="Cross Clock Domains Report:" subItemLevel="2" />
+   </view>
+   <view program="synplify" contextTags="SYNPLIFY_ONLY,EDK_OFF" hidden="true" type="Report" file="implementation\RTOSDemo.srr" label="Synplify Report" />
+   <view program="precision" contextTags="PRECISION_ONLY,EDK_OFF" hidden="true" type="Report" file="implementation\RTOSDemo.prec_log" label="Precision Report" />
+   <view inputState="Synthesized" program="ngdbuild" type="Report" file="implementation\RTOSDemo.bld" label="Translation Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+    <toc-item title="Command Line" target="Command Line:" />
+    <toc-item title="Partition Status" target="Partition Implementation Status" />
+    <toc-item title="Final Summary" target="NGDBUILD Design Results Summary:" />
+   </view>
+   <view inputState="Translated" program="map" contextTags="FPGA_ONLY" type="Report" file="implementation\RTOSDemo_map.mrp" label="Map Report" >
+    <toc-item title="Top of Report" target="Release" searchDir="Forward" />
+    <toc-item title="Section 1: Errors" target="Section 1 -" searchDir="Backward" />
+    <toc-item title="Section 2: Warnings" target="Section 2 -" searchDir="Backward" />
+    <toc-item title="Section 3: Infos" target="Section 3 -" searchDir="Backward" />
+    <toc-item title="Section 4: Removed Logic Summary" target="Section 4 -" searchDir="Backward" />
+    <toc-item title="Section 5: Removed Logic" target="Section 5 -" searchDir="Backward" />
+    <toc-item title="Section 6: IOB Properties" target="Section 6 -" searchDir="Backward" />
+    <toc-item title="Section 7: RPMs" target="Section 7 -" searchDir="Backward" />
+    <toc-item title="Section 8: Guide Report" target="Section 8 -" searchDir="Backward" />
+    <toc-item title="Section 9: Area Group and Partition Summary" target="Section 9 -" searchDir="Backward" />
+    <toc-item title="Section 10: Timing Report" target="Section 10 -" searchDir="Backward" />
+    <toc-item title="Section 11: Configuration String Details" target="Section 11 -" searchDir="Backward" />
+    <toc-item title="Section 12: Control Set Information" target="Section 12 -" searchDir="Backward" />
+    <toc-item title="Section 13: Utilization by Hierarchy" target="Section 13 -" searchDir="Backward" />
+   </view>
+   <view inputState="Mapped" program="par" contextTags="FPGA_ONLY" type="Report" file="implementation\RTOSDemo.par" label="Place and Route Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+    <toc-item title="Device Utilization" target="Device Utilization Summary:" />
+    <toc-item title="Router Information" target="Starting Router" />
+    <toc-item title="Partition Status" target="Partition Implementation Status" />
+    <toc-item title="Clock Report" target="Generating Clock Report" />
+    <toc-item title="Timing Results" target="Timing Score:" />
+    <toc-item title="Final Summary" target="Peak Memory Usage:" />
+   </view>
+   <view inputState="Routed" program="trce" contextTags="FPGA_ONLY" type="Report" file="implementation\RTOSDemo.twr" label="Post-PAR Static Timing Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+    <toc-item title="Timing Report Description" target="Device,package,speed:" />
+    <toc-item title="Informational Messages" target="INFO:" />
+    <toc-item title="Warning Messages" target="WARNING:" />
+    <toc-item title="Timing Constraints" target="Timing constraint:" />
+    <toc-item title="Derived Constraint Report" target="Derived Constraint Report" />
+    <toc-item title="Data Sheet Report" target="Data Sheet report:" />
+    <toc-item title="Timing Summary" target="Timing summary:" />
+    <toc-item title="Trace Settings" target="Trace Settings:" />
+   </view>
+   <view inputState="Translated" program="cpldfit" contextTags="CPLD_ONLY,EDK_OFF" hidden="true" type="Report" file="implementation\RTOSDemo.rpt" label="CPLD Fitter Report (Text)" >
+    <toc-item title="Top of Report" target="cpldfit:" searchDir="Forward" />
+    <toc-item title="Resources Summary" target="**  Mapped Resource Summary  **" />
+    <toc-item title="Pin Resources" target="** Pin Resources **" />
+    <toc-item title="Global Resources" target="** Global Control Resources **" />
+   </view>
+   <view inputState="Fitted" program="taengine" contextTags="CPLD_ONLY,EDK_OFF" hidden="true" type="Report" file="implementation\RTOSDemo.tim" label="CPLD Timing Report (Text)" >
+    <toc-item title="Top of Report" target="Performance Summary Report" searchDir="Forward" />
+    <toc-item title="Performance Summary" target="Performance Summary:" />
+   </view>
+   <view inputState="Routed" program="xpwr" contextTags="EDK_OFF" hidden="true" type="Report" file="implementation\RTOSDemo.pwr" label="Power Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+    <toc-item title="Power summary" target="Power summary" />
+    <toc-item title="Thermal summary" target="Thermal summary" />
+   </view>
+   <view inputState="Routed" program="bitgen" contextTags="FPGA_ONLY" type="Report" file="implementation\RTOSDemo.bgn" label="Bitgen Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+    <toc-item title="Bitgen Options" target="Summary of Bitgen Options:" />
+    <toc-item title="Final Summary" target="DRC detected" />
+   </view>
+  </viewgroup>
+  <viewgroup label="Secondary Reports" >
+   <view inputState="PreSynthesized" program="isim" hidden="if_missing" type="Secondary_Report" file="implementation\isim.log" label="ISIM Simulator Log" />
+   <view inputState="Synthesized" program="netgen" hidden="if_missing" type="Secondary_Report" file="implementation\netgen/synthesis/RTOSDemo_synthesis.nlf" label="Post-Synthesis Simulation Model Report" >
+    <toc-item title="Top of Report" target="Release" searchDir="Forward" />
+   </view>
+   <view inputState="Translated" program="netgen" hidden="if_missing" type="Secondary_Report" file="implementation\netgen/translate/RTOSDemo_translate.nlf" label="Post-Translate Simulation Model Report" >
+    <toc-item title="Top of Report" target="Release" searchDir="Forward" />
+   </view>
+   <view inputState="Translated" program="netgen" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo_tran_fecn.nlf" label="Post-Translate Formality Netlist Report" />
+   <view inputState="Translated" program="map" contextTags="FPGA_ONLY" hidden="true" type="Secondary_Report" file="implementation\RTOSDemo_map.map" label="Map Log File" >
+    <toc-item title="Top of Report" target="Release" searchDir="Forward" />
+    <toc-item title="Design Information" target="Design Information" />
+    <toc-item title="Design Summary" target="Design Summary" />
+   </view>
+   <view inputState="Routed" program="smartxplorer" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\smartxplorer_results/smartxplorer.txt" label="SmartXplorer Report" />
+   <view inputState="Mapped" program="trce" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo_preroute.twr" label="Post-Map Static Timing Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+    <toc-item title="Timing Report Description" target="Device,package,speed:" />
+    <toc-item title="Informational Messages" target="INFO:" />
+    <toc-item title="Warning Messages" target="WARNING:" />
+    <toc-item title="Timing Constraints" target="Timing constraint:" />
+    <toc-item title="Derived Constraint Report" target="Derived Constraint Report" />
+    <toc-item title="Data Sheet Report" target="Data Sheet report:" />
+    <toc-item title="Timing Summary" target="Timing summary:" />
+    <toc-item title="Trace Settings" target="Trace Settings:" />
+   </view>
+   <view inputState="Mapped" program="netgen" hidden="if_missing" type="Secondary_Report" file="implementation\netgen/map/RTOSDemo_map.nlf" label="Post-Map Simulation Model Report" />
+   <view inputState="Mapped" program="map" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo_map.psr" label="Physical Synthesis Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+   </view>
+   <view inputState="Mapped" program="par" contextTags="FPGA_ONLY" hidden="true" type="Pad_Report" file="implementation\RTOSDemo_pad.txt" label="Pad Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+   </view>
+   <view inputState="Mapped" program="par" contextTags="FPGA_ONLY" hidden="true" type="Secondary_Report" file="implementation\RTOSDemo.unroutes" label="Unroutes Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+   </view>
+   <view inputState="Mapped" program="map" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo_preroute.tsi" label="Post-Map Constraints Interaction Report" >
+    <toc-item title="Top of Report" target="Release" searchDir="Forward" />
+   </view>
+   <view inputState="Mapped" program="par" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo.grf" label="Guide Results Report" />
+   <view inputState="Routed" program="par" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo.dly" label="Asynchronous Delay Report" />
+   <view inputState="Routed" program="par" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo.clk_rgn" label="Clock Region Report" />
+   <view inputState="Routed" program="par" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo.tsi" label="Post-Place and Route Constraints Interaction Report" >
+    <toc-item title="Top of Report" target="Copyright (c)" searchDir="Forward" />
+   </view>
+   <view inputState="Routed" program="netgen" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo_par_fecn.nlf" label="Post-Place and Route Formality Netlist Report" />
+   <view inputState="Routed" program="netgen" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\netgen/par/RTOSDemo_timesim.nlf" label="Post-Place and Route Simulation Model Report" />
+   <view inputState="Routed" program="netgen" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo_sta.nlf" label="Primetime Netlist Report" >
+    <toc-item title="Top of Report" target="Release" searchDir="Forward" />
+   </view>
+   <view inputState="Routed" program="ibiswriter" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo.ibs" label="IBIS Model" >
+    <toc-item title="Top of Report" target="IBIS Models for" searchDir="Forward" />
+    <toc-item title="Component" target="Component " />
+   </view>
+   <view inputState="Routed" program="pin2ucf" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo.lck" label="Back-annotate Pin Report" >
+    <toc-item title="Top of Report" target="pin2ucf Report File" searchDir="Forward" />
+    <toc-item title="Constraint Conflicts Information" target="Constraint Conflicts Information" />
+   </view>
+   <view inputState="Routed" program="pin2ucf" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\RTOSDemo.lpc" label="Locked Pin Constraints" >
+    <toc-item title="Top of Report" target="top.lpc" searchDir="Forward" />
+    <toc-item title="Newly Added Constraints" target="The following constraints were newly added" />
+   </view>
+   <view inputState="Translated" program="netgen" contextTags="CPLD_ONLY,EDK_OFF" hidden="true" type="Secondary_Report" file="implementation\netgen/fit/RTOSDemo_timesim.nlf" label="Post-Fit Simulation Model Report" />
+   <view inputState="Routed" program="bitgen" contextTags="FPGA_ONLY" hidden="if_missing" type="HTML" file="implementation\usage_statistics_webtalk.html" label="WebTalk Report" />
+   <view inputState="Routed" program="bitgen" contextTags="FPGA_ONLY" hidden="if_missing" type="Secondary_Report" file="implementation\webtalk.log" label="WebTalk Log File" />
+  </viewgroup>
+ </body>
+</report-views>
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/ise/xmsgprops.lst b/Demo/MicroBlaze_Spartan-6_SP605/__xps/ise/xmsgprops.lst
new file mode 100644 (file)
index 0000000..10c9bb7
--- /dev/null
@@ -0,0 +1,3 @@
+MessageCaptureEnabled: TRUE\r
+MessageFilteringEnabled: FALSE\r
+IncrementalMessagingEnabled: TRUE\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/platgen.opt b/Demo/MicroBlaze_Spartan-6_SP605/__xps/platgen.opt
new file mode 100644 (file)
index 0000000..7617538
--- /dev/null
@@ -0,0 +1,2 @@
+ -p xc6slx45tfgg484-3 -lang vhdl$(PROJECT_SEARCHPATHOPT) $(GLOBAL_SEARCHPATHOPT) -msg __xps/ise/xmsgprops.lst
+\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/simgen.opt b/Demo/MicroBlaze_Spartan-6_SP605/__xps/simgen.opt
new file mode 100644 (file)
index 0000000..9fbb005
--- /dev/null
@@ -0,0 +1 @@
+ -p spartan6 -lang vhdl$(PROJECT_SEARCHPATHOPT) $(GLOBAL_SEARCHPATHOPT) -msg __xps/ise/xmsgprops.lst -s isim\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/system.xml b/Demo/MicroBlaze_Spartan-6_SP605/__xps/system.xml
new file mode 100644 (file)
index 0000000..4fc882d
--- /dev/null
@@ -0,0 +1,4732 @@
+
+<EDKSYSTEM EDKVERSION="13.1" EDWVERSION="1.2" TIMESTAMP="Mon May 30 16:47:00 2011">
+
+  <SYSTEMINFO ARCH="spartan6" DEVICE="xc6slx45t" PACKAGE="fgg484" PART="xc6slx45tfgg484-3" SOURCE="C:/E/Dev/FreeRTOS/WorkingCopy/Demo/MicroBlaze_Spartan-6_SP605/RTOSDemo.xmp" SPEEDGRADE="-3"/>
+
+  <MODULES>
+    <MODULE BUSSTD="AXI" BUSSTD_PSF="AXI" HWVERSION="1.02.a" INSTANCE="axi4_0" IPTYPE="BUS" IS_CROSSBAR="TRUE" MHS_INDEX="0" MODCLASS="BUS" MODTYPE="axi_interconnect">
+      <DESCRIPTION TYPE="SHORT">AXI Interconnect</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">AXI4 Memory-Mapped Interconnect</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_interconnect_v1_02_a/doc/ds768_axi_interconnect.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="1" NAME="C_BASEFAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="2" NAME="C_NUM_SLAVE_SLOTS" TYPE="INTEGER" VALUE="2"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_NUM_MASTER_SLOTS" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_AXI_ID_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_AXI_DATA_MAX_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_S_AXI_DATA_WIDTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_M_AXI_DATA_WIDTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_INTERCONNECT_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_S_AXI_PROTOCOL" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_M_AXI_PROTOCOL" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="12" NAME="C_M_AXI_BASE_ADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000c4000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="13" NAME="C_M_AXI_HIGH_ADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c407ffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="14" NAME="C_S_AXI_BASE_ID" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_S_AXI_THREAD_ID_WIDTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="16" NAME="C_S_AXI_IS_INTERCONNECT" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="17" NAME="C_S_AXI_ACLK_RATIO" TYPE="STD_LOGIC_VECTOR" VALUE="0x000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000105f5e10005f5e100"/>
+        <PARAMETER MPD_INDEX="18" NAME="C_S_AXI_IS_ACLK_ASYNC" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="19" NAME="C_M_AXI_ACLK_RATIO" TYPE="STD_LOGIC_VECTOR" VALUE="0x000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000105f5e10000000001"/>
+        <PARAMETER MPD_INDEX="20" NAME="C_M_AXI_IS_ACLK_ASYNC" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="21" NAME="C_INTERCONNECT_ACLK_RATIO" TYPE="INTEGER" VALUE="100000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="22" NAME="C_S_AXI_SUPPORTS_WRITE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111101"/>
+        <PARAMETER MPD_INDEX="23" NAME="C_S_AXI_SUPPORTS_READ" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="24" NAME="C_M_AXI_SUPPORTS_WRITE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="25" NAME="C_M_AXI_SUPPORTS_READ" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="26" NAME="C_AXI_SUPPORTS_USER_SIGNALS" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="27" NAME="C_AXI_AWUSER_WIDTH" TYPE="INTEGER" VALUE="5"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="28" NAME="C_AXI_ARUSER_WIDTH" TYPE="INTEGER" VALUE="5"/>
+        <PARAMETER MPD_INDEX="29" NAME="C_AXI_WUSER_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="30" NAME="C_AXI_RUSER_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="31" NAME="C_AXI_BUSER_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="32" NAME="C_AXI_CONNECTIVITY" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000"/>
+        <PARAMETER MPD_INDEX="33" NAME="C_S_AXI_SINGLE_THREAD" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="34" NAME="C_M_AXI_SUPPORTS_REORDERING" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="35" NAME="C_S_AXI_SUPPORTS_NARROW_BURST" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111100"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="36" NAME="C_M_AXI_SUPPORTS_NARROW_BURST" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111101"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="37" NAME="C_S_AXI_WRITE_ACCEPTANCE" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000020"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="38" NAME="C_S_AXI_READ_ACCEPTANCE" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000200000002"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="39" NAME="C_M_AXI_WRITE_ISSUING" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000200000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="40" NAME="C_M_AXI_READ_ISSUING" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000200000001"/>
+        <PARAMETER MPD_INDEX="41" NAME="C_S_AXI_ARB_PRIORITY" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="42" NAME="C_M_AXI_SECURE" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="43" NAME="C_S_AXI_WRITE_FIFO_DEPTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="44" NAME="C_S_AXI_WRITE_FIFO_TYPE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="45" NAME="C_S_AXI_WRITE_FIFO_DELAY" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="46" NAME="C_S_AXI_READ_FIFO_DEPTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="47" NAME="C_S_AXI_READ_FIFO_TYPE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="48" NAME="C_S_AXI_READ_FIFO_DELAY" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="49" NAME="C_M_AXI_WRITE_FIFO_DEPTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="50" NAME="C_M_AXI_WRITE_FIFO_TYPE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="51" NAME="C_M_AXI_WRITE_FIFO_DELAY" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="52" NAME="C_M_AXI_READ_FIFO_DEPTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="53" NAME="C_M_AXI_READ_FIFO_TYPE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="54" NAME="C_M_AXI_READ_FIFO_DELAY" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="55" NAME="C_S_AXI_AW_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="56" NAME="C_S_AXI_AR_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="57" NAME="C_S_AXI_W_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="58" NAME="C_S_AXI_R_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="59" NAME="C_S_AXI_B_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="60" NAME="C_M_AXI_AW_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="61" NAME="C_M_AXI_AR_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="62" NAME="C_M_AXI_W_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="63" NAME="C_M_AXI_R_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="64" NAME="C_M_AXI_B_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000"/>
+        <PARAMETER MPD_INDEX="65" NAME="C_INTERCONNECT_R_REGISTER" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="66" NAME="C_INTERCONNECT_CONNECTIVITY_MODE" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="67" NAME="C_USE_CTRL_PORT" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="68" NAME="C_USE_INTERRUPT" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="69" NAME="C_RANGE_CHECK" TYPE="INTEGER" VALUE="2"/>
+        <PARAMETER MPD_INDEX="70" NAME="C_S_AXI_CTRL_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER MPD_INDEX="71" NAME="C_S_AXI_CTRL_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="72" NAME="C_S_AXI_CTRL_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" MPD_INDEX="73" NAME="C_BASEADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0xFFFFFFFF"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" MPD_INDEX="74" NAME="C_HIGHADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="75" NAME="C_DEBUG" TYPE="INTEGER" VALUE="0"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT BUS="S_AXI_CTRL" CLKFREQUENCY="100000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="interconnect_aclk" SIGIS="CLK" SIGNAME="clk_100_0000MHzPLL0"/>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="1" NAME="INTERCONNECT_ARESETN" SIGIS="RST" SIGNAME="proc_sys_reset_0_Interconnect_aresetn"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARESETN" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="2" MSB="1" NAME="S_AXI_ARESET_OUT_N" RIGHT="0" SIGIS="RST" SIGNAME="axi4_0_S_ARESETN" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARESETN" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="3" MSB="1" NAME="M_AXI_ARESET_OUT_N" RIGHT="0" SIGIS="RST" SIGNAME="axi4_0_M_ARESETN" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="4" NAME="IRQ" SENSITIVITY="EDGE_RISING" SIGIS="INTERRUPT" SIGNAME="__NOC__"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ACLK" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="5" MSB="1" NAME="S_AXI_ACLK" RIGHT="0" SIGIS="CLK" SIGNAME="axi4_0_S_ACLK" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="6" MSB="1" NAME="S_AXI_AWID" RIGHT="0" SIGNAME="axi4_0_S_AWID" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="63" LSB="0" MPD_INDEX="7" MSB="63" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4_0_S_AWADDR" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ADDR_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWLEN" DIR="I" ENDIAN="LITTLE" LEFT="15" LSB="0" MPD_INDEX="8" MSB="15" NAME="S_AXI_AWLEN" RIGHT="0" SIGNAME="axi4_0_S_AWLEN" VECFORMULA="[((C_NUM_SLAVE_SLOTS*8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWSIZE" DIR="I" ENDIAN="LITTLE" LEFT="5" LSB="0" MPD_INDEX="9" MSB="5" NAME="S_AXI_AWSIZE" RIGHT="0" SIGNAME="axi4_0_S_AWSIZE" VECFORMULA="[((C_NUM_SLAVE_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWBURST" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="10" MSB="3" NAME="S_AXI_AWBURST" RIGHT="0" SIGNAME="axi4_0_S_AWBURST" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWLOCK" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="11" MSB="3" NAME="S_AXI_AWLOCK" RIGHT="0" SIGNAME="axi4_0_S_AWLOCK" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWCACHE" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="12" MSB="7" NAME="S_AXI_AWCACHE" RIGHT="0" SIGNAME="axi4_0_S_AWCACHE" VECFORMULA="[((C_NUM_SLAVE_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWPROT" DIR="I" ENDIAN="LITTLE" LEFT="5" LSB="0" MPD_INDEX="13" MSB="5" NAME="S_AXI_AWPROT" RIGHT="0" SIGNAME="axi4_0_S_AWPROT" VECFORMULA="[((C_NUM_SLAVE_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWQOS" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="14" MSB="7" NAME="S_AXI_AWQOS" RIGHT="0" SIGNAME="axi4_0_S_AWQOS" VECFORMULA="[((C_NUM_SLAVE_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWUSER" DIR="I" ENDIAN="LITTLE" LEFT="9" LSB="0" MPD_INDEX="15" MSB="9" NAME="S_AXI_AWUSER" RIGHT="0" SIGNAME="axi4_0_S_AWUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_AWUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWVALID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="16" MSB="1" NAME="S_AXI_AWVALID" RIGHT="0" SIGNAME="axi4_0_S_AWVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_AWREADY" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="17" MSB="1" NAME="S_AXI_AWREADY" RIGHT="0" SIGNAME="axi4_0_S_AWREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="63" LSB="0" MPD_INDEX="18" MSB="63" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4_0_S_WDATA" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_DATA_MAX_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="19" MSB="7" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4_0_S_WSTRB" VECFORMULA="[(((C_NUM_SLAVE_SLOTS*C_AXI_DATA_MAX_WIDTH)/8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_WLAST" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="20" MSB="1" NAME="S_AXI_WLAST" RIGHT="0" SIGNAME="axi4_0_S_WLAST" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_WUSER" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="21" MSB="1" NAME="S_AXI_WUSER" RIGHT="0" SIGNAME="axi4_0_S_WUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_WUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_WVALID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="22" MSB="1" NAME="S_AXI_WVALID" RIGHT="0" SIGNAME="axi4_0_S_WVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_WREADY" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="23" MSB="1" NAME="S_AXI_WREADY" RIGHT="0" SIGNAME="axi4_0_S_WREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_BID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="24" MSB="1" NAME="S_AXI_BID" RIGHT="0" SIGNAME="axi4_0_S_BID" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="25" MSB="3" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4_0_S_BRESP" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_BUSER" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="26" MSB="1" NAME="S_AXI_BUSER" RIGHT="0" SIGNAME="axi4_0_S_BUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_BUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_BVALID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="27" MSB="1" NAME="S_AXI_BVALID" RIGHT="0" SIGNAME="axi4_0_S_BVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_BREADY" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="28" MSB="1" NAME="S_AXI_BREADY" RIGHT="0" SIGNAME="axi4_0_S_BREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="29" MSB="1" NAME="S_AXI_ARID" RIGHT="0" SIGNAME="axi4_0_S_ARID" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="63" LSB="0" MPD_INDEX="30" MSB="63" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4_0_S_ARADDR" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ADDR_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARLEN" DIR="I" ENDIAN="LITTLE" LEFT="15" LSB="0" MPD_INDEX="31" MSB="15" NAME="S_AXI_ARLEN" RIGHT="0" SIGNAME="axi4_0_S_ARLEN" VECFORMULA="[((C_NUM_SLAVE_SLOTS*8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARSIZE" DIR="I" ENDIAN="LITTLE" LEFT="5" LSB="0" MPD_INDEX="32" MSB="5" NAME="S_AXI_ARSIZE" RIGHT="0" SIGNAME="axi4_0_S_ARSIZE" VECFORMULA="[((C_NUM_SLAVE_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARBURST" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="33" MSB="3" NAME="S_AXI_ARBURST" RIGHT="0" SIGNAME="axi4_0_S_ARBURST" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARLOCK" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="34" MSB="3" NAME="S_AXI_ARLOCK" RIGHT="0" SIGNAME="axi4_0_S_ARLOCK" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARCACHE" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="35" MSB="7" NAME="S_AXI_ARCACHE" RIGHT="0" SIGNAME="axi4_0_S_ARCACHE" VECFORMULA="[((C_NUM_SLAVE_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARPROT" DIR="I" ENDIAN="LITTLE" LEFT="5" LSB="0" MPD_INDEX="36" MSB="5" NAME="S_AXI_ARPROT" RIGHT="0" SIGNAME="axi4_0_S_ARPROT" VECFORMULA="[((C_NUM_SLAVE_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARQOS" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="37" MSB="7" NAME="S_AXI_ARQOS" RIGHT="0" SIGNAME="axi4_0_S_ARQOS" VECFORMULA="[((C_NUM_SLAVE_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARUSER" DIR="I" ENDIAN="LITTLE" LEFT="9" LSB="0" MPD_INDEX="38" MSB="9" NAME="S_AXI_ARUSER" RIGHT="0" SIGNAME="axi4_0_S_ARUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ARUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARVALID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="39" MSB="1" NAME="S_AXI_ARVALID" RIGHT="0" SIGNAME="axi4_0_S_ARVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_ARREADY" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="40" MSB="1" NAME="S_AXI_ARREADY" RIGHT="0" SIGNAME="axi4_0_S_ARREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_RID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="41" MSB="1" NAME="S_AXI_RID" RIGHT="0" SIGNAME="axi4_0_S_RID" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="63" LSB="0" MPD_INDEX="42" MSB="63" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4_0_S_RDATA" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_DATA_MAX_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="43" MSB="3" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4_0_S_RRESP" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_RLAST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="44" MSB="1" NAME="S_AXI_RLAST" RIGHT="0" SIGNAME="axi4_0_S_RLAST" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_RUSER" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="45" MSB="1" NAME="S_AXI_RUSER" RIGHT="0" SIGNAME="axi4_0_S_RUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_RUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_RVALID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="46" MSB="1" NAME="S_AXI_RVALID" RIGHT="0" SIGNAME="axi4_0_S_RVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_S_RREADY" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="47" MSB="1" NAME="S_AXI_RREADY" RIGHT="0" SIGNAME="axi4_0_S_RREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ACLK" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="48" MSB="1" NAME="M_AXI_ACLK" RIGHT="0" SIGIS="CLK" SIGNAME="axi4_0_M_ACLK" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="49" MSB="1" NAME="M_AXI_AWID" RIGHT="0" SIGNAME="axi4_0_M_AWID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWADDR" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="50" MSB="31" NAME="M_AXI_AWADDR" RIGHT="0" SIGNAME="axi4_0_M_AWADDR" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ADDR_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWLEN" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="51" MSB="7" NAME="M_AXI_AWLEN" RIGHT="0" SIGNAME="axi4_0_M_AWLEN" VECFORMULA="[((C_NUM_MASTER_SLOTS*8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWSIZE" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="52" MSB="2" NAME="M_AXI_AWSIZE" RIGHT="0" SIGNAME="axi4_0_M_AWSIZE" VECFORMULA="[((C_NUM_MASTER_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWBURST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="53" MSB="1" NAME="M_AXI_AWBURST" RIGHT="0" SIGNAME="axi4_0_M_AWBURST" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWLOCK" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="54" MSB="1" NAME="M_AXI_AWLOCK" RIGHT="0" SIGNAME="axi4_0_M_AWLOCK" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWCACHE" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="55" MSB="3" NAME="M_AXI_AWCACHE" RIGHT="0" SIGNAME="axi4_0_M_AWCACHE" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWPROT" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="56" MSB="2" NAME="M_AXI_AWPROT" RIGHT="0" SIGNAME="axi4_0_M_AWPROT" VECFORMULA="[((C_NUM_MASTER_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWREGION" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="57" MSB="3" NAME="M_AXI_AWREGION" RIGHT="0" SIGNAME="axi4_0_M_AWREGION" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWQOS" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="58" MSB="3" NAME="M_AXI_AWQOS" RIGHT="0" SIGNAME="axi4_0_M_AWQOS" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWUSER" DIR="O" ENDIAN="LITTLE" LEFT="4" LSB="0" MPD_INDEX="59" MSB="4" NAME="M_AXI_AWUSER" RIGHT="0" SIGNAME="axi4_0_M_AWUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_AWUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWVALID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="60" MSB="1" NAME="M_AXI_AWVALID" RIGHT="0" SIGNAME="axi4_0_M_AWVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_AWREADY" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="61" MSB="1" NAME="M_AXI_AWREADY" RIGHT="0" SIGNAME="axi4_0_M_AWREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_WID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="62" MSB="1" NAME="M_AXI_WID" RIGHT="0" SIGNAME="axi4_0_M_WID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_WDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="63" MSB="31" NAME="M_AXI_WDATA" RIGHT="0" SIGNAME="axi4_0_M_WDATA" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_DATA_MAX_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_WSTRB" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="64" MSB="3" NAME="M_AXI_WSTRB" RIGHT="0" SIGNAME="axi4_0_M_WSTRB" VECFORMULA="[(((C_NUM_MASTER_SLOTS*C_AXI_DATA_MAX_WIDTH)/8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_WLAST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="65" MSB="1" NAME="M_AXI_WLAST" RIGHT="0" SIGNAME="axi4_0_M_WLAST" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_WUSER" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="66" MSB="1" NAME="M_AXI_WUSER" RIGHT="0" SIGNAME="axi4_0_M_WUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_WUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_WVALID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="67" MSB="1" NAME="M_AXI_WVALID" RIGHT="0" SIGNAME="axi4_0_M_WVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_WREADY" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="68" MSB="1" NAME="M_AXI_WREADY" RIGHT="0" SIGNAME="axi4_0_M_WREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_BID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="69" MSB="1" NAME="M_AXI_BID" RIGHT="0" SIGNAME="axi4_0_M_BID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_BRESP" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="70" MSB="1" NAME="M_AXI_BRESP" RIGHT="0" SIGNAME="axi4_0_M_BRESP" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_BUSER" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="71" MSB="1" NAME="M_AXI_BUSER" RIGHT="0" SIGNAME="axi4_0_M_BUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_BUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_BVALID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="72" MSB="1" NAME="M_AXI_BVALID" RIGHT="0" SIGNAME="axi4_0_M_BVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_BREADY" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="73" MSB="1" NAME="M_AXI_BREADY" RIGHT="0" SIGNAME="axi4_0_M_BREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="74" MSB="1" NAME="M_AXI_ARID" RIGHT="0" SIGNAME="axi4_0_M_ARID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARADDR" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="75" MSB="31" NAME="M_AXI_ARADDR" RIGHT="0" SIGNAME="axi4_0_M_ARADDR" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ADDR_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARLEN" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="76" MSB="7" NAME="M_AXI_ARLEN" RIGHT="0" SIGNAME="axi4_0_M_ARLEN" VECFORMULA="[((C_NUM_MASTER_SLOTS*8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARSIZE" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="77" MSB="2" NAME="M_AXI_ARSIZE" RIGHT="0" SIGNAME="axi4_0_M_ARSIZE" VECFORMULA="[((C_NUM_MASTER_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARBURST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="78" MSB="1" NAME="M_AXI_ARBURST" RIGHT="0" SIGNAME="axi4_0_M_ARBURST" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARLOCK" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="79" MSB="1" NAME="M_AXI_ARLOCK" RIGHT="0" SIGNAME="axi4_0_M_ARLOCK" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARCACHE" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="80" MSB="3" NAME="M_AXI_ARCACHE" RIGHT="0" SIGNAME="axi4_0_M_ARCACHE" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARPROT" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="81" MSB="2" NAME="M_AXI_ARPROT" RIGHT="0" SIGNAME="axi4_0_M_ARPROT" VECFORMULA="[((C_NUM_MASTER_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARREGION" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="82" MSB="3" NAME="M_AXI_ARREGION" RIGHT="0" SIGNAME="axi4_0_M_ARREGION" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARQOS" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="83" MSB="3" NAME="M_AXI_ARQOS" RIGHT="0" SIGNAME="axi4_0_M_ARQOS" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARUSER" DIR="O" ENDIAN="LITTLE" LEFT="4" LSB="0" MPD_INDEX="84" MSB="4" NAME="M_AXI_ARUSER" RIGHT="0" SIGNAME="axi4_0_M_ARUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ARUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARVALID" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="85" MSB="1" NAME="M_AXI_ARVALID" RIGHT="0" SIGNAME="axi4_0_M_ARVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_ARREADY" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="86" MSB="1" NAME="M_AXI_ARREADY" RIGHT="0" SIGNAME="axi4_0_M_ARREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_RID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="87" MSB="1" NAME="M_AXI_RID" RIGHT="0" SIGNAME="axi4_0_M_RID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_RDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="88" MSB="31" NAME="M_AXI_RDATA" RIGHT="0" SIGNAME="axi4_0_M_RDATA" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_DATA_MAX_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_RRESP" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="89" MSB="1" NAME="M_AXI_RRESP" RIGHT="0" SIGNAME="axi4_0_M_RRESP" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_RLAST" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="90" MSB="1" NAME="M_AXI_RLAST" RIGHT="0" SIGNAME="axi4_0_M_RLAST" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_RUSER" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="91" MSB="1" NAME="M_AXI_RUSER" RIGHT="0" SIGNAME="axi4_0_M_RUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_RUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_RVALID" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="92" MSB="1" NAME="M_AXI_RVALID" RIGHT="0" SIGNAME="axi4_0_M_RVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4_0_M_RREADY" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="93" MSB="1" NAME="M_AXI_RREADY" RIGHT="0" SIGNAME="axi4_0_M_RREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="94" MSB="31" NAME="S_AXI_CTRL_AWADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_ADDR_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="95" NAME="S_AXI_CTRL_AWVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="96" NAME="S_AXI_CTRL_AWREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="97" MSB="31" NAME="S_AXI_CTRL_WDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_DATA_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="98" NAME="S_AXI_CTRL_WVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="99" NAME="S_AXI_CTRL_WREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="100" MSB="1" NAME="S_AXI_CTRL_BRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1 : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="101" NAME="S_AXI_CTRL_BVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="102" NAME="S_AXI_CTRL_BREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="103" MSB="31" NAME="S_AXI_CTRL_ARADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_ADDR_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="104" NAME="S_AXI_CTRL_ARVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="105" NAME="S_AXI_CTRL_ARREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="106" MSB="31" NAME="S_AXI_CTRL_RDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_DATA_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="107" MSB="1" NAME="S_AXI_CTRL_RRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1 : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="108" NAME="S_AXI_CTRL_RVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="109" NAME="S_AXI_CTRL_RREADY" SIGNAME="__NOC__"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_VALID="FALSE" MPD_INDEX="0" NAME="S_AXI_CTRL" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="interconnect_aclk"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="4294967295" BASENAME="C_BASEADDR" BASEVALUE="0xFFFFFFFF" HIGHDECIMAL="0" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x00000000" IS_VALID="FALSE" MEMTYPE="REGISTER" SIZE="0" SIZEABRV="U">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI_CTRL"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE BUSSTD="AXI" BUSSTD_PSF="AXI" HWVERSION="1.02.a" INSTANCE="axi4lite_0" IPTYPE="BUS" MHS_INDEX="1" MODCLASS="BUS" MODTYPE="axi_interconnect">
+      <DESCRIPTION TYPE="SHORT">AXI Interconnect</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">AXI4 Memory-Mapped Interconnect</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_interconnect_v1_02_a/doc/ds768_axi_interconnect.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="1" NAME="C_BASEFAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER MPD_INDEX="2" NAME="C_NUM_SLAVE_SLOTS" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="3" NAME="C_NUM_MASTER_SLOTS" TYPE="INTEGER" VALUE="7"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_AXI_ID_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_AXI_DATA_MAX_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_S_AXI_DATA_WIDTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_M_AXI_DATA_WIDTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020000000200000002000000020"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_INTERCONNECT_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="10" NAME="C_S_AXI_PROTOCOL" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="11" NAME="C_M_AXI_PROTOCOL" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000002000000020000000200000002000000020000000200000002"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="12" NAME="C_M_AXI_BASE_ADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000041200000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000041c00000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000040e00000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000040000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000040020000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000040600000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000074800000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="13" NAME="C_M_AXI_HIGH_ADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004120ffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041c0ffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040e0ffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000ffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004002ffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004060ffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007480ffff"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_S_AXI_BASE_ID" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_S_AXI_THREAD_ID_WIDTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="16" NAME="C_S_AXI_IS_INTERCONNECT" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="17" NAME="C_S_AXI_ACLK_RATIO" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000105f5e100"/>
+        <PARAMETER MPD_INDEX="18" NAME="C_S_AXI_IS_ACLK_ASYNC" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="19" NAME="C_M_AXI_ACLK_RATIO" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000102faf08002faf08002faf08002faf08002faf08002faf08002faf080"/>
+        <PARAMETER MPD_INDEX="20" NAME="C_M_AXI_IS_ACLK_ASYNC" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="21" NAME="C_INTERCONNECT_ACLK_RATIO" TYPE="INTEGER" VALUE="50000000"/>
+        <PARAMETER MPD_INDEX="22" NAME="C_S_AXI_SUPPORTS_WRITE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="23" NAME="C_S_AXI_SUPPORTS_READ" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="24" NAME="C_M_AXI_SUPPORTS_WRITE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="25" NAME="C_M_AXI_SUPPORTS_READ" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="26" NAME="C_AXI_SUPPORTS_USER_SIGNALS" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="27" NAME="C_AXI_AWUSER_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="28" NAME="C_AXI_ARUSER_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="29" NAME="C_AXI_WUSER_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="30" NAME="C_AXI_RUSER_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="31" NAME="C_AXI_BUSER_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="32" NAME="C_AXI_CONNECTIVITY" TYPE="STD_LOGIC_VECTOR" VALUE="0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"/>
+        <PARAMETER MPD_INDEX="33" NAME="C_S_AXI_SINGLE_THREAD" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="34" NAME="C_M_AXI_SUPPORTS_REORDERING" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="35" NAME="C_S_AXI_SUPPORTS_NARROW_BURST" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111110"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="36" NAME="C_M_AXI_SUPPORTS_NARROW_BURST" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111101111"/>
+        <PARAMETER MPD_INDEX="37" NAME="C_S_AXI_WRITE_ACCEPTANCE" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER MPD_INDEX="38" NAME="C_S_AXI_READ_ACCEPTANCE" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER MPD_INDEX="39" NAME="C_M_AXI_WRITE_ISSUING" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER MPD_INDEX="40" NAME="C_M_AXI_READ_ISSUING" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER MPD_INDEX="41" NAME="C_S_AXI_ARB_PRIORITY" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="42" NAME="C_M_AXI_SECURE" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="43" NAME="C_S_AXI_WRITE_FIFO_DEPTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="44" NAME="C_S_AXI_WRITE_FIFO_TYPE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="45" NAME="C_S_AXI_WRITE_FIFO_DELAY" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="46" NAME="C_S_AXI_READ_FIFO_DEPTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="47" NAME="C_S_AXI_READ_FIFO_TYPE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="48" NAME="C_S_AXI_READ_FIFO_DELAY" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="49" NAME="C_M_AXI_WRITE_FIFO_DEPTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="50" NAME="C_M_AXI_WRITE_FIFO_TYPE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="51" NAME="C_M_AXI_WRITE_FIFO_DELAY" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER MPD_INDEX="52" NAME="C_M_AXI_READ_FIFO_DEPTH" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
+        <PARAMETER MPD_INDEX="53" NAME="C_M_AXI_READ_FIFO_TYPE" TYPE="STD_LOGIC_VECTOR" VALUE="0b1111111111111111"/>
+        <PARAMETER MPD_INDEX="54" NAME="C_M_AXI_READ_FIFO_DELAY" TYPE="STD_LOGIC_VECTOR" VALUE="0b0000000000000000"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="55" NAME="C_S_AXI_AW_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="56" NAME="C_S_AXI_AR_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="57" NAME="C_S_AXI_W_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="58" NAME="C_S_AXI_R_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="59" NAME="C_S_AXI_B_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="60" NAME="C_M_AXI_AW_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="61" NAME="C_M_AXI_AR_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="62" NAME="C_M_AXI_W_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="63" NAME="C_M_AXI_R_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="64" NAME="C_M_AXI_B_REGISTER" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000000000000000000000000000000000000000000000000000000000000000000000000001000000010000000100000001000000010000000100000001"/>
+        <PARAMETER MPD_INDEX="65" NAME="C_INTERCONNECT_R_REGISTER" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="66" NAME="C_INTERCONNECT_CONNECTIVITY_MODE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="67" NAME="C_USE_CTRL_PORT" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="68" NAME="C_USE_INTERRUPT" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="69" NAME="C_RANGE_CHECK" TYPE="INTEGER" VALUE="2"/>
+        <PARAMETER MPD_INDEX="70" NAME="C_S_AXI_CTRL_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER MPD_INDEX="71" NAME="C_S_AXI_CTRL_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="72" NAME="C_S_AXI_CTRL_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" MPD_INDEX="73" NAME="C_BASEADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0xFFFFFFFF"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" MPD_INDEX="74" NAME="C_HIGHADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="75" NAME="C_DEBUG" TYPE="INTEGER" VALUE="0"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="1" NAME="INTERCONNECT_ARESETN" SIGIS="RST" SIGNAME="proc_sys_reset_0_Interconnect_aresetn"/>
+        <PORT BUS="S_AXI_CTRL" CLKFREQUENCY="50000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="INTERCONNECT_ACLK" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARESETN" DIR="O" MPD_INDEX="2" NAME="S_AXI_ARESET_OUT_N" SIGIS="RST" SIGNAME="axi4lite_0_S_ARESETN" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARESETN" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="3" MSB="6" NAME="M_AXI_ARESET_OUT_N" RIGHT="0" SIGIS="RST" SIGNAME="axi4lite_0_M_ARESETN" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="4" NAME="IRQ" SENSITIVITY="EDGE_RISING" SIGIS="INTERRUPT" SIGNAME="__NOC__"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ACLK" DIR="I" MPD_INDEX="5" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="axi4lite_0_S_ACLK" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWID" DIR="I" MPD_INDEX="6" NAME="S_AXI_AWID" SIGNAME="axi4lite_0_S_AWID" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="7" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_S_AWADDR" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ADDR_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWLEN" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="8" MSB="7" NAME="S_AXI_AWLEN" RIGHT="0" SIGNAME="axi4lite_0_S_AWLEN" VECFORMULA="[((C_NUM_SLAVE_SLOTS*8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWSIZE" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="9" MSB="2" NAME="S_AXI_AWSIZE" RIGHT="0" SIGNAME="axi4lite_0_S_AWSIZE" VECFORMULA="[((C_NUM_SLAVE_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWBURST" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="10" MSB="1" NAME="S_AXI_AWBURST" RIGHT="0" SIGNAME="axi4lite_0_S_AWBURST" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWLOCK" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="11" MSB="1" NAME="S_AXI_AWLOCK" RIGHT="0" SIGNAME="axi4lite_0_S_AWLOCK" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWCACHE" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="12" MSB="3" NAME="S_AXI_AWCACHE" RIGHT="0" SIGNAME="axi4lite_0_S_AWCACHE" VECFORMULA="[((C_NUM_SLAVE_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWPROT" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="13" MSB="2" NAME="S_AXI_AWPROT" RIGHT="0" SIGNAME="axi4lite_0_S_AWPROT" VECFORMULA="[((C_NUM_SLAVE_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWQOS" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="14" MSB="3" NAME="S_AXI_AWQOS" RIGHT="0" SIGNAME="axi4lite_0_S_AWQOS" VECFORMULA="[((C_NUM_SLAVE_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWUSER" DIR="I" MPD_INDEX="15" NAME="S_AXI_AWUSER" SIGNAME="axi4lite_0_S_AWUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_AWUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWVALID" DIR="I" MPD_INDEX="16" NAME="S_AXI_AWVALID" SIGNAME="axi4lite_0_S_AWVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_AWREADY" DIR="O" MPD_INDEX="17" NAME="S_AXI_AWREADY" SIGNAME="axi4lite_0_S_AWREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="18" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_S_WDATA" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_DATA_MAX_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="19" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_S_WSTRB" VECFORMULA="[(((C_NUM_SLAVE_SLOTS*C_AXI_DATA_MAX_WIDTH)/8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_WLAST" DIR="I" MPD_INDEX="20" NAME="S_AXI_WLAST" SIGNAME="axi4lite_0_S_WLAST" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_WUSER" DIR="I" MPD_INDEX="21" NAME="S_AXI_WUSER" SIGNAME="axi4lite_0_S_WUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_WUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_WVALID" DIR="I" MPD_INDEX="22" NAME="S_AXI_WVALID" SIGNAME="axi4lite_0_S_WVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_WREADY" DIR="O" MPD_INDEX="23" NAME="S_AXI_WREADY" SIGNAME="axi4lite_0_S_WREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_BID" DIR="O" MPD_INDEX="24" NAME="S_AXI_BID" SIGNAME="axi4lite_0_S_BID" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="25" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_S_BRESP" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_BUSER" DIR="O" MPD_INDEX="26" NAME="S_AXI_BUSER" SIGNAME="axi4lite_0_S_BUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_BUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_BVALID" DIR="O" MPD_INDEX="27" NAME="S_AXI_BVALID" SIGNAME="axi4lite_0_S_BVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_BREADY" DIR="I" MPD_INDEX="28" NAME="S_AXI_BREADY" SIGNAME="axi4lite_0_S_BREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARID" DIR="I" MPD_INDEX="29" NAME="S_AXI_ARID" SIGNAME="axi4lite_0_S_ARID" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="30" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_S_ARADDR" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ADDR_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARLEN" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="31" MSB="7" NAME="S_AXI_ARLEN" RIGHT="0" SIGNAME="axi4lite_0_S_ARLEN" VECFORMULA="[((C_NUM_SLAVE_SLOTS*8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARSIZE" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="32" MSB="2" NAME="S_AXI_ARSIZE" RIGHT="0" SIGNAME="axi4lite_0_S_ARSIZE" VECFORMULA="[((C_NUM_SLAVE_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARBURST" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="33" MSB="1" NAME="S_AXI_ARBURST" RIGHT="0" SIGNAME="axi4lite_0_S_ARBURST" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARLOCK" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="34" MSB="1" NAME="S_AXI_ARLOCK" RIGHT="0" SIGNAME="axi4lite_0_S_ARLOCK" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARCACHE" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="35" MSB="3" NAME="S_AXI_ARCACHE" RIGHT="0" SIGNAME="axi4lite_0_S_ARCACHE" VECFORMULA="[((C_NUM_SLAVE_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARPROT" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="36" MSB="2" NAME="S_AXI_ARPROT" RIGHT="0" SIGNAME="axi4lite_0_S_ARPROT" VECFORMULA="[((C_NUM_SLAVE_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARQOS" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="37" MSB="3" NAME="S_AXI_ARQOS" RIGHT="0" SIGNAME="axi4lite_0_S_ARQOS" VECFORMULA="[((C_NUM_SLAVE_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARUSER" DIR="I" MPD_INDEX="38" NAME="S_AXI_ARUSER" SIGNAME="axi4lite_0_S_ARUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ARUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARVALID" DIR="I" MPD_INDEX="39" NAME="S_AXI_ARVALID" SIGNAME="axi4lite_0_S_ARVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_ARREADY" DIR="O" MPD_INDEX="40" NAME="S_AXI_ARREADY" SIGNAME="axi4lite_0_S_ARREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_RID" DIR="O" MPD_INDEX="41" NAME="S_AXI_RID" SIGNAME="axi4lite_0_S_RID" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="42" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_S_RDATA" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_DATA_MAX_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="43" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_S_RRESP" VECFORMULA="[((C_NUM_SLAVE_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_RLAST" DIR="O" MPD_INDEX="44" NAME="S_AXI_RLAST" SIGNAME="axi4lite_0_S_RLAST" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_RUSER" DIR="O" MPD_INDEX="45" NAME="S_AXI_RUSER" SIGNAME="axi4lite_0_S_RUSER" VECFORMULA="[((C_NUM_SLAVE_SLOTS*C_AXI_RUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_RVALID" DIR="O" MPD_INDEX="46" NAME="S_AXI_RVALID" SIGNAME="axi4lite_0_S_RVALID" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_S_RREADY" DIR="I" MPD_INDEX="47" NAME="S_AXI_RREADY" SIGNAME="axi4lite_0_S_RREADY" VECFORMULA="[(C_NUM_SLAVE_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ACLK" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="48" MSB="6" NAME="M_AXI_ACLK" RIGHT="0" SIGIS="CLK" SIGNAME="axi4lite_0_M_ACLK" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWID" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="49" MSB="6" NAME="M_AXI_AWID" RIGHT="0" SIGNAME="axi4lite_0_M_AWID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWADDR" DIR="O" ENDIAN="LITTLE" LEFT="223" LSB="0" MPD_INDEX="50" MSB="223" NAME="M_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_M_AWADDR" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ADDR_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWLEN" DIR="O" ENDIAN="LITTLE" LEFT="55" LSB="0" MPD_INDEX="51" MSB="55" NAME="M_AXI_AWLEN" RIGHT="0" SIGNAME="axi4lite_0_M_AWLEN" VECFORMULA="[((C_NUM_MASTER_SLOTS*8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWSIZE" DIR="O" ENDIAN="LITTLE" LEFT="20" LSB="0" MPD_INDEX="52" MSB="20" NAME="M_AXI_AWSIZE" RIGHT="0" SIGNAME="axi4lite_0_M_AWSIZE" VECFORMULA="[((C_NUM_MASTER_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWBURST" DIR="O" ENDIAN="LITTLE" LEFT="13" LSB="0" MPD_INDEX="53" MSB="13" NAME="M_AXI_AWBURST" RIGHT="0" SIGNAME="axi4lite_0_M_AWBURST" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWLOCK" DIR="O" ENDIAN="LITTLE" LEFT="13" LSB="0" MPD_INDEX="54" MSB="13" NAME="M_AXI_AWLOCK" RIGHT="0" SIGNAME="axi4lite_0_M_AWLOCK" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWCACHE" DIR="O" ENDIAN="LITTLE" LEFT="27" LSB="0" MPD_INDEX="55" MSB="27" NAME="M_AXI_AWCACHE" RIGHT="0" SIGNAME="axi4lite_0_M_AWCACHE" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWPROT" DIR="O" ENDIAN="LITTLE" LEFT="20" LSB="0" MPD_INDEX="56" MSB="20" NAME="M_AXI_AWPROT" RIGHT="0" SIGNAME="axi4lite_0_M_AWPROT" VECFORMULA="[((C_NUM_MASTER_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWREGION" DIR="O" ENDIAN="LITTLE" LEFT="27" LSB="0" MPD_INDEX="57" MSB="27" NAME="M_AXI_AWREGION" RIGHT="0" SIGNAME="axi4lite_0_M_AWREGION" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWQOS" DIR="O" ENDIAN="LITTLE" LEFT="27" LSB="0" MPD_INDEX="58" MSB="27" NAME="M_AXI_AWQOS" RIGHT="0" SIGNAME="axi4lite_0_M_AWQOS" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWUSER" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="59" MSB="6" NAME="M_AXI_AWUSER" RIGHT="0" SIGNAME="axi4lite_0_M_AWUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_AWUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWVALID" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="60" MSB="6" NAME="M_AXI_AWVALID" RIGHT="0" SIGNAME="axi4lite_0_M_AWVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_AWREADY" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="61" MSB="6" NAME="M_AXI_AWREADY" RIGHT="0" SIGNAME="axi4lite_0_M_AWREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_WID" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="62" MSB="6" NAME="M_AXI_WID" RIGHT="0" SIGNAME="axi4lite_0_M_WID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_WDATA" DIR="O" ENDIAN="LITTLE" LEFT="223" LSB="0" MPD_INDEX="63" MSB="223" NAME="M_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_M_WDATA" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_DATA_MAX_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_WSTRB" DIR="O" ENDIAN="LITTLE" LEFT="27" LSB="0" MPD_INDEX="64" MSB="27" NAME="M_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_M_WSTRB" VECFORMULA="[(((C_NUM_MASTER_SLOTS*C_AXI_DATA_MAX_WIDTH)/8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_WLAST" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="65" MSB="6" NAME="M_AXI_WLAST" RIGHT="0" SIGNAME="axi4lite_0_M_WLAST" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_WUSER" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="66" MSB="6" NAME="M_AXI_WUSER" RIGHT="0" SIGNAME="axi4lite_0_M_WUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_WUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_WVALID" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="67" MSB="6" NAME="M_AXI_WVALID" RIGHT="0" SIGNAME="axi4lite_0_M_WVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_WREADY" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="68" MSB="6" NAME="M_AXI_WREADY" RIGHT="0" SIGNAME="axi4lite_0_M_WREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_BID" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="69" MSB="6" NAME="M_AXI_BID" RIGHT="0" SIGNAME="axi4lite_0_M_BID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_BRESP" DIR="I" ENDIAN="LITTLE" LEFT="13" LSB="0" MPD_INDEX="70" MSB="13" NAME="M_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_M_BRESP" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_BUSER" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="71" MSB="6" NAME="M_AXI_BUSER" RIGHT="0" SIGNAME="axi4lite_0_M_BUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_BUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_BVALID" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="72" MSB="6" NAME="M_AXI_BVALID" RIGHT="0" SIGNAME="axi4lite_0_M_BVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_BREADY" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="73" MSB="6" NAME="M_AXI_BREADY" RIGHT="0" SIGNAME="axi4lite_0_M_BREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARID" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="74" MSB="6" NAME="M_AXI_ARID" RIGHT="0" SIGNAME="axi4lite_0_M_ARID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARADDR" DIR="O" ENDIAN="LITTLE" LEFT="223" LSB="0" MPD_INDEX="75" MSB="223" NAME="M_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_M_ARADDR" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ADDR_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARLEN" DIR="O" ENDIAN="LITTLE" LEFT="55" LSB="0" MPD_INDEX="76" MSB="55" NAME="M_AXI_ARLEN" RIGHT="0" SIGNAME="axi4lite_0_M_ARLEN" VECFORMULA="[((C_NUM_MASTER_SLOTS*8)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARSIZE" DIR="O" ENDIAN="LITTLE" LEFT="20" LSB="0" MPD_INDEX="77" MSB="20" NAME="M_AXI_ARSIZE" RIGHT="0" SIGNAME="axi4lite_0_M_ARSIZE" VECFORMULA="[((C_NUM_MASTER_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARBURST" DIR="O" ENDIAN="LITTLE" LEFT="13" LSB="0" MPD_INDEX="78" MSB="13" NAME="M_AXI_ARBURST" RIGHT="0" SIGNAME="axi4lite_0_M_ARBURST" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARLOCK" DIR="O" ENDIAN="LITTLE" LEFT="13" LSB="0" MPD_INDEX="79" MSB="13" NAME="M_AXI_ARLOCK" RIGHT="0" SIGNAME="axi4lite_0_M_ARLOCK" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARCACHE" DIR="O" ENDIAN="LITTLE" LEFT="27" LSB="0" MPD_INDEX="80" MSB="27" NAME="M_AXI_ARCACHE" RIGHT="0" SIGNAME="axi4lite_0_M_ARCACHE" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARPROT" DIR="O" ENDIAN="LITTLE" LEFT="20" LSB="0" MPD_INDEX="81" MSB="20" NAME="M_AXI_ARPROT" RIGHT="0" SIGNAME="axi4lite_0_M_ARPROT" VECFORMULA="[((C_NUM_MASTER_SLOTS*3)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARREGION" DIR="O" ENDIAN="LITTLE" LEFT="27" LSB="0" MPD_INDEX="82" MSB="27" NAME="M_AXI_ARREGION" RIGHT="0" SIGNAME="axi4lite_0_M_ARREGION" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARQOS" DIR="O" ENDIAN="LITTLE" LEFT="27" LSB="0" MPD_INDEX="83" MSB="27" NAME="M_AXI_ARQOS" RIGHT="0" SIGNAME="axi4lite_0_M_ARQOS" VECFORMULA="[((C_NUM_MASTER_SLOTS*4)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARUSER" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="84" MSB="6" NAME="M_AXI_ARUSER" RIGHT="0" SIGNAME="axi4lite_0_M_ARUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ARUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARVALID" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="85" MSB="6" NAME="M_AXI_ARVALID" RIGHT="0" SIGNAME="axi4lite_0_M_ARVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_ARREADY" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="86" MSB="6" NAME="M_AXI_ARREADY" RIGHT="0" SIGNAME="axi4lite_0_M_ARREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_RID" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="87" MSB="6" NAME="M_AXI_RID" RIGHT="0" SIGNAME="axi4lite_0_M_RID" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_ID_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_RDATA" DIR="I" ENDIAN="LITTLE" LEFT="223" LSB="0" MPD_INDEX="88" MSB="223" NAME="M_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_M_RDATA" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_DATA_MAX_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_RRESP" DIR="I" ENDIAN="LITTLE" LEFT="13" LSB="0" MPD_INDEX="89" MSB="13" NAME="M_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_M_RRESP" VECFORMULA="[((C_NUM_MASTER_SLOTS*2)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_RLAST" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="90" MSB="6" NAME="M_AXI_RLAST" RIGHT="0" SIGNAME="axi4lite_0_M_RLAST" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_RUSER" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="91" MSB="6" NAME="M_AXI_RUSER" RIGHT="0" SIGNAME="axi4lite_0_M_RUSER" VECFORMULA="[((C_NUM_MASTER_SLOTS*C_AXI_RUSER_WIDTH)-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_RVALID" DIR="I" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="92" MSB="6" NAME="M_AXI_RVALID" RIGHT="0" SIGNAME="axi4lite_0_M_RVALID" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT DEF_SIGNAME="axi4lite_0_M_RREADY" DIR="O" ENDIAN="LITTLE" LEFT="6" LSB="0" MPD_INDEX="93" MSB="6" NAME="M_AXI_RREADY" RIGHT="0" SIGNAME="axi4lite_0_M_RREADY" VECFORMULA="[(C_NUM_MASTER_SLOTS-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="94" MSB="31" NAME="S_AXI_CTRL_AWADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_ADDR_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="95" NAME="S_AXI_CTRL_AWVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="96" NAME="S_AXI_CTRL_AWREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="97" MSB="31" NAME="S_AXI_CTRL_WDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_DATA_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="98" NAME="S_AXI_CTRL_WVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="99" NAME="S_AXI_CTRL_WREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="100" MSB="1" NAME="S_AXI_CTRL_BRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1 : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="101" NAME="S_AXI_CTRL_BVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="102" NAME="S_AXI_CTRL_BREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="103" MSB="31" NAME="S_AXI_CTRL_ARADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_ADDR_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="104" NAME="S_AXI_CTRL_ARVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="105" NAME="S_AXI_CTRL_ARREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="106" MSB="31" NAME="S_AXI_CTRL_RDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_DATA_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="107" MSB="1" NAME="S_AXI_CTRL_RRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1 : 0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="108" NAME="S_AXI_CTRL_RVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="109" NAME="S_AXI_CTRL_RREADY" SIGNAME="__NOC__"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_VALID="FALSE" MPD_INDEX="0" NAME="S_AXI_CTRL" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="INTERCONNECT_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="4294967295" BASENAME="C_BASEADDR" BASEVALUE="0xFFFFFFFF" HIGHDECIMAL="0" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x00000000" IS_VALID="FALSE" MEMTYPE="REGISTER" SIZE="0" SIZEABRV="U">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI_CTRL"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="8.10.a" INSTANCE="microblaze_0" IPTYPE="PROCESSOR" MHS_INDEX="2" MODCLASS="PROCESSOR" MODTYPE="microblaze" PROCTYPE="MICROBLAZE">
+      <DESCRIPTION TYPE="SHORT">MicroBlaze</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">The MicroBlaze 32 bit soft processor</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/microblaze_v8_10_a/doc/microblaze.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER MPD_INDEX="0" NAME="C_SCO" TYPE="integer" VALUE="0"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="1" NAME="C_FREQ" TYPE="integer" VALUE="100000000"/>
+        <PARAMETER MPD_INDEX="2" NAME="C_DATA_SIZE" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_DYNAMIC_BUS_SIZING" TYPE="integer" VALUE="1"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="4" NAME="C_FAMILY" TYPE="string" VALUE="spartan6"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="5" NAME="C_INSTANCE" TYPE="string" VALUE="microblaze_0"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_FAULT_TOLERANT" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_ECC_USE_CE_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="8" NAME="C_ENDIANNESS" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_AREA_OPTIMIZED" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_OPTIMIZATION" TYPE="integer" VALUE="0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="11" NAME="C_INTERCONNECT" TYPE="integer" VALUE="2"/>
+        <PARAMETER MPD_INDEX="12" NAME="C_STREAM_INTERCONNECT" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="13" NAME="C_DPLB_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_DPLB_NATIVE_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_DPLB_BURST_EN" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="16" NAME="C_DPLB_P2P" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="17" NAME="C_IPLB_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="18" NAME="C_IPLB_NATIVE_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="19" NAME="C_IPLB_BURST_EN" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="20" NAME="C_IPLB_P2P" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="21" NAME="C_M_AXI_DP_SUPPORTS_THREADS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="22" NAME="C_M_AXI_DP_THREAD_ID_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="23" NAME="C_M_AXI_DP_SUPPORTS_READ" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="24" NAME="C_M_AXI_DP_SUPPORTS_WRITE" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="25" NAME="C_M_AXI_DP_SUPPORTS_NARROW_BURST" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="26" NAME="C_M_AXI_DP_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="27" NAME="C_M_AXI_DP_ADDR_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="28" NAME="C_M_AXI_DP_PROTOCOL" TYPE="string" VALUE="AXI4LITE"/>
+        <PARAMETER MPD_INDEX="29" NAME="C_M_AXI_DP_EXCLUSIVE_ACCESS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="30" NAME="C_INTERCONNECT_M_AXI_DP_READ_ISSUING" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="31" NAME="C_INTERCONNECT_M_AXI_DP_WRITE_ISSUING" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="32" NAME="C_M_AXI_IP_SUPPORTS_THREADS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="33" NAME="C_M_AXI_IP_THREAD_ID_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="34" NAME="C_M_AXI_IP_SUPPORTS_READ" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="35" NAME="C_M_AXI_IP_SUPPORTS_WRITE" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="36" NAME="C_M_AXI_IP_SUPPORTS_NARROW_BURST" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="37" NAME="C_M_AXI_IP_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="38" NAME="C_M_AXI_IP_ADDR_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="39" NAME="C_M_AXI_IP_PROTOCOL" TYPE="string" VALUE="AXI4LITE"/>
+        <PARAMETER MPD_INDEX="40" NAME="C_INTERCONNECT_M_AXI_IP_READ_ISSUING" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="41" NAME="C_D_AXI" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="42" NAME="C_D_PLB" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="43" NAME="C_D_LMB" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="44" NAME="C_I_AXI" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="45" NAME="C_I_PLB" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="46" NAME="C_I_LMB" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="47" NAME="C_USE_MSR_INSTR" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="48" NAME="C_USE_PCMP_INSTR" TYPE="integer" VALUE="1"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="49" NAME="C_USE_BARREL" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="50" NAME="C_USE_DIV" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="51" NAME="C_USE_HW_MUL" TYPE="integer" VALUE="1"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="4" MPD_INDEX="52" NAME="C_USE_FPU" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="53" NAME="C_UNALIGNED_EXCEPTIONS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="54" NAME="C_ILL_OPCODE_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="55" NAME="C_M_AXI_I_BUS_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="56" NAME="C_M_AXI_D_BUS_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="57" NAME="C_IPLB_BUS_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="58" NAME="C_DPLB_BUS_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="59" NAME="C_DIV_ZERO_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="60" NAME="C_FPU_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="61" NAME="C_FSL_EXCEPTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="62" NAME="C_USE_STACK_PROTECTION" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="63" NAME="C_PVR" TYPE="integer" VALUE="0"/>
+        <PARAMETER ENDIAN="BIG" LSB="7" MPD_INDEX="64" MSB="0" NAME="C_PVR_USER1" TYPE="std_logic_vector" VALUE="0x00"/>
+        <PARAMETER ENDIAN="BIG" LSB="31" MPD_INDEX="65" MSB="0" NAME="C_PVR_USER2" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="66" NAME="C_DEBUG_ENABLED" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="67" NAME="C_NUMBER_OF_PC_BRK" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="68" NAME="C_NUMBER_OF_RD_ADDR_BRK" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="69" NAME="C_NUMBER_OF_WR_ADDR_BRK" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="70" NAME="C_INTERRUPT_IS_EDGE" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="71" NAME="C_EDGE_IS_POSITIVE" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="72" NAME="C_RESET_MSR" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="73" NAME="C_OPCODE_0x0_ILLEGAL" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="74" NAME="C_FSL_LINKS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="75" NAME="C_FSL_DATA_SIZE" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="76" NAME="C_USE_EXTENDED_FSL_INSTR" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="77" NAME="C_M0_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="78" NAME="C_S0_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="79" NAME="C_M1_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="80" NAME="C_S1_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="81" NAME="C_M2_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="82" NAME="C_S2_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="83" NAME="C_M3_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="84" NAME="C_S3_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="85" NAME="C_M4_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="86" NAME="C_S4_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="87" NAME="C_M5_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="88" NAME="C_S5_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="89" NAME="C_M6_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="90" NAME="C_S6_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="91" NAME="C_M7_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="92" NAME="C_S7_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="93" NAME="C_M8_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="94" NAME="C_S8_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="95" NAME="C_M9_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="96" NAME="C_S9_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="97" NAME="C_M10_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="98" NAME="C_S10_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="99" NAME="C_M11_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="100" NAME="C_S11_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="101" NAME="C_M12_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="102" NAME="C_S12_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="103" NAME="C_M13_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="104" NAME="C_S13_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="105" NAME="C_M14_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="106" NAME="C_S14_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="107" NAME="C_M15_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="108" NAME="C_S15_AXIS_PROTOCOL" TYPE="string" VALUE="GENERIC"/>
+        <PARAMETER MPD_INDEX="109" NAME="C_M0_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="110" NAME="C_S0_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="111" NAME="C_M1_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="112" NAME="C_S1_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="113" NAME="C_M2_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="114" NAME="C_S2_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="115" NAME="C_M3_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="116" NAME="C_S3_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="117" NAME="C_M4_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="118" NAME="C_S4_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="119" NAME="C_M5_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="120" NAME="C_S5_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="121" NAME="C_M6_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="122" NAME="C_S6_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="123" NAME="C_M7_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="124" NAME="C_S7_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="125" NAME="C_M8_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="126" NAME="C_S8_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="127" NAME="C_M9_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="128" NAME="C_S9_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="129" NAME="C_M10_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="130" NAME="C_S10_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="131" NAME="C_M11_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="132" NAME="C_S11_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="133" NAME="C_M12_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="134" NAME="C_S12_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="135" NAME="C_M13_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="136" NAME="C_S13_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="137" NAME="C_M14_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="138" NAME="C_S14_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="139" NAME="C_M15_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="140" NAME="C_S15_AXIS_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER ADDRESS="NONE" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="6" MPD_INDEX="141" NAME="C_ICACHE_BASEADDR" TYPE="std_logic_vector" VALUE="0xc0000000"/>
+        <PARAMETER ADDRESS="NONE" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="7" MPD_INDEX="142" NAME="C_ICACHE_HIGHADDR" TYPE="std_logic_vector" VALUE="0xcfffffff"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="8" MPD_INDEX="143" NAME="C_USE_ICACHE" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="144" NAME="C_ALLOW_ICACHE_WR" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="145" NAME="C_ADDR_TAG_BITS" TYPE="integer" VALUE="17"/>
+        <PARAMETER MPD_INDEX="146" NAME="C_CACHE_BYTE_SIZE" TYPE="integer" VALUE="8192"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="147" NAME="C_ICACHE_USE_FSL" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="148" NAME="C_ICACHE_LINE_LEN" TYPE="integer" VALUE="4"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="9" MPD_INDEX="149" NAME="C_ICACHE_ALWAYS_USED" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="150" NAME="C_ICACHE_INTERFACE" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="151" NAME="C_ICACHE_VICTIMS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="152" NAME="C_ICACHE_STREAMS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="153" NAME="C_ICACHE_FORCE_TAG_LUTRAM" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="154" NAME="C_ICACHE_DATA_WIDTH" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="155" NAME="C_M_AXI_IC_SUPPORTS_THREADS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="156" NAME="C_M_AXI_IC_THREAD_ID_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="157" NAME="C_M_AXI_IC_SUPPORTS_READ" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="158" NAME="C_M_AXI_IC_SUPPORTS_WRITE" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="159" NAME="C_M_AXI_IC_SUPPORTS_NARROW_BURST" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="160" NAME="C_M_AXI_IC_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="161" NAME="C_M_AXI_IC_ADDR_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="162" NAME="C_M_AXI_IC_PROTOCOL" TYPE="string" VALUE="AXI4"/>
+        <PARAMETER MPD_INDEX="163" NAME="C_M_AXI_IC_USER_VALUE" TYPE="integer" VALUE="0b11111"/>
+        <PARAMETER MPD_INDEX="164" NAME="C_M_AXI_IC_SUPPORTS_USER_SIGNALS" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="165" NAME="C_M_AXI_IC_AWUSER_WIDTH" TYPE="integer" VALUE="5"/>
+        <PARAMETER MPD_INDEX="166" NAME="C_M_AXI_IC_ARUSER_WIDTH" TYPE="integer" VALUE="5"/>
+        <PARAMETER MPD_INDEX="167" NAME="C_M_AXI_IC_WUSER_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="168" NAME="C_M_AXI_IC_RUSER_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="169" NAME="C_M_AXI_IC_BUSER_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="170" NAME="C_INTERCONNECT_M_AXI_IC_READ_ISSUING" TYPE="integer" VALUE="2"/>
+        <PARAMETER ADDRESS="NONE" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="10" MPD_INDEX="171" NAME="C_DCACHE_BASEADDR" TYPE="std_logic_vector" VALUE="0xc0000000"/>
+        <PARAMETER ADDRESS="NONE" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="11" MPD_INDEX="172" NAME="C_DCACHE_HIGHADDR" TYPE="std_logic_vector" VALUE="0xcfffffff"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="12" MPD_INDEX="173" NAME="C_USE_DCACHE" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="174" NAME="C_ALLOW_DCACHE_WR" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="175" NAME="C_DCACHE_ADDR_TAG" TYPE="integer" VALUE="17"/>
+        <PARAMETER MPD_INDEX="176" NAME="C_DCACHE_BYTE_SIZE" TYPE="integer" VALUE="8192"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="177" NAME="C_DCACHE_USE_FSL" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="178" NAME="C_DCACHE_LINE_LEN" TYPE="integer" VALUE="4"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="13" MPD_INDEX="179" NAME="C_DCACHE_ALWAYS_USED" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="180" NAME="C_DCACHE_INTERFACE" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="181" NAME="C_DCACHE_USE_WRITEBACK" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="182" NAME="C_DCACHE_VICTIMS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="183" NAME="C_DCACHE_FORCE_TAG_LUTRAM" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="184" NAME="C_DCACHE_DATA_WIDTH" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="185" NAME="C_M_AXI_DC_SUPPORTS_THREADS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="186" NAME="C_M_AXI_DC_THREAD_ID_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="187" NAME="C_M_AXI_DC_SUPPORTS_READ" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="188" NAME="C_M_AXI_DC_SUPPORTS_WRITE" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="189" NAME="C_M_AXI_DC_SUPPORTS_NARROW_BURST" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="190" NAME="C_M_AXI_DC_DATA_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="191" NAME="C_M_AXI_DC_ADDR_WIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="192" NAME="C_M_AXI_DC_PROTOCOL" TYPE="string" VALUE="AXI4"/>
+        <PARAMETER MPD_INDEX="193" NAME="C_M_AXI_DC_EXCLUSIVE_ACCESS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="194" NAME="C_M_AXI_DC_USER_VALUE" TYPE="integer" VALUE="0b11111"/>
+        <PARAMETER MPD_INDEX="195" NAME="C_M_AXI_DC_SUPPORTS_USER_SIGNALS" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="196" NAME="C_M_AXI_DC_AWUSER_WIDTH" TYPE="integer" VALUE="5"/>
+        <PARAMETER MPD_INDEX="197" NAME="C_M_AXI_DC_ARUSER_WIDTH" TYPE="integer" VALUE="5"/>
+        <PARAMETER MPD_INDEX="198" NAME="C_M_AXI_DC_WUSER_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="199" NAME="C_M_AXI_DC_RUSER_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="200" NAME="C_M_AXI_DC_BUSER_WIDTH" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="201" NAME="C_INTERCONNECT_M_AXI_DC_READ_ISSUING" TYPE="integer" VALUE="2"/>
+        <PARAMETER MPD_INDEX="202" NAME="C_INTERCONNECT_M_AXI_DC_WRITE_ISSUING" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="203" NAME="C_USE_MMU" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="204" NAME="C_MMU_DTLB_SIZE" TYPE="integer" VALUE="4"/>
+        <PARAMETER MPD_INDEX="205" NAME="C_MMU_ITLB_SIZE" TYPE="integer" VALUE="2"/>
+        <PARAMETER MPD_INDEX="206" NAME="C_MMU_TLB_ACCESS" TYPE="integer" VALUE="3"/>
+        <PARAMETER MPD_INDEX="207" NAME="C_MMU_ZONES" TYPE="integer" VALUE="16"/>
+        <PARAMETER MPD_INDEX="208" NAME="C_MMU_PRIVILEGED_INSTR" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="209" NAME="C_USE_INTERRUPT" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="210" NAME="C_USE_EXT_BRK" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="211" NAME="C_USE_EXT_NM_BRK" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="212" NAME="C_USE_BRANCH_TARGET_CACHE" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="213" NAME="C_BRANCH_TARGET_CACHE_SIZE" TYPE="integer" VALUE="0"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="14" NAME="C_INTERCONNECT_M_AXI_DC_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="15" NAME="C_INTERCONNECT_M_AXI_DC_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="16" NAME="C_INTERCONNECT_M_AXI_DP_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="17" NAME="C_INTERCONNECT_M_AXI_DP_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="18" NAME="C_INTERCONNECT_M_AXI_DP_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="19" NAME="C_INTERCONNECT_M_AXI_DP_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="20" NAME="C_INTERCONNECT_M_AXI_DP_B_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="21" NAME="C_INTERCONNECT_M_AXI_DC_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="22" NAME="C_INTERCONNECT_M_AXI_DC_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="23" NAME="C_INTERCONNECT_M_AXI_DC_B_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="24" NAME="C_INTERCONNECT_M_AXI_IC_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="25" NAME="C_INTERCONNECT_M_AXI_IC_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="26" NAME="C_INTERCONNECT_M_AXI_IC_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="27" NAME="C_INTERCONNECT_M_AXI_IC_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="28" NAME="C_INTERCONNECT_M_AXI_IC_B_REGISTER" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="2" NAME="MB_RESET" SIGIS="RST" SIGNAME="proc_sys_reset_0_MB_Reset"/>
+        <PORT BUS="DPLB:IPLB:DLMB:ILMB:M_AXI_DP:M_AXI_IP:M_AXI_DC:M_AXI_IC" CLKFREQUENCY="100000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="CLK" SIGIS="CLK" SIGNAME="clk_100_0000MHzPLL0"/>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="3" NAME="INTERRUPT" SENSITIVITY="LEVEL_HIGH" SIGIS="INTERRUPT" SIGNAME="microblaze_0_interrupt"/>
+        <PORT BUS="DLMB:ILMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_Rst" DIR="I" MPD_INDEX="1" NAME="RESET" SIGIS="RST" SIGNAME="microblaze_0_dlmb_LMB_Rst"/>
+        <PORT DEF_SIGNAME="Ext_BRK" DIR="I" MPD_INDEX="4" NAME="EXT_BRK" SIGNAME="Ext_BRK"/>
+        <PORT DEF_SIGNAME="Ext_NM_BRK" DIR="I" MPD_INDEX="5" NAME="EXT_NM_BRK" SIGNAME="Ext_NM_BRK"/>
+        <PORT DIR="I" MPD_INDEX="6" NAME="DBG_STOP" SIGNAME="__NOC__"/>
+        <PORT DIR="O" MPD_INDEX="7" NAME="MB_Halted" SIGNAME="__NOC__"/>
+        <PORT DIR="O" MPD_INDEX="8" NAME="MB_Error" SIGNAME="__NOC__"/>
+        <PORT BUS="ILMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_ReadDBus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="9" MSB="0" NAME="INSTR" RIGHT="31" SIGNAME="microblaze_0_ilmb_LMB_ReadDBus" VECFORMULA="[0:31]"/>
+        <PORT BUS="ILMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_Ready" DIR="I" MPD_INDEX="10" NAME="IREADY" SIGNAME="microblaze_0_ilmb_LMB_Ready"/>
+        <PORT BUS="ILMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_Wait" DIR="I" MPD_INDEX="11" NAME="IWAIT" SIGNAME="microblaze_0_ilmb_LMB_Wait"/>
+        <PORT BUS="ILMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_CE" DIR="I" MPD_INDEX="12" NAME="ICE" SIGNAME="microblaze_0_ilmb_LMB_CE"/>
+        <PORT BUS="ILMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_UE" DIR="I" MPD_INDEX="13" NAME="IUE" SIGNAME="microblaze_0_ilmb_LMB_UE"/>
+        <PORT BUS="ILMB" DEF_SIGNAME="microblaze_0_ilmb_M_ABus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="14" MSB="0" NAME="INSTR_ADDR" RIGHT="31" SIGNAME="microblaze_0_ilmb_M_ABus" VECFORMULA="[0:31]"/>
+        <PORT BUS="ILMB" DEF_SIGNAME="microblaze_0_ilmb_M_ReadStrobe" DIR="O" MPD_INDEX="15" NAME="IFETCH" SIGNAME="microblaze_0_ilmb_M_ReadStrobe"/>
+        <PORT BUS="ILMB" DEF_SIGNAME="microblaze_0_ilmb_M_AddrStrobe" DIR="O" MPD_INDEX="16" NAME="I_AS" SIGNAME="microblaze_0_ilmb_M_AddrStrobe"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="17" NAME="IPLB_M_ABort" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="18" MSB="0" NAME="IPLB_M_ABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="19" MSB="0" NAME="IPLB_M_UABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="20" MSB="0" NAME="IPLB_M_BE" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:(C_IPLB_DWIDTH-1)/8]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="21" NAME="IPLB_M_busLock" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="22" NAME="IPLB_M_lockErr" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="23" MSB="0" NAME="IPLB_M_MSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="24" MSB="0" NAME="IPLB_M_priority" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="25" NAME="IPLB_M_rdBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="26" NAME="IPLB_M_request" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="27" NAME="IPLB_M_RNW" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="28" MSB="0" NAME="IPLB_M_size" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="15" MPD_INDEX="29" MSB="0" NAME="IPLB_M_TAttribute" RIGHT="15" SIGNAME="__NOC__" VECFORMULA="[0:15]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="2" MPD_INDEX="30" MSB="0" NAME="IPLB_M_type" RIGHT="2" SIGNAME="__NOC__" VECFORMULA="[0:2]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="31" NAME="IPLB_M_wrBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="32" MSB="0" NAME="IPLB_M_wrDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_IPLB_DWIDTH-1]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="33" NAME="IPLB_MBusy" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="34" NAME="IPLB_MRdErr" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="35" NAME="IPLB_MWrErr" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="36" NAME="IPLB_MIRQ" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="37" NAME="IPLB_MWrBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="38" NAME="IPLB_MWrDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="39" NAME="IPLB_MAddrAck" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="40" NAME="IPLB_MRdBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="41" NAME="IPLB_MRdDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="42" MSB="0" NAME="IPLB_MRdDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_IPLB_DWIDTH-1]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="43" MSB="0" NAME="IPLB_MRdWdAddr" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="44" NAME="IPLB_MRearbitrate" SIGNAME="__NOC__"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="45" MSB="0" NAME="IPLB_MSSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="IPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="46" NAME="IPLB_MTimeout" SIGNAME="__NOC__"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_ReadDBus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="47" MSB="0" NAME="DATA_READ" RIGHT="31" SIGNAME="microblaze_0_dlmb_LMB_ReadDBus" VECFORMULA="[0:31]"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_Ready" DIR="I" MPD_INDEX="48" NAME="DREADY" SIGNAME="microblaze_0_dlmb_LMB_Ready"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_Wait" DIR="I" MPD_INDEX="49" NAME="DWAIT" SIGNAME="microblaze_0_dlmb_LMB_Wait"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_CE" DIR="I" MPD_INDEX="50" NAME="DCE" SIGNAME="microblaze_0_dlmb_LMB_CE"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_UE" DIR="I" MPD_INDEX="51" NAME="DUE" SIGNAME="microblaze_0_dlmb_LMB_UE"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_M_DBus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="52" MSB="0" NAME="DATA_WRITE" RIGHT="31" SIGNAME="microblaze_0_dlmb_M_DBus" VECFORMULA="[0:31]"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_M_ABus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="53" MSB="0" NAME="DATA_ADDR" RIGHT="31" SIGNAME="microblaze_0_dlmb_M_ABus" VECFORMULA="[0:31]"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_M_AddrStrobe" DIR="O" MPD_INDEX="54" NAME="D_AS" SIGNAME="microblaze_0_dlmb_M_AddrStrobe"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_M_ReadStrobe" DIR="O" MPD_INDEX="55" NAME="READ_STROBE" SIGNAME="microblaze_0_dlmb_M_ReadStrobe"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_M_WriteStrobe" DIR="O" MPD_INDEX="56" NAME="WRITE_STROBE" SIGNAME="microblaze_0_dlmb_M_WriteStrobe"/>
+        <PORT BUS="DLMB" DEF_SIGNAME="microblaze_0_dlmb_M_BE" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="57" MSB="0" NAME="BYTE_ENABLE" RIGHT="3" SIGNAME="microblaze_0_dlmb_M_BE" VECFORMULA="[0:3]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="58" NAME="DPLB_M_ABort" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="59" MSB="0" NAME="DPLB_M_ABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="60" MSB="0" NAME="DPLB_M_UABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="61" MSB="0" NAME="DPLB_M_BE" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:(C_DPLB_DWIDTH-1)/8]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="62" NAME="DPLB_M_busLock" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="63" NAME="DPLB_M_lockErr" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="64" MSB="0" NAME="DPLB_M_MSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="65" MSB="0" NAME="DPLB_M_priority" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="66" NAME="DPLB_M_rdBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="67" NAME="DPLB_M_request" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="68" NAME="DPLB_M_RNW" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="69" MSB="0" NAME="DPLB_M_size" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="15" MPD_INDEX="70" MSB="0" NAME="DPLB_M_TAttribute" RIGHT="15" SIGNAME="__NOC__" VECFORMULA="[0:15]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="2" MPD_INDEX="71" MSB="0" NAME="DPLB_M_type" RIGHT="2" SIGNAME="__NOC__" VECFORMULA="[0:2]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="72" NAME="DPLB_M_wrBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="73" MSB="0" NAME="DPLB_M_wrDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_DPLB_DWIDTH-1]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="74" NAME="DPLB_MBusy" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="75" NAME="DPLB_MRdErr" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="76" NAME="DPLB_MWrErr" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="77" NAME="DPLB_MIRQ" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="78" NAME="DPLB_MWrBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="79" NAME="DPLB_MWrDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="80" NAME="DPLB_MAddrAck" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="81" NAME="DPLB_MRdBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="82" NAME="DPLB_MRdDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="83" MSB="0" NAME="DPLB_MRdDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_DPLB_DWIDTH-1]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="84" MSB="0" NAME="DPLB_MRdWdAddr" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="85" NAME="DPLB_MRearbitrate" SIGNAME="__NOC__"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="86" MSB="0" NAME="DPLB_MSSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="DPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="87" NAME="DPLB_MTimeout" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="88" NAME="M_AXI_IP_AWID" SIGNAME="__NOC__" VECFORMULA="[(C_M_AXI_IP_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="89" MSB="31" NAME="M_AXI_IP_AWADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_M_AXI_IP_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="90" MSB="7" NAME="M_AXI_IP_AWLEN" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[7:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="91" MSB="2" NAME="M_AXI_IP_AWSIZE" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="92" MSB="1" NAME="M_AXI_IP_AWBURST" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="93" NAME="M_AXI_IP_AWLOCK" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="94" MSB="3" NAME="M_AXI_IP_AWCACHE" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="95" MSB="2" NAME="M_AXI_IP_AWPROT" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="96" MSB="3" NAME="M_AXI_IP_AWQOS" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="97" NAME="M_AXI_IP_AWVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="98" NAME="M_AXI_IP_AWREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="99" MSB="31" NAME="M_AXI_IP_WDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_M_AXI_IP_DATA_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="100" MSB="3" NAME="M_AXI_IP_WSTRB" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[((C_M_AXI_IP_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="101" NAME="M_AXI_IP_WLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="102" NAME="M_AXI_IP_WVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="103" NAME="M_AXI_IP_WREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="104" NAME="M_AXI_IP_BID" SIGNAME="__NOC__" VECFORMULA="[(C_M_AXI_IP_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="105" MSB="1" NAME="M_AXI_IP_BRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="106" NAME="M_AXI_IP_BVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="107" NAME="M_AXI_IP_BREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="108" NAME="M_AXI_IP_ARID" SIGNAME="__NOC__" VECFORMULA="[(C_M_AXI_IP_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="109" MSB="31" NAME="M_AXI_IP_ARADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_M_AXI_IP_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="110" MSB="7" NAME="M_AXI_IP_ARLEN" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[7:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="111" MSB="2" NAME="M_AXI_IP_ARSIZE" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="112" MSB="1" NAME="M_AXI_IP_ARBURST" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="113" NAME="M_AXI_IP_ARLOCK" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="114" MSB="3" NAME="M_AXI_IP_ARCACHE" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="115" MSB="2" NAME="M_AXI_IP_ARPROT" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="116" MSB="3" NAME="M_AXI_IP_ARQOS" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="117" NAME="M_AXI_IP_ARVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="118" NAME="M_AXI_IP_ARREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="119" NAME="M_AXI_IP_RID" SIGNAME="__NOC__" VECFORMULA="[(C_M_AXI_IP_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="120" MSB="31" NAME="M_AXI_IP_RDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_M_AXI_IP_DATA_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="121" MSB="1" NAME="M_AXI_IP_RRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="122" NAME="M_AXI_IP_RLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="123" NAME="M_AXI_IP_RVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_IP" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="124" NAME="M_AXI_IP_RREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWID" DIR="O" MPD_INDEX="125" NAME="M_AXI_DP_AWID" SIGNAME="axi4lite_0_S_AWID" VECFORMULA="[(C_M_AXI_DP_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWADDR" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="126" MSB="31" NAME="M_AXI_DP_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_S_AWADDR" VECFORMULA="[(C_M_AXI_DP_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWLEN" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="127" MSB="7" NAME="M_AXI_DP_AWLEN" RIGHT="0" SIGNAME="axi4lite_0_S_AWLEN" VECFORMULA="[7:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWSIZE" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="128" MSB="2" NAME="M_AXI_DP_AWSIZE" RIGHT="0" SIGNAME="axi4lite_0_S_AWSIZE" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWBURST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="129" MSB="1" NAME="M_AXI_DP_AWBURST" RIGHT="0" SIGNAME="axi4lite_0_S_AWBURST" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWLOCK" DIR="O" MPD_INDEX="130" NAME="M_AXI_DP_AWLOCK" SIGNAME="axi4lite_0_S_AWLOCK"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWCACHE" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="131" MSB="3" NAME="M_AXI_DP_AWCACHE" RIGHT="0" SIGNAME="axi4lite_0_S_AWCACHE" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWPROT" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="132" MSB="2" NAME="M_AXI_DP_AWPROT" RIGHT="0" SIGNAME="axi4lite_0_S_AWPROT" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWQOS" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="133" MSB="3" NAME="M_AXI_DP_AWQOS" RIGHT="0" SIGNAME="axi4lite_0_S_AWQOS" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWVALID" DIR="O" MPD_INDEX="134" NAME="M_AXI_DP_AWVALID" SIGNAME="axi4lite_0_S_AWVALID"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_AWREADY" DIR="I" MPD_INDEX="135" NAME="M_AXI_DP_AWREADY" SIGNAME="axi4lite_0_S_AWREADY"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_WDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="136" MSB="31" NAME="M_AXI_DP_WDATA" RIGHT="0" SIGNAME="axi4lite_0_S_WDATA" VECFORMULA="[(C_M_AXI_DP_DATA_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_WSTRB" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="137" MSB="3" NAME="M_AXI_DP_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_S_WSTRB" VECFORMULA="[((C_M_AXI_DP_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_WLAST" DIR="O" MPD_INDEX="138" NAME="M_AXI_DP_WLAST" SIGNAME="axi4lite_0_S_WLAST"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_WVALID" DIR="O" MPD_INDEX="139" NAME="M_AXI_DP_WVALID" SIGNAME="axi4lite_0_S_WVALID"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_WREADY" DIR="I" MPD_INDEX="140" NAME="M_AXI_DP_WREADY" SIGNAME="axi4lite_0_S_WREADY"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_BID" DIR="I" MPD_INDEX="141" NAME="M_AXI_DP_BID" SIGNAME="axi4lite_0_S_BID" VECFORMULA="[(C_M_AXI_DP_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_BRESP" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="142" MSB="1" NAME="M_AXI_DP_BRESP" RIGHT="0" SIGNAME="axi4lite_0_S_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_BVALID" DIR="I" MPD_INDEX="143" NAME="M_AXI_DP_BVALID" SIGNAME="axi4lite_0_S_BVALID"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_BREADY" DIR="O" MPD_INDEX="144" NAME="M_AXI_DP_BREADY" SIGNAME="axi4lite_0_S_BREADY"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARID" DIR="O" MPD_INDEX="145" NAME="M_AXI_DP_ARID" SIGNAME="axi4lite_0_S_ARID" VECFORMULA="[(C_M_AXI_DP_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARADDR" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="146" MSB="31" NAME="M_AXI_DP_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_S_ARADDR" VECFORMULA="[(C_M_AXI_DP_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARLEN" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="147" MSB="7" NAME="M_AXI_DP_ARLEN" RIGHT="0" SIGNAME="axi4lite_0_S_ARLEN" VECFORMULA="[7:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARSIZE" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="148" MSB="2" NAME="M_AXI_DP_ARSIZE" RIGHT="0" SIGNAME="axi4lite_0_S_ARSIZE" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARBURST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="149" MSB="1" NAME="M_AXI_DP_ARBURST" RIGHT="0" SIGNAME="axi4lite_0_S_ARBURST" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARLOCK" DIR="O" MPD_INDEX="150" NAME="M_AXI_DP_ARLOCK" SIGNAME="axi4lite_0_S_ARLOCK"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARCACHE" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="151" MSB="3" NAME="M_AXI_DP_ARCACHE" RIGHT="0" SIGNAME="axi4lite_0_S_ARCACHE" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARPROT" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="152" MSB="2" NAME="M_AXI_DP_ARPROT" RIGHT="0" SIGNAME="axi4lite_0_S_ARPROT" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARQOS" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="153" MSB="3" NAME="M_AXI_DP_ARQOS" RIGHT="0" SIGNAME="axi4lite_0_S_ARQOS" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARVALID" DIR="O" MPD_INDEX="154" NAME="M_AXI_DP_ARVALID" SIGNAME="axi4lite_0_S_ARVALID"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_ARREADY" DIR="I" MPD_INDEX="155" NAME="M_AXI_DP_ARREADY" SIGNAME="axi4lite_0_S_ARREADY"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_RID" DIR="I" MPD_INDEX="156" NAME="M_AXI_DP_RID" SIGNAME="axi4lite_0_S_RID" VECFORMULA="[(C_M_AXI_DP_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_RDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="157" MSB="31" NAME="M_AXI_DP_RDATA" RIGHT="0" SIGNAME="axi4lite_0_S_RDATA" VECFORMULA="[(C_M_AXI_DP_DATA_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_RRESP" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="158" MSB="1" NAME="M_AXI_DP_RRESP" RIGHT="0" SIGNAME="axi4lite_0_S_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_RLAST" DIR="I" MPD_INDEX="159" NAME="M_AXI_DP_RLAST" SIGNAME="axi4lite_0_S_RLAST"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_RVALID" DIR="I" MPD_INDEX="160" NAME="M_AXI_DP_RVALID" SIGNAME="axi4lite_0_S_RVALID"/>
+        <PORT BUS="M_AXI_DP" DEF_SIGNAME="axi4lite_0_S_RREADY" DIR="O" MPD_INDEX="161" NAME="M_AXI_DP_RREADY" SIGNAME="axi4lite_0_S_RREADY"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWID" DIR="O" MPD_INDEX="162" NAME="M_AXI_IC_AWID" SIGNAME="axi4_0_S_AWID" VECFORMULA="[(C_M_AXI_IC_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWADDR" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="163" MSB="31" NAME="M_AXI_IC_AWADDR" RIGHT="0" SIGNAME="axi4_0_S_AWADDR" VECFORMULA="[(C_M_AXI_IC_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWLEN" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="164" MSB="7" NAME="M_AXI_IC_AWLEN" RIGHT="0" SIGNAME="axi4_0_S_AWLEN" VECFORMULA="[7:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWSIZE" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="165" MSB="2" NAME="M_AXI_IC_AWSIZE" RIGHT="0" SIGNAME="axi4_0_S_AWSIZE" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWBURST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="166" MSB="1" NAME="M_AXI_IC_AWBURST" RIGHT="0" SIGNAME="axi4_0_S_AWBURST" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWLOCK" DIR="O" MPD_INDEX="167" NAME="M_AXI_IC_AWLOCK" SIGNAME="axi4_0_S_AWLOCK"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWCACHE" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="168" MSB="3" NAME="M_AXI_IC_AWCACHE" RIGHT="0" SIGNAME="axi4_0_S_AWCACHE" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWPROT" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="169" MSB="2" NAME="M_AXI_IC_AWPROT" RIGHT="0" SIGNAME="axi4_0_S_AWPROT" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWQOS" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="170" MSB="3" NAME="M_AXI_IC_AWQOS" RIGHT="0" SIGNAME="axi4_0_S_AWQOS" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWVALID" DIR="O" MPD_INDEX="171" NAME="M_AXI_IC_AWVALID" SIGNAME="axi4_0_S_AWVALID"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWREADY" DIR="I" MPD_INDEX="172" NAME="M_AXI_IC_AWREADY" SIGNAME="axi4_0_S_AWREADY"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_AWUSER" DIR="O" ENDIAN="LITTLE" LEFT="4" LSB="0" MPD_INDEX="173" MSB="4" NAME="M_AXI_IC_AWUSER" RIGHT="0" SIGNAME="axi4_0_S_AWUSER" VECFORMULA="[(C_M_AXI_IC_AWUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_WDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="174" MSB="31" NAME="M_AXI_IC_WDATA" RIGHT="0" SIGNAME="axi4_0_S_WDATA" VECFORMULA="[(C_M_AXI_IC_DATA_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_WSTRB" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="175" MSB="3" NAME="M_AXI_IC_WSTRB" RIGHT="0" SIGNAME="axi4_0_S_WSTRB" VECFORMULA="[((C_M_AXI_IC_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_WLAST" DIR="O" MPD_INDEX="176" NAME="M_AXI_IC_WLAST" SIGNAME="axi4_0_S_WLAST"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_WVALID" DIR="O" MPD_INDEX="177" NAME="M_AXI_IC_WVALID" SIGNAME="axi4_0_S_WVALID"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_WREADY" DIR="I" MPD_INDEX="178" NAME="M_AXI_IC_WREADY" SIGNAME="axi4_0_S_WREADY"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_WUSER" DIR="O" MPD_INDEX="179" NAME="M_AXI_IC_WUSER" SIGNAME="axi4_0_S_WUSER" VECFORMULA="[(C_M_AXI_IC_WUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_BID" DIR="I" MPD_INDEX="180" NAME="M_AXI_IC_BID" SIGNAME="axi4_0_S_BID" VECFORMULA="[(C_M_AXI_IC_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_BRESP" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="181" MSB="1" NAME="M_AXI_IC_BRESP" RIGHT="0" SIGNAME="axi4_0_S_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_BVALID" DIR="I" MPD_INDEX="182" NAME="M_AXI_IC_BVALID" SIGNAME="axi4_0_S_BVALID"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_BREADY" DIR="O" MPD_INDEX="183" NAME="M_AXI_IC_BREADY" SIGNAME="axi4_0_S_BREADY"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_BUSER" DIR="I" MPD_INDEX="184" NAME="M_AXI_IC_BUSER" SIGNAME="axi4_0_S_BUSER" VECFORMULA="[(C_M_AXI_IC_BUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARID" DIR="O" MPD_INDEX="185" NAME="M_AXI_IC_ARID" SIGNAME="axi4_0_S_ARID" VECFORMULA="[(C_M_AXI_IC_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARADDR" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="186" MSB="31" NAME="M_AXI_IC_ARADDR" RIGHT="0" SIGNAME="axi4_0_S_ARADDR" VECFORMULA="[(C_M_AXI_IC_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARLEN" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="187" MSB="7" NAME="M_AXI_IC_ARLEN" RIGHT="0" SIGNAME="axi4_0_S_ARLEN" VECFORMULA="[7:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARSIZE" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="188" MSB="2" NAME="M_AXI_IC_ARSIZE" RIGHT="0" SIGNAME="axi4_0_S_ARSIZE" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARBURST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="189" MSB="1" NAME="M_AXI_IC_ARBURST" RIGHT="0" SIGNAME="axi4_0_S_ARBURST" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARLOCK" DIR="O" MPD_INDEX="190" NAME="M_AXI_IC_ARLOCK" SIGNAME="axi4_0_S_ARLOCK"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARCACHE" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="191" MSB="3" NAME="M_AXI_IC_ARCACHE" RIGHT="0" SIGNAME="axi4_0_S_ARCACHE" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARPROT" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="192" MSB="2" NAME="M_AXI_IC_ARPROT" RIGHT="0" SIGNAME="axi4_0_S_ARPROT" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARQOS" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="193" MSB="3" NAME="M_AXI_IC_ARQOS" RIGHT="0" SIGNAME="axi4_0_S_ARQOS" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARVALID" DIR="O" MPD_INDEX="194" NAME="M_AXI_IC_ARVALID" SIGNAME="axi4_0_S_ARVALID"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARREADY" DIR="I" MPD_INDEX="195" NAME="M_AXI_IC_ARREADY" SIGNAME="axi4_0_S_ARREADY"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_ARUSER" DIR="O" ENDIAN="LITTLE" LEFT="4" LSB="0" MPD_INDEX="196" MSB="4" NAME="M_AXI_IC_ARUSER" RIGHT="0" SIGNAME="axi4_0_S_ARUSER" VECFORMULA="[(C_M_AXI_IC_ARUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_RID" DIR="I" MPD_INDEX="197" NAME="M_AXI_IC_RID" SIGNAME="axi4_0_S_RID" VECFORMULA="[(C_M_AXI_IC_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_RDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="198" MSB="31" NAME="M_AXI_IC_RDATA" RIGHT="0" SIGNAME="axi4_0_S_RDATA" VECFORMULA="[(C_M_AXI_IC_DATA_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_RRESP" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="199" MSB="1" NAME="M_AXI_IC_RRESP" RIGHT="0" SIGNAME="axi4_0_S_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_RLAST" DIR="I" MPD_INDEX="200" NAME="M_AXI_IC_RLAST" SIGNAME="axi4_0_S_RLAST"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_RVALID" DIR="I" MPD_INDEX="201" NAME="M_AXI_IC_RVALID" SIGNAME="axi4_0_S_RVALID"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_RREADY" DIR="O" MPD_INDEX="202" NAME="M_AXI_IC_RREADY" SIGNAME="axi4_0_S_RREADY"/>
+        <PORT BUS="M_AXI_IC" DEF_SIGNAME="axi4_0_S_RUSER" DIR="I" MPD_INDEX="203" NAME="M_AXI_IC_RUSER" SIGNAME="axi4_0_S_RUSER" VECFORMULA="[(C_M_AXI_IC_RUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWID" DIR="O" MPD_INDEX="204" NAME="M_AXI_DC_AWID" SIGNAME="axi4_0_S_AWID" VECFORMULA="[(C_M_AXI_DC_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWADDR" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="205" MSB="31" NAME="M_AXI_DC_AWADDR" RIGHT="0" SIGNAME="axi4_0_S_AWADDR" VECFORMULA="[(C_M_AXI_DC_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWLEN" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="206" MSB="7" NAME="M_AXI_DC_AWLEN" RIGHT="0" SIGNAME="axi4_0_S_AWLEN" VECFORMULA="[7:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWSIZE" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="207" MSB="2" NAME="M_AXI_DC_AWSIZE" RIGHT="0" SIGNAME="axi4_0_S_AWSIZE" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWBURST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="208" MSB="1" NAME="M_AXI_DC_AWBURST" RIGHT="0" SIGNAME="axi4_0_S_AWBURST" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWLOCK" DIR="O" MPD_INDEX="209" NAME="M_AXI_DC_AWLOCK" SIGNAME="axi4_0_S_AWLOCK"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWCACHE" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="210" MSB="3" NAME="M_AXI_DC_AWCACHE" RIGHT="0" SIGNAME="axi4_0_S_AWCACHE" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWPROT" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="211" MSB="2" NAME="M_AXI_DC_AWPROT" RIGHT="0" SIGNAME="axi4_0_S_AWPROT" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWQOS" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="212" MSB="3" NAME="M_AXI_DC_AWQOS" RIGHT="0" SIGNAME="axi4_0_S_AWQOS" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWVALID" DIR="O" MPD_INDEX="213" NAME="M_AXI_DC_AWVALID" SIGNAME="axi4_0_S_AWVALID"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWREADY" DIR="I" MPD_INDEX="214" NAME="M_AXI_DC_AWREADY" SIGNAME="axi4_0_S_AWREADY"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_AWUSER" DIR="O" ENDIAN="LITTLE" LEFT="4" LSB="0" MPD_INDEX="215" MSB="4" NAME="M_AXI_DC_AWUSER" RIGHT="0" SIGNAME="axi4_0_S_AWUSER" VECFORMULA="[(C_M_AXI_DC_AWUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_WDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="216" MSB="31" NAME="M_AXI_DC_WDATA" RIGHT="0" SIGNAME="axi4_0_S_WDATA" VECFORMULA="[(C_M_AXI_DC_DATA_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_WSTRB" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="217" MSB="3" NAME="M_AXI_DC_WSTRB" RIGHT="0" SIGNAME="axi4_0_S_WSTRB" VECFORMULA="[((C_M_AXI_DC_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_WLAST" DIR="O" MPD_INDEX="218" NAME="M_AXI_DC_WLAST" SIGNAME="axi4_0_S_WLAST"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_WVALID" DIR="O" MPD_INDEX="219" NAME="M_AXI_DC_WVALID" SIGNAME="axi4_0_S_WVALID"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_WREADY" DIR="I" MPD_INDEX="220" NAME="M_AXI_DC_WREADY" SIGNAME="axi4_0_S_WREADY"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_WUSER" DIR="O" MPD_INDEX="221" NAME="M_AXI_DC_WUSER" SIGNAME="axi4_0_S_WUSER" VECFORMULA="[(C_M_AXI_DC_WUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_BID" DIR="I" MPD_INDEX="222" NAME="M_AXI_DC_BID" SIGNAME="axi4_0_S_BID" VECFORMULA="[(C_M_AXI_DC_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_BRESP" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="223" MSB="1" NAME="M_AXI_DC_BRESP" RIGHT="0" SIGNAME="axi4_0_S_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_BVALID" DIR="I" MPD_INDEX="224" NAME="M_AXI_DC_BVALID" SIGNAME="axi4_0_S_BVALID"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_BREADY" DIR="O" MPD_INDEX="225" NAME="M_AXI_DC_BREADY" SIGNAME="axi4_0_S_BREADY"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_BUSER" DIR="I" MPD_INDEX="226" NAME="M_AXI_DC_BUSER" SIGNAME="axi4_0_S_BUSER" VECFORMULA="[(C_M_AXI_DC_BUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARID" DIR="O" MPD_INDEX="227" NAME="M_AXI_DC_ARID" SIGNAME="axi4_0_S_ARID" VECFORMULA="[(C_M_AXI_DC_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARADDR" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="228" MSB="31" NAME="M_AXI_DC_ARADDR" RIGHT="0" SIGNAME="axi4_0_S_ARADDR" VECFORMULA="[(C_M_AXI_DC_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARLEN" DIR="O" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="229" MSB="7" NAME="M_AXI_DC_ARLEN" RIGHT="0" SIGNAME="axi4_0_S_ARLEN" VECFORMULA="[7:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARSIZE" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="230" MSB="2" NAME="M_AXI_DC_ARSIZE" RIGHT="0" SIGNAME="axi4_0_S_ARSIZE" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARBURST" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="231" MSB="1" NAME="M_AXI_DC_ARBURST" RIGHT="0" SIGNAME="axi4_0_S_ARBURST" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARLOCK" DIR="O" MPD_INDEX="232" NAME="M_AXI_DC_ARLOCK" SIGNAME="axi4_0_S_ARLOCK"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARCACHE" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="233" MSB="3" NAME="M_AXI_DC_ARCACHE" RIGHT="0" SIGNAME="axi4_0_S_ARCACHE" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARPROT" DIR="O" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="234" MSB="2" NAME="M_AXI_DC_ARPROT" RIGHT="0" SIGNAME="axi4_0_S_ARPROT" VECFORMULA="[2:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARQOS" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="235" MSB="3" NAME="M_AXI_DC_ARQOS" RIGHT="0" SIGNAME="axi4_0_S_ARQOS" VECFORMULA="[3:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARVALID" DIR="O" MPD_INDEX="236" NAME="M_AXI_DC_ARVALID" SIGNAME="axi4_0_S_ARVALID"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARREADY" DIR="I" MPD_INDEX="237" NAME="M_AXI_DC_ARREADY" SIGNAME="axi4_0_S_ARREADY"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_ARUSER" DIR="O" ENDIAN="LITTLE" LEFT="4" LSB="0" MPD_INDEX="238" MSB="4" NAME="M_AXI_DC_ARUSER" RIGHT="0" SIGNAME="axi4_0_S_ARUSER" VECFORMULA="[(C_M_AXI_DC_ARUSER_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_RID" DIR="I" MPD_INDEX="239" NAME="M_AXI_DC_RID" SIGNAME="axi4_0_S_RID" VECFORMULA="[(C_M_AXI_DC_THREAD_ID_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_RDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="240" MSB="31" NAME="M_AXI_DC_RDATA" RIGHT="0" SIGNAME="axi4_0_S_RDATA" VECFORMULA="[(C_M_AXI_DC_DATA_WIDTH-1):0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_RRESP" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="241" MSB="1" NAME="M_AXI_DC_RRESP" RIGHT="0" SIGNAME="axi4_0_S_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_RLAST" DIR="I" MPD_INDEX="242" NAME="M_AXI_DC_RLAST" SIGNAME="axi4_0_S_RLAST"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_RVALID" DIR="I" MPD_INDEX="243" NAME="M_AXI_DC_RVALID" SIGNAME="axi4_0_S_RVALID"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_RREADY" DIR="O" MPD_INDEX="244" NAME="M_AXI_DC_RREADY" SIGNAME="axi4_0_S_RREADY"/>
+        <PORT BUS="M_AXI_DC" DEF_SIGNAME="axi4_0_S_RUSER" DIR="I" MPD_INDEX="245" NAME="M_AXI_DC_RUSER" SIGNAME="axi4_0_S_RUSER" VECFORMULA="[(C_M_AXI_DC_RUSER_WIDTH-1):0]"/>
+        <PORT BUS="DEBUG" DEF_SIGNAME="microblaze_0_debug_Dbg_Clk" DIR="I" MPD_INDEX="246" NAME="DBG_CLK" SIGNAME="microblaze_0_debug_Dbg_Clk"/>
+        <PORT BUS="DEBUG" DEF_SIGNAME="microblaze_0_debug_Dbg_TDI" DIR="I" MPD_INDEX="247" NAME="DBG_TDI" SIGNAME="microblaze_0_debug_Dbg_TDI"/>
+        <PORT BUS="DEBUG" DEF_SIGNAME="microblaze_0_debug_Dbg_TDO" DIR="O" MPD_INDEX="248" NAME="DBG_TDO" SIGNAME="microblaze_0_debug_Dbg_TDO"/>
+        <PORT BUS="DEBUG" DEF_SIGNAME="microblaze_0_debug_Dbg_Reg_En" DIR="I" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="249" MSB="0" NAME="DBG_REG_EN" RIGHT="7" SIGNAME="microblaze_0_debug_Dbg_Reg_En" VECFORMULA="[0:7]"/>
+        <PORT BUS="DEBUG" DEF_SIGNAME="microblaze_0_debug_Dbg_Shift" DIR="I" MPD_INDEX="250" NAME="DBG_SHIFT" SIGNAME="microblaze_0_debug_Dbg_Shift"/>
+        <PORT BUS="DEBUG" DEF_SIGNAME="microblaze_0_debug_Dbg_Capture" DIR="I" MPD_INDEX="251" NAME="DBG_CAPTURE" SIGNAME="microblaze_0_debug_Dbg_Capture"/>
+        <PORT BUS="DEBUG" DEF_SIGNAME="microblaze_0_debug_Dbg_Update" DIR="I" MPD_INDEX="252" NAME="DBG_UPDATE" SIGNAME="microblaze_0_debug_Dbg_Update"/>
+        <PORT BUS="DEBUG" DEF_SIGNAME="microblaze_0_debug_Debug_Rst" DIR="I" MPD_INDEX="253" NAME="DEBUG_RST" SIGIS="RST" SIGNAME="microblaze_0_debug_Debug_Rst"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="254" MSB="0" NAME="Trace_Instruction" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="255" NAME="Trace_Valid_Instr" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="256" MSB="0" NAME="Trace_PC" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="257" NAME="Trace_Reg_Write" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="4" MPD_INDEX="258" MSB="0" NAME="Trace_Reg_Addr" RIGHT="4" SIGNAME="__NOC__" VECFORMULA="[0:4]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="14" MPD_INDEX="259" MSB="0" NAME="Trace_MSR_Reg" RIGHT="14" SIGNAME="__NOC__" VECFORMULA="[0:14]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="260" MSB="0" NAME="Trace_PID_Reg" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:7]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="261" MSB="0" NAME="Trace_New_Reg_Value" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="262" NAME="Trace_Exception_Taken" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="4" MPD_INDEX="263" MSB="0" NAME="Trace_Exception_Kind" RIGHT="4" SIGNAME="__NOC__" VECFORMULA="[0:4]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="264" NAME="Trace_Jump_Taken" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="265" NAME="Trace_Delay_Slot" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="266" MSB="0" NAME="Trace_Data_Address" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="267" NAME="Trace_Data_Access" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="268" NAME="Trace_Data_Read" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="269" NAME="Trace_Data_Write" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="270" MSB="0" NAME="Trace_Data_Write_Value" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="271" MSB="0" NAME="Trace_Data_Byte_Enable" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="272" NAME="Trace_DCache_Req" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="273" NAME="Trace_DCache_Hit" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="274" NAME="Trace_DCache_Rdy" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="275" NAME="Trace_DCache_Read" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="276" NAME="Trace_ICache_Req" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="277" NAME="Trace_ICache_Hit" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="278" NAME="Trace_ICache_Rdy" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="279" NAME="Trace_OF_PipeRun" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="280" NAME="Trace_EX_PipeRun" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="281" NAME="Trace_MEM_PipeRun" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="282" NAME="Trace_MB_Halted" SIGNAME="__NOC__"/>
+        <PORT BUS="TRACE" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="283" NAME="Trace_Jump_Hit" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL0:DRFSL0" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="284" NAME="FSL0_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL0:DRFSL0" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="285" NAME="FSL0_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL0:DRFSL0" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="286" MSB="0" NAME="FSL0_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL0:DRFSL0" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="287" NAME="FSL0_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL0:DRFSL0" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="288" NAME="FSL0_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL0:DWFSL0" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="289" NAME="FSL0_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL0:DWFSL0" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="290" NAME="FSL0_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL0:DWFSL0" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="291" MSB="0" NAME="FSL0_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL0:DWFSL0" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="292" NAME="FSL0_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL0:DWFSL0" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="293" NAME="FSL0_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL1:DRFSL1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="294" NAME="FSL1_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL1:DRFSL1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="295" NAME="FSL1_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL1:DRFSL1" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="296" MSB="0" NAME="FSL1_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL1:DRFSL1" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="297" NAME="FSL1_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL1:DRFSL1" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="298" NAME="FSL1_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL1:DWFSL1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="299" NAME="FSL1_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL1:DWFSL1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="300" NAME="FSL1_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL1:DWFSL1" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="301" MSB="0" NAME="FSL1_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL1:DWFSL1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="302" NAME="FSL1_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL1:DWFSL1" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="303" NAME="FSL1_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL2:DRFSL2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="304" NAME="FSL2_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL2:DRFSL2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="305" NAME="FSL2_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL2:DRFSL2" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="306" MSB="0" NAME="FSL2_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL2:DRFSL2" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="307" NAME="FSL2_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL2:DRFSL2" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="308" NAME="FSL2_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL2:DWFSL2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="309" NAME="FSL2_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL2:DWFSL2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="310" NAME="FSL2_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL2:DWFSL2" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="311" MSB="0" NAME="FSL2_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL2:DWFSL2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="312" NAME="FSL2_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL2:DWFSL2" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="313" NAME="FSL2_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL3:DRFSL3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="314" NAME="FSL3_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL3:DRFSL3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="315" NAME="FSL3_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL3:DRFSL3" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="316" MSB="0" NAME="FSL3_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL3:DRFSL3" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="317" NAME="FSL3_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL3:DRFSL3" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="318" NAME="FSL3_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL3:DWFSL3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="319" NAME="FSL3_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL3:DWFSL3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="320" NAME="FSL3_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL3:DWFSL3" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="321" MSB="0" NAME="FSL3_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL3:DWFSL3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="322" NAME="FSL3_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL3:DWFSL3" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="323" NAME="FSL3_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL4:DRFSL4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="324" NAME="FSL4_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL4:DRFSL4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="325" NAME="FSL4_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL4:DRFSL4" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="326" MSB="0" NAME="FSL4_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL4:DRFSL4" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="327" NAME="FSL4_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL4:DRFSL4" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="328" NAME="FSL4_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL4:DWFSL4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="329" NAME="FSL4_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL4:DWFSL4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="330" NAME="FSL4_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL4:DWFSL4" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="331" MSB="0" NAME="FSL4_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL4:DWFSL4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="332" NAME="FSL4_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL4:DWFSL4" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="333" NAME="FSL4_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL5:DRFSL5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="334" NAME="FSL5_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL5:DRFSL5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="335" NAME="FSL5_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL5:DRFSL5" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="336" MSB="0" NAME="FSL5_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL5:DRFSL5" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="337" NAME="FSL5_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL5:DRFSL5" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="338" NAME="FSL5_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL5:DWFSL5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="339" NAME="FSL5_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL5:DWFSL5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="340" NAME="FSL5_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL5:DWFSL5" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="341" MSB="0" NAME="FSL5_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL5:DWFSL5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="342" NAME="FSL5_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL5:DWFSL5" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="343" NAME="FSL5_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL6:DRFSL6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="344" NAME="FSL6_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL6:DRFSL6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="345" NAME="FSL6_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL6:DRFSL6" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="346" MSB="0" NAME="FSL6_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL6:DRFSL6" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="347" NAME="FSL6_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL6:DRFSL6" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="348" NAME="FSL6_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL6:DWFSL6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="349" NAME="FSL6_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL6:DWFSL6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="350" NAME="FSL6_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL6:DWFSL6" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="351" MSB="0" NAME="FSL6_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL6:DWFSL6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="352" NAME="FSL6_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL6:DWFSL6" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="353" NAME="FSL6_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL7:DRFSL7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="354" NAME="FSL7_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL7:DRFSL7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="355" NAME="FSL7_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL7:DRFSL7" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="356" MSB="0" NAME="FSL7_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL7:DRFSL7" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="357" NAME="FSL7_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL7:DRFSL7" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="358" NAME="FSL7_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL7:DWFSL7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="359" NAME="FSL7_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL7:DWFSL7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="360" NAME="FSL7_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL7:DWFSL7" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="361" MSB="0" NAME="FSL7_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL7:DWFSL7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="362" NAME="FSL7_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL7:DWFSL7" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="363" NAME="FSL7_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL8:DRFSL8" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="364" NAME="FSL8_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL8:DRFSL8" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="365" NAME="FSL8_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL8:DRFSL8" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="366" MSB="0" NAME="FSL8_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL8:DRFSL8" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="367" NAME="FSL8_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL8:DRFSL8" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="368" NAME="FSL8_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL8:DWFSL8" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="369" NAME="FSL8_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL8:DWFSL8" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="370" NAME="FSL8_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL8:DWFSL8" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="371" MSB="0" NAME="FSL8_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL8:DWFSL8" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="372" NAME="FSL8_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL8:DWFSL8" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="373" NAME="FSL8_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL9:DRFSL9" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="374" NAME="FSL9_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL9:DRFSL9" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="375" NAME="FSL9_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL9:DRFSL9" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="376" MSB="0" NAME="FSL9_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL9:DRFSL9" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="377" NAME="FSL9_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL9:DRFSL9" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="378" NAME="FSL9_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL9:DWFSL9" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="379" NAME="FSL9_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL9:DWFSL9" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="380" NAME="FSL9_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL9:DWFSL9" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="381" MSB="0" NAME="FSL9_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL9:DWFSL9" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="382" NAME="FSL9_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL9:DWFSL9" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="383" NAME="FSL9_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL10:DRFSL10" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="384" NAME="FSL10_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL10:DRFSL10" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="385" NAME="FSL10_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL10:DRFSL10" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="386" MSB="0" NAME="FSL10_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL10:DRFSL10" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="387" NAME="FSL10_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL10:DRFSL10" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="388" NAME="FSL10_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL10:DWFSL10" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="389" NAME="FSL10_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL10:DWFSL10" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="390" NAME="FSL10_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL10:DWFSL10" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="391" MSB="0" NAME="FSL10_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL10:DWFSL10" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="392" NAME="FSL10_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL10:DWFSL10" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="393" NAME="FSL10_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL11:DRFSL11" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="394" NAME="FSL11_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL11:DRFSL11" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="395" NAME="FSL11_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL11:DRFSL11" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="396" MSB="0" NAME="FSL11_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL11:DRFSL11" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="397" NAME="FSL11_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL11:DRFSL11" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="398" NAME="FSL11_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL11:DWFSL11" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="399" NAME="FSL11_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL11:DWFSL11" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="400" NAME="FSL11_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL11:DWFSL11" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="401" MSB="0" NAME="FSL11_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL11:DWFSL11" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="402" NAME="FSL11_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL11:DWFSL11" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="403" NAME="FSL11_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL12:DRFSL12" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="404" NAME="FSL12_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL12:DRFSL12" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="405" NAME="FSL12_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL12:DRFSL12" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="406" MSB="0" NAME="FSL12_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL12:DRFSL12" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="407" NAME="FSL12_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL12:DRFSL12" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="408" NAME="FSL12_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL12:DWFSL12" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="409" NAME="FSL12_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL12:DWFSL12" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="410" NAME="FSL12_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL12:DWFSL12" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="411" MSB="0" NAME="FSL12_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL12:DWFSL12" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="412" NAME="FSL12_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL12:DWFSL12" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="413" NAME="FSL12_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL13:DRFSL13" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="414" NAME="FSL13_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL13:DRFSL13" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="415" NAME="FSL13_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL13:DRFSL13" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="416" MSB="0" NAME="FSL13_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL13:DRFSL13" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="417" NAME="FSL13_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL13:DRFSL13" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="418" NAME="FSL13_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL13:DWFSL13" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="419" NAME="FSL13_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL13:DWFSL13" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="420" NAME="FSL13_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL13:DWFSL13" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="421" MSB="0" NAME="FSL13_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL13:DWFSL13" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="422" NAME="FSL13_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL13:DWFSL13" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="423" NAME="FSL13_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL14:DRFSL14" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="424" NAME="FSL14_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL14:DRFSL14" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="425" NAME="FSL14_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL14:DRFSL14" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="426" MSB="0" NAME="FSL14_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL14:DRFSL14" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="427" NAME="FSL14_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL14:DRFSL14" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="428" NAME="FSL14_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL14:DWFSL14" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="429" NAME="FSL14_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL14:DWFSL14" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="430" NAME="FSL14_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL14:DWFSL14" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="431" MSB="0" NAME="FSL14_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL14:DWFSL14" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="432" NAME="FSL14_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL14:DWFSL14" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="433" NAME="FSL14_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL15:DRFSL15" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="434" NAME="FSL15_S_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL15:DRFSL15" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="435" NAME="FSL15_S_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL15:DRFSL15" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="436" MSB="0" NAME="FSL15_S_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="SFSL15:DRFSL15" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="437" NAME="FSL15_S_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="SFSL15:DRFSL15" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="438" NAME="FSL15_S_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL15:DWFSL15" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="439" NAME="FSL15_M_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL15:DWFSL15" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="440" NAME="FSL15_M_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL15:DWFSL15" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="441" MSB="0" NAME="FSL15_M_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:C_FSL_DATA_SIZE-1]"/>
+        <PORT BUS="MFSL15:DWFSL15" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="442" NAME="FSL15_M_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="MFSL15:DWFSL15" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="443" NAME="FSL15_M_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="M0_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="444" NAME="M0_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M0_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="445" MSB="31" NAME="M0_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M0_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M0_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="446" NAME="M0_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M0_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="447" NAME="M0_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S0_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="448" NAME="S0_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S0_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="449" MSB="31" NAME="S0_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S0_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S0_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="450" NAME="S0_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S0_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="451" NAME="S0_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M1_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="452" NAME="M1_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M1_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="453" MSB="31" NAME="M1_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M1_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M1_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="454" NAME="M1_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M1_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="455" NAME="M1_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S1_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="456" NAME="S1_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S1_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="457" MSB="31" NAME="S1_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S1_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S1_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="458" NAME="S1_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S1_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="459" NAME="S1_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M2_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="460" NAME="M2_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M2_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="461" MSB="31" NAME="M2_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M2_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M2_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="462" NAME="M2_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M2_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="463" NAME="M2_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S2_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="464" NAME="S2_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S2_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="465" MSB="31" NAME="S2_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S2_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S2_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="466" NAME="S2_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S2_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="467" NAME="S2_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M3_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="468" NAME="M3_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M3_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="469" MSB="31" NAME="M3_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M3_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M3_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="470" NAME="M3_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M3_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="471" NAME="M3_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S3_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="472" NAME="S3_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S3_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="473" MSB="31" NAME="S3_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S3_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S3_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="474" NAME="S3_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S3_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="475" NAME="S3_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M4_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="476" NAME="M4_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M4_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="477" MSB="31" NAME="M4_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M4_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M4_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="478" NAME="M4_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M4_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="479" NAME="M4_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S4_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="480" NAME="S4_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S4_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="481" MSB="31" NAME="S4_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S4_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S4_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="482" NAME="S4_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S4_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="483" NAME="S4_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M5_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="484" NAME="M5_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M5_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="485" MSB="31" NAME="M5_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M5_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M5_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="486" NAME="M5_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M5_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="487" NAME="M5_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S5_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="488" NAME="S5_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S5_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="489" MSB="31" NAME="S5_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S5_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S5_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="490" NAME="S5_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S5_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="491" NAME="S5_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M6_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="492" NAME="M6_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M6_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="493" MSB="31" NAME="M6_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M6_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M6_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="494" NAME="M6_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M6_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="495" NAME="M6_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S6_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="496" NAME="S6_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S6_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="497" MSB="31" NAME="S6_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S6_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S6_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="498" NAME="S6_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S6_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="499" NAME="S6_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M7_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="500" NAME="M7_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M7_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="501" MSB="31" NAME="M7_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M7_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M7_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="502" NAME="M7_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M7_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="503" NAME="M7_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S7_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="504" NAME="S7_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S7_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="505" MSB="31" NAME="S7_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S7_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S7_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="506" NAME="S7_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S7_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="507" NAME="S7_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M8_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="508" NAME="M8_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M8_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="509" MSB="31" NAME="M8_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M8_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M8_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="510" NAME="M8_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M8_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="511" NAME="M8_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S8_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="512" NAME="S8_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S8_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="513" MSB="31" NAME="S8_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S8_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S8_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="514" NAME="S8_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S8_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="515" NAME="S8_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M9_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="516" NAME="M9_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M9_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="517" MSB="31" NAME="M9_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M9_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M9_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="518" NAME="M9_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M9_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="519" NAME="M9_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S9_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="520" NAME="S9_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S9_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="521" MSB="31" NAME="S9_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S9_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S9_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="522" NAME="S9_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S9_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="523" NAME="S9_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M10_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="524" NAME="M10_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M10_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="525" MSB="31" NAME="M10_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M10_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M10_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="526" NAME="M10_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M10_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="527" NAME="M10_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S10_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="528" NAME="S10_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S10_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="529" MSB="31" NAME="S10_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S10_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S10_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="530" NAME="S10_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S10_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="531" NAME="S10_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M11_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="532" NAME="M11_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M11_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="533" MSB="31" NAME="M11_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M11_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M11_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="534" NAME="M11_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M11_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="535" NAME="M11_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S11_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="536" NAME="S11_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S11_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="537" MSB="31" NAME="S11_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S11_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S11_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="538" NAME="S11_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S11_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="539" NAME="S11_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M12_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="540" NAME="M12_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M12_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="541" MSB="31" NAME="M12_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M12_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M12_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="542" NAME="M12_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M12_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="543" NAME="M12_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S12_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="544" NAME="S12_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S12_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="545" MSB="31" NAME="S12_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S12_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S12_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="546" NAME="S12_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S12_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="547" NAME="S12_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M13_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="548" NAME="M13_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M13_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="549" MSB="31" NAME="M13_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M13_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M13_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="550" NAME="M13_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M13_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="551" NAME="M13_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S13_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="552" NAME="S13_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S13_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="553" MSB="31" NAME="S13_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S13_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S13_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="554" NAME="S13_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S13_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="555" NAME="S13_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M14_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="556" NAME="M14_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M14_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="557" MSB="31" NAME="M14_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M14_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M14_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="558" NAME="M14_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M14_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="559" NAME="M14_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S14_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="560" NAME="S14_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S14_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="561" MSB="31" NAME="S14_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S14_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S14_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="562" NAME="S14_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S14_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="563" NAME="S14_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="M15_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="564" NAME="M15_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="M15_AXIS" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="565" MSB="31" NAME="M15_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_M15_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="M15_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="566" NAME="M15_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="M15_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="567" NAME="M15_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S15_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="568" NAME="S15_AXIS_TLAST" SIGNAME="__NOC__"/>
+        <PORT BUS="S15_AXIS" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="569" MSB="31" NAME="S15_AXIS_TDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S15_AXIS_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S15_AXIS" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="570" NAME="S15_AXIS_TVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S15_AXIS" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="571" NAME="S15_AXIS_TREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="572" NAME="ICACHE_FSL_IN_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="573" NAME="ICACHE_FSL_IN_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="574" MSB="0" NAME="ICACHE_FSL_IN_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="575" NAME="ICACHE_FSL_IN_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="576" NAME="ICACHE_FSL_IN_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="577" NAME="ICACHE_FSL_OUT_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="578" NAME="ICACHE_FSL_OUT_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="579" MSB="0" NAME="ICACHE_FSL_OUT_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="580" NAME="ICACHE_FSL_OUT_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="IXCL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="581" NAME="ICACHE_FSL_OUT_FULL" SIGNAME="__NOC__"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="582" NAME="DCACHE_FSL_IN_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="583" NAME="DCACHE_FSL_IN_READ" SIGNAME="__NOC__"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="584" MSB="0" NAME="DCACHE_FSL_IN_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="585" NAME="DCACHE_FSL_IN_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="586" NAME="DCACHE_FSL_IN_EXISTS" SIGNAME="__NOC__"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="587" NAME="DCACHE_FSL_OUT_CLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="588" NAME="DCACHE_FSL_OUT_WRITE" SIGNAME="__NOC__"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="589" MSB="0" NAME="DCACHE_FSL_OUT_DATA" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="590" NAME="DCACHE_FSL_OUT_CONTROL" SIGNAME="__NOC__"/>
+        <PORT BUS="DXCL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="591" NAME="DCACHE_FSL_OUT_FULL" SIGNAME="__NOC__"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="PLBV46" BUSSTD_PSF="PLBV46" IS_DATA="TRUE" IS_VALID="FALSE" MPD_INDEX="2" NAME="DPLB" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_ABort"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_ABus"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_UABus"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_BE"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_busLock"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_lockErr"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_MSize"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_priority"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_rdBurst"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_request"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_RNW"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_size"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_TAttribute"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_type"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_wrBurst"/>
+            <PORTMAP DIR="O" PHYSICAL="DPLB_M_wrDBus"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MBusy"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MRdErr"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MWrErr"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MIRQ"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MWrBTerm"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MWrDAck"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MAddrAck"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MRdBTerm"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MRdDAck"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MRdDBus"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MRdWdAddr"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MRearbitrate"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MSSize"/>
+            <PORTMAP DIR="I" PHYSICAL="DPLB_MTimeout"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="PLBV46" BUSSTD_PSF="PLBV46" IS_INSTRUCTION="TRUE" IS_VALID="FALSE" MPD_INDEX="3" NAME="IPLB" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_ABort"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_ABus"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_UABus"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_BE"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_busLock"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_lockErr"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_MSize"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_priority"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_rdBurst"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_request"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_RNW"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_size"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_TAttribute"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_type"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_wrBurst"/>
+            <PORTMAP DIR="O" PHYSICAL="IPLB_M_wrDBus"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MBusy"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MRdErr"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MWrErr"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MIRQ"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MWrBTerm"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MWrDAck"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MAddrAck"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MRdBTerm"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MRdDAck"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MRdDBus"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MRdWdAddr"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MRearbitrate"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MSSize"/>
+            <PORTMAP DIR="I" PHYSICAL="IPLB_MTimeout"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="microblaze_0_dlmb" BUSSTD="LMB" BUSSTD_PSF="LMB" IS_DATA="TRUE" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="DLMB" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="CLK"/>
+            <PORTMAP DIR="I" PHYSICAL="RESET"/>
+            <PORTMAP DIR="I" PHYSICAL="DATA_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="DREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="DWAIT"/>
+            <PORTMAP DIR="I" PHYSICAL="DCE"/>
+            <PORTMAP DIR="I" PHYSICAL="DUE"/>
+            <PORTMAP DIR="O" PHYSICAL="DATA_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="DATA_ADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="D_AS"/>
+            <PORTMAP DIR="O" PHYSICAL="READ_STROBE"/>
+            <PORTMAP DIR="O" PHYSICAL="WRITE_STROBE"/>
+            <PORTMAP DIR="O" PHYSICAL="BYTE_ENABLE"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="microblaze_0_ilmb" BUSSTD="LMB" BUSSTD_PSF="LMB" IS_INSTANTIATED="TRUE" IS_INSTRUCTION="TRUE" MHS_INDEX="0" MPD_INDEX="1" NAME="ILMB" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="CLK"/>
+            <PORTMAP DIR="I" PHYSICAL="RESET"/>
+            <PORTMAP DIR="I" PHYSICAL="INSTR"/>
+            <PORTMAP DIR="I" PHYSICAL="IREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="IWAIT"/>
+            <PORTMAP DIR="I" PHYSICAL="ICE"/>
+            <PORTMAP DIR="I" PHYSICAL="IUE"/>
+            <PORTMAP DIR="O" PHYSICAL="INSTR_ADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="IFETCH"/>
+            <PORTMAP DIR="O" PHYSICAL="I_AS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="axi4lite_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_DATA="TRUE" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="4" NAME="M_AXI_DP" PROTOCOL="AXI4LITE" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWLEN"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWSIZE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWBURST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWLOCK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWCACHE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWPROT"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWQOS"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_AWVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_AWREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_WDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_WSTRB"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_WLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_WVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_WREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_BID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_BRESP"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_BVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_BREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARLEN"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARSIZE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARBURST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARLOCK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARCACHE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARPROT"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARQOS"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_ARVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_ARREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_RID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_RDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_RRESP"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_RLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DP_RVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DP_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTRUCTION="TRUE" MPD_INDEX="5" NAME="M_AXI_IP" PROTOCOL="AXI4LITE" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWLEN"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWSIZE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWBURST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWLOCK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWCACHE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWPROT"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWQOS"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_AWVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_AWREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_WDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_WSTRB"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_WLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_WVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_WREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_BID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_BRESP"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_BVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_BREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARLEN"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARSIZE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARBURST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARLOCK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARCACHE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARPROT"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARQOS"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_ARVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_ARREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_RID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_RDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_RRESP"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_RLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IP_RVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IP_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="axi4_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_DATA="TRUE" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="104" NAME="M_AXI_DC" PROTOCOL="AXI4" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWLEN"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWSIZE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWBURST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWLOCK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWCACHE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWPROT"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWQOS"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_AWREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_AWUSER"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_WDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_WSTRB"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_WLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_WVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_WUSER"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_BID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_BRESP"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_BVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_BUSER"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARLEN"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARSIZE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARBURST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARLOCK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARCACHE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARPROT"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARQOS"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_ARUSER"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_RID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_RDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_RRESP"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_RLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_RVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_DC_RREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_DC_RUSER"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="axi4_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" IS_INSTRUCTION="TRUE" MHS_INDEX="4" MPD_INDEX="105" NAME="M_AXI_IC" PROTOCOL="AXI4" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWLEN"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWSIZE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWBURST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWLOCK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWCACHE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWPROT"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWQOS"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_AWREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_AWUSER"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_WDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_WSTRB"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_WLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_WVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_WUSER"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_BID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_BRESP"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_BVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_BUSER"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARLEN"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARSIZE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARBURST"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARLOCK"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARCACHE"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARPROT"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARQOS"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_ARUSER"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_RID"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_RDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_RRESP"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_RLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_RVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="M_AXI_IC_RREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="M_AXI_IC_RUSER"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="microblaze_0_debug" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="106" NAME="DEBUG" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="DBG_CLK"/>
+            <PORTMAP DIR="I" PHYSICAL="DBG_TDI"/>
+            <PORTMAP DIR="O" PHYSICAL="DBG_TDO"/>
+            <PORTMAP DIR="I" PHYSICAL="DBG_REG_EN"/>
+            <PORTMAP DIR="I" PHYSICAL="DBG_SHIFT"/>
+            <PORTMAP DIR="I" PHYSICAL="DBG_CAPTURE"/>
+            <PORTMAP DIR="I" PHYSICAL="DBG_UPDATE"/>
+            <PORTMAP DIR="I" PHYSICAL="DEBUG_RST"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MBTRACE2" MPD_INDEX="107" NAME="TRACE" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Instruction"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Valid_Instr"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_PC"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Reg_Write"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Reg_Addr"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_MSR_Reg"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_PID_Reg"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_New_Reg_Value"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Exception_Taken"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Exception_Kind"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Jump_Taken"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Delay_Slot"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Data_Address"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Data_Access"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Data_Read"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Data_Write"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Data_Write_Value"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Data_Byte_Enable"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_DCache_Req"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_DCache_Hit"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_DCache_Rdy"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_DCache_Read"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_ICache_Req"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_ICache_Hit"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_ICache_Rdy"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_OF_PipeRun"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_EX_PipeRun"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_MEM_PipeRun"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_MB_Halted"/>
+            <PORTMAP DIR="O" PHYSICAL="Trace_Jump_Hit"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="6" NAME="SFSL0" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL0_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL0_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL0_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="38" NAME="DRFSL0" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL0_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL0_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL0_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="7" NAME="MFSL0" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL0_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="39" NAME="DWFSL0" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL0_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL0_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="8" NAME="SFSL1" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL1_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL1_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL1_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="40" NAME="DRFSL1" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL1_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL1_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL1_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="9" NAME="MFSL1" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL1_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="41" NAME="DWFSL1" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL1_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL1_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="10" NAME="SFSL2" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL2_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL2_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL2_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="42" NAME="DRFSL2" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL2_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL2_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL2_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="11" NAME="MFSL2" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL2_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="43" NAME="DWFSL2" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL2_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL2_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="12" NAME="SFSL3" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL3_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL3_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL3_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="44" NAME="DRFSL3" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL3_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL3_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL3_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="13" NAME="MFSL3" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL3_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="45" NAME="DWFSL3" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL3_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL3_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="14" NAME="SFSL4" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL4_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL4_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL4_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="46" NAME="DRFSL4" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL4_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL4_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL4_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="15" NAME="MFSL4" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL4_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="47" NAME="DWFSL4" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL4_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL4_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="16" NAME="SFSL5" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL5_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL5_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL5_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="48" NAME="DRFSL5" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL5_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL5_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL5_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="17" NAME="MFSL5" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL5_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="49" NAME="DWFSL5" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL5_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL5_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="18" NAME="SFSL6" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL6_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL6_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL6_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="50" NAME="DRFSL6" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL6_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL6_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL6_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="19" NAME="MFSL6" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL6_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="51" NAME="DWFSL6" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL6_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL6_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="20" NAME="SFSL7" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL7_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL7_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL7_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="52" NAME="DRFSL7" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL7_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL7_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL7_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="21" NAME="MFSL7" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL7_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="53" NAME="DWFSL7" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL7_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL7_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="22" NAME="SFSL8" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL8_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL8_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL8_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="54" NAME="DRFSL8" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL8_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL8_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL8_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="23" NAME="MFSL8" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL8_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="55" NAME="DWFSL8" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL8_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL8_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="24" NAME="SFSL9" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL9_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL9_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL9_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="56" NAME="DRFSL9" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL9_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL9_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL9_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="25" NAME="MFSL9" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL9_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="57" NAME="DWFSL9" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL9_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL9_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="26" NAME="SFSL10" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL10_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL10_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL10_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="58" NAME="DRFSL10" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL10_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL10_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL10_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="27" NAME="MFSL10" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL10_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="59" NAME="DWFSL10" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL10_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL10_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="28" NAME="SFSL11" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL11_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL11_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL11_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="60" NAME="DRFSL11" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL11_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL11_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL11_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="29" NAME="MFSL11" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL11_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="61" NAME="DWFSL11" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL11_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL11_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="30" NAME="SFSL12" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL12_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL12_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL12_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="62" NAME="DRFSL12" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL12_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL12_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL12_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="31" NAME="MFSL12" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL12_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="63" NAME="DWFSL12" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL12_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL12_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="32" NAME="SFSL13" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL13_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL13_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL13_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="64" NAME="DRFSL13" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL13_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL13_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL13_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="33" NAME="MFSL13" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL13_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="65" NAME="DWFSL13" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL13_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL13_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="34" NAME="SFSL14" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL14_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL14_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL14_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="66" NAME="DRFSL14" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL14_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL14_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL14_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="35" NAME="MFSL14" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL14_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="67" NAME="DWFSL14" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL14_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL14_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="36" NAME="SFSL15" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL15_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL15_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL15_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DRFSL" IS_VALID="FALSE" MPD_INDEX="68" NAME="DRFSL15" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_S_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_S_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL15_S_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL15_S_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL15_S_EXISTS"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="FSL" BUSSTD_PSF="FSL" IS_VALID="FALSE" MPD_INDEX="37" NAME="MFSL15" TYPE="MASTER">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL15_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_DWFSL" IS_VALID="FALSE" MPD_INDEX="69" NAME="DWFSL15" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_M_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_M_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_M_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="FSL15_M_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="FSL15_M_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="70" NAME="M0_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M0_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M0_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M0_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M0_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="71" NAME="S0_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S0_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S0_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S0_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S0_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="72" NAME="M1_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M1_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M1_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M1_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M1_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="73" NAME="S1_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S1_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S1_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S1_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S1_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="74" NAME="M2_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M2_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M2_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M2_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M2_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="75" NAME="S2_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S2_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S2_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S2_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S2_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="76" NAME="M3_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M3_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M3_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M3_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M3_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="77" NAME="S3_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S3_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S3_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S3_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S3_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="78" NAME="M4_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M4_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M4_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M4_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M4_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="79" NAME="S4_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S4_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S4_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S4_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S4_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="80" NAME="M5_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M5_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M5_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M5_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M5_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="81" NAME="S5_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S5_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S5_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S5_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S5_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="82" NAME="M6_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M6_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M6_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M6_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M6_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="83" NAME="S6_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S6_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S6_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S6_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S6_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="84" NAME="M7_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M7_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M7_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M7_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M7_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="85" NAME="S7_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S7_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S7_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S7_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S7_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="86" NAME="M8_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M8_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M8_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M8_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M8_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="87" NAME="S8_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S8_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S8_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S8_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S8_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="88" NAME="M9_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M9_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M9_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M9_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M9_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="89" NAME="S9_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S9_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S9_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S9_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S9_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="90" NAME="M10_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M10_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M10_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M10_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M10_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="91" NAME="S10_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S10_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S10_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S10_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S10_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="92" NAME="M11_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M11_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M11_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M11_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M11_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="93" NAME="S11_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S11_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S11_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S11_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S11_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="94" NAME="M12_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M12_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M12_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M12_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M12_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="95" NAME="S12_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S12_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S12_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S12_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S12_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="96" NAME="M13_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M13_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M13_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M13_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M13_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="97" NAME="S13_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S13_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S13_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S13_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S13_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="98" NAME="M14_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M14_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M14_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M14_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M14_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="99" NAME="S14_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S14_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S14_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S14_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S14_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="100" NAME="M15_AXIS" PROTOCOL="GENERIC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="M15_AXIS_TLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="M15_AXIS_TDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="M15_AXIS_TVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="M15_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXIS" BUSSTD_PSF="AXIS" IS_VALID="FALSE" MPD_INDEX="101" NAME="S15_AXIS" PROTOCOL="GENERIC" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S15_AXIS_TLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S15_AXIS_TDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S15_AXIS_TVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S15_AXIS_TREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MEMORY_CHANNEL" IS_INSTRUCTION="TRUE" IS_VALID="FALSE" MPD_INDEX="103" NAME="IXCL" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="ICACHE_FSL_IN_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="ICACHE_FSL_IN_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="ICACHE_FSL_IN_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="ICACHE_FSL_IN_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="ICACHE_FSL_IN_EXISTS"/>
+            <PORTMAP DIR="O" PHYSICAL="ICACHE_FSL_OUT_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="ICACHE_FSL_OUT_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="ICACHE_FSL_OUT_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="ICACHE_FSL_OUT_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="ICACHE_FSL_OUT_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MEMORY_CHANNEL" IS_DATA="TRUE" IS_VALID="FALSE" MPD_INDEX="102" NAME="DXCL" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="DCACHE_FSL_IN_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="DCACHE_FSL_IN_READ"/>
+            <PORTMAP DIR="I" PHYSICAL="DCACHE_FSL_IN_DATA"/>
+            <PORTMAP DIR="I" PHYSICAL="DCACHE_FSL_IN_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="DCACHE_FSL_IN_EXISTS"/>
+            <PORTMAP DIR="O" PHYSICAL="DCACHE_FSL_OUT_CLK"/>
+            <PORTMAP DIR="O" PHYSICAL="DCACHE_FSL_OUT_WRITE"/>
+            <PORTMAP DIR="O" PHYSICAL="DCACHE_FSL_OUT_DATA"/>
+            <PORTMAP DIR="O" PHYSICAL="DCACHE_FSL_OUT_CONTROL"/>
+            <PORTMAP DIR="I" PHYSICAL="DCACHE_FSL_OUT_FULL"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <INTERRUPTINFO TYPE="TARGET">
+        <SOURCE INSTANCE="microblaze_0_intc" INTC_INDEX="0"/>
+      </INTERRUPTINFO>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="0" BASENAME="C_BASEADDR" BASEVALUE="0x00000000" HIGHDECIMAL="8191" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x00001fff" INSTANCE="microblaze_0_d_bram_ctrl" IS_DATA="TRUE" IS_INSTRUCTION="FALSE" IS_VALID="TRUE" MEMTYPE="MEMORY" SIZE="8192" SIZEABRV="8K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="microblaze_0_dlmb"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="0" BASENAME="C_BASEADDR" BASEVALUE="0x00000000" HIGHDECIMAL="8191" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x00001fff" INSTANCE="microblaze_0_i_bram_ctrl" IS_DATA="FALSE" IS_INSTRUCTION="TRUE" IS_VALID="TRUE" MEMTYPE="MEMORY" SIZE="8192" SIZEABRV="8K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="microblaze_0_ilmb"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="1954545664" BASENAME="C_BASEADDR" BASEVALUE="0x74800000" HIGHDECIMAL="1954611199" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x7480ffff" INSTANCE="debug_module" IS_DATA="TRUE" IS_INSTRUCTION="FALSE" IS_VALID="TRUE" MEMTYPE="REGISTER" SIZE="65536" SIZEABRV="64K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="axi4lite_0"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="1080033280" BASENAME="C_BASEADDR" BASEVALUE="0x40600000" HIGHDECIMAL="1080098815" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x4060ffff" INSTANCE="RS232_Uart_1" IS_DATA="TRUE" IS_INSTRUCTION="FALSE" IS_VALID="TRUE" MEMTYPE="REGISTER" SIZE="65536" SIZEABRV="64K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="axi4lite_0"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="1073872896" BASENAME="C_BASEADDR" BASEVALUE="0x40020000" HIGHDECIMAL="1073938431" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x4002ffff" INSTANCE="LEDs_4Bits" IS_DATA="TRUE" IS_INSTRUCTION="FALSE" IS_VALID="TRUE" MEMTYPE="REGISTER" SIZE="65536" SIZEABRV="64K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="axi4lite_0"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="1073741824" BASENAME="C_BASEADDR" BASEVALUE="0x40000000" HIGHDECIMAL="1073807359" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x4000ffff" INSTANCE="Push_Buttons_4Bits" IS_DATA="TRUE" IS_INSTRUCTION="FALSE" IS_VALID="TRUE" MEMTYPE="REGISTER" SIZE="65536" SIZEABRV="64K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="axi4lite_0"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="1088421888" BASENAME="C_BASEADDR" BASEVALUE="0x40e00000" HIGHDECIMAL="1088487423" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x40e0ffff" INSTANCE="Ethernet_Lite" IS_DATA="TRUE" IS_INSTRUCTION="FALSE" IS_VALID="TRUE" MEMTYPE="REGISTER" SIZE="65536" SIZEABRV="64K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="axi4lite_0"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="1103101952" BASENAME="C_BASEADDR" BASEVALUE="0x41c00000" HIGHDECIMAL="1103167487" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x41c0ffff" INSTANCE="axi_timer_0" IS_DATA="TRUE" IS_INSTRUCTION="FALSE" IS_VALID="TRUE" MEMTYPE="REGISTER" SIZE="65536" SIZEABRV="64K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="axi4lite_0"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="1092616192" BASENAME="C_BASEADDR" BASEVALUE="0x41200000" HIGHDECIMAL="1092681727" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x4120ffff" INSTANCE="microblaze_0_intc" IS_DATA="TRUE" IS_INSTRUCTION="FALSE" IS_VALID="TRUE" MEMTYPE="REGISTER" SIZE="65536" SIZEABRV="64K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="axi4lite_0"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="3288334336" BASENAME="C_S_AXI_BASEADDR" BASEVALUE="0xc4000000" HIGHDECIMAL="3288858623" HIGHNAME="C_S_AXI_HIGHADDR" HIGHVALUE="0xC407FFFF" INSTANCE="axi_bram_ctrl_0" IS_DATA="TRUE" IS_INSTRUCTION="TRUE" IS_VALID="TRUE" MEMTYPE="MEMORY" SIZE="524288" SIZEABRV="512K">
+          <ACCESSROUTE>
+            <ROUTEPNT INDEX="0" INSTANCE="axi4_0"/>
+          </ACCESSROUTE>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <PERIPHERALS>
+        <PERIPHERAL INSTANCE="microblaze_0_d_bram_ctrl"/>
+        <PERIPHERAL INSTANCE="microblaze_0_i_bram_ctrl"/>
+        <PERIPHERAL INSTANCE="debug_module"/>
+        <PERIPHERAL INSTANCE="RS232_Uart_1"/>
+        <PERIPHERAL INSTANCE="LEDs_4Bits"/>
+        <PERIPHERAL INSTANCE="Push_Buttons_4Bits"/>
+        <PERIPHERAL INSTANCE="Ethernet_Lite"/>
+        <PERIPHERAL INSTANCE="axi_timer_0"/>
+        <PERIPHERAL INSTANCE="microblaze_0_intc"/>
+        <PERIPHERAL INSTANCE="axi_bram_ctrl_0"/>
+      </PERIPHERALS>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE BUSSTD="LMB" BUSSTD_PSF="LMB" HWVERSION="2.00.a" INSTANCE="microblaze_0_ilmb" IPTYPE="BUS" MHS_INDEX="3" MODCLASS="BUS" MODTYPE="lmb_v10">
+      <DESCRIPTION TYPE="SHORT">Local Memory Bus (LMB) 1.0</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">'The LMB is a fast, local bus for connecting MicroBlaze I and D ports to peripherals and BRAM'</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/lmb_v10_v2_00_a/doc/lmb_v10.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_LMB_NUM_SLAVES" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="1" NAME="C_LMB_AWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="2" NAME="C_LMB_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_EXT_RESET_HIGH" TYPE="integer" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="1" NAME="SYS_RST" SIGNAME="proc_sys_reset_0_BUS_STRUCT_RESET"/>
+        <PORT CLKFREQUENCY="100000000" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="LMB_CLK" SIGIS="CLK" SIGNAME="clk_100_0000MHzPLL0"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_Rst" DIR="O" MPD_INDEX="2" NAME="LMB_Rst" SIGNAME="microblaze_0_ilmb_LMB_Rst"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_M_ABus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="3" MSB="0" NAME="M_ABus" RIGHT="31" SIGNAME="microblaze_0_ilmb_M_ABus" VECFORMULA="[0:C_LMB_AWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_M_ReadStrobe" DIR="I" MPD_INDEX="4" NAME="M_ReadStrobe" SIGNAME="microblaze_0_ilmb_M_ReadStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_M_WriteStrobe" DIR="I" MPD_INDEX="5" NAME="M_WriteStrobe" SIGNAME="microblaze_0_ilmb_M_WriteStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_M_AddrStrobe" DIR="I" MPD_INDEX="6" NAME="M_AddrStrobe" SIGNAME="microblaze_0_ilmb_M_AddrStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_M_DBus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="7" MSB="0" NAME="M_DBus" RIGHT="31" SIGNAME="microblaze_0_ilmb_M_DBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_M_BE" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="8" MSB="0" NAME="M_BE" RIGHT="3" SIGNAME="microblaze_0_ilmb_M_BE" VECFORMULA="[0:(C_LMB_DWIDTH+7)/8-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_Sl_DBus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="9" MSB="0" NAME="Sl_DBus" RIGHT="31" SIGNAME="microblaze_0_ilmb_Sl_DBus" VECFORMULA="[0:(C_LMB_DWIDTH*C_LMB_NUM_SLAVES)-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_Sl_Ready" DIR="I" MPD_INDEX="10" NAME="Sl_Ready" SIGNAME="microblaze_0_ilmb_Sl_Ready" VECFORMULA="[0:C_LMB_NUM_SLAVES-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_Sl_Wait" DIR="I" MPD_INDEX="11" NAME="Sl_Wait" SIGNAME="microblaze_0_ilmb_Sl_Wait" VECFORMULA="[0:C_LMB_NUM_SLAVES-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_Sl_UE" DIR="I" MPD_INDEX="12" NAME="Sl_UE" SIGNAME="microblaze_0_ilmb_Sl_UE" VECFORMULA="[0:C_LMB_NUM_SLAVES-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_Sl_CE" DIR="I" MPD_INDEX="13" NAME="Sl_CE" SIGNAME="microblaze_0_ilmb_Sl_CE" VECFORMULA="[0:C_LMB_NUM_SLAVES-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_ABus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="14" MSB="0" NAME="LMB_ABus" RIGHT="31" SIGNAME="microblaze_0_ilmb_LMB_ABus" VECFORMULA="[0:C_LMB_AWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_ReadStrobe" DIR="O" MPD_INDEX="15" NAME="LMB_ReadStrobe" SIGNAME="microblaze_0_ilmb_LMB_ReadStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_WriteStrobe" DIR="O" MPD_INDEX="16" NAME="LMB_WriteStrobe" SIGNAME="microblaze_0_ilmb_LMB_WriteStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_AddrStrobe" DIR="O" MPD_INDEX="17" NAME="LMB_AddrStrobe" SIGNAME="microblaze_0_ilmb_LMB_AddrStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_ReadDBus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="18" MSB="0" NAME="LMB_ReadDBus" RIGHT="31" SIGNAME="microblaze_0_ilmb_LMB_ReadDBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_WriteDBus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="19" MSB="0" NAME="LMB_WriteDBus" RIGHT="31" SIGNAME="microblaze_0_ilmb_LMB_WriteDBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_Ready" DIR="O" MPD_INDEX="20" NAME="LMB_Ready" SIGNAME="microblaze_0_ilmb_LMB_Ready"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_Wait" DIR="O" MPD_INDEX="21" NAME="LMB_Wait" SIGNAME="microblaze_0_ilmb_LMB_Wait"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_UE" DIR="O" MPD_INDEX="22" NAME="LMB_UE" SIGNAME="microblaze_0_ilmb_LMB_UE"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_CE" DIR="O" MPD_INDEX="23" NAME="LMB_CE" SIGNAME="microblaze_0_ilmb_LMB_CE"/>
+        <PORT DEF_SIGNAME="microblaze_0_ilmb_LMB_BE" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="24" MSB="0" NAME="LMB_BE" RIGHT="3" SIGNAME="microblaze_0_ilmb_LMB_BE" VECFORMULA="[0:(C_LMB_DWIDTH+7)/8-1]"/>
+      </PORTS>
+      <BUSINTERFACES/>
+      <IOINTERFACES>
+        <IOINTERFACE MPD_INDEX="0" NAME="reset_0"/>
+      </IOINTERFACES>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE BUSSTD="LMB" BUSSTD_PSF="LMB" HWVERSION="2.00.a" INSTANCE="microblaze_0_dlmb" IPTYPE="BUS" MHS_INDEX="4" MODCLASS="BUS" MODTYPE="lmb_v10">
+      <DESCRIPTION TYPE="SHORT">Local Memory Bus (LMB) 1.0</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">'The LMB is a fast, local bus for connecting MicroBlaze I and D ports to peripherals and BRAM'</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/lmb_v10_v2_00_a/doc/lmb_v10.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_LMB_NUM_SLAVES" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="1" NAME="C_LMB_AWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="2" NAME="C_LMB_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_EXT_RESET_HIGH" TYPE="integer" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="1" NAME="SYS_RST" SIGNAME="proc_sys_reset_0_BUS_STRUCT_RESET"/>
+        <PORT CLKFREQUENCY="100000000" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="LMB_CLK" SIGIS="CLK" SIGNAME="clk_100_0000MHzPLL0"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_Rst" DIR="O" MPD_INDEX="2" NAME="LMB_Rst" SIGNAME="microblaze_0_dlmb_LMB_Rst"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_M_ABus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="3" MSB="0" NAME="M_ABus" RIGHT="31" SIGNAME="microblaze_0_dlmb_M_ABus" VECFORMULA="[0:C_LMB_AWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_M_ReadStrobe" DIR="I" MPD_INDEX="4" NAME="M_ReadStrobe" SIGNAME="microblaze_0_dlmb_M_ReadStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_M_WriteStrobe" DIR="I" MPD_INDEX="5" NAME="M_WriteStrobe" SIGNAME="microblaze_0_dlmb_M_WriteStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_M_AddrStrobe" DIR="I" MPD_INDEX="6" NAME="M_AddrStrobe" SIGNAME="microblaze_0_dlmb_M_AddrStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_M_DBus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="7" MSB="0" NAME="M_DBus" RIGHT="31" SIGNAME="microblaze_0_dlmb_M_DBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_M_BE" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="8" MSB="0" NAME="M_BE" RIGHT="3" SIGNAME="microblaze_0_dlmb_M_BE" VECFORMULA="[0:(C_LMB_DWIDTH+7)/8-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_Sl_DBus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="9" MSB="0" NAME="Sl_DBus" RIGHT="31" SIGNAME="microblaze_0_dlmb_Sl_DBus" VECFORMULA="[0:(C_LMB_DWIDTH*C_LMB_NUM_SLAVES)-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_Sl_Ready" DIR="I" MPD_INDEX="10" NAME="Sl_Ready" SIGNAME="microblaze_0_dlmb_Sl_Ready" VECFORMULA="[0:C_LMB_NUM_SLAVES-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_Sl_Wait" DIR="I" MPD_INDEX="11" NAME="Sl_Wait" SIGNAME="microblaze_0_dlmb_Sl_Wait" VECFORMULA="[0:C_LMB_NUM_SLAVES-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_Sl_UE" DIR="I" MPD_INDEX="12" NAME="Sl_UE" SIGNAME="microblaze_0_dlmb_Sl_UE" VECFORMULA="[0:C_LMB_NUM_SLAVES-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_Sl_CE" DIR="I" MPD_INDEX="13" NAME="Sl_CE" SIGNAME="microblaze_0_dlmb_Sl_CE" VECFORMULA="[0:C_LMB_NUM_SLAVES-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_ABus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="14" MSB="0" NAME="LMB_ABus" RIGHT="31" SIGNAME="microblaze_0_dlmb_LMB_ABus" VECFORMULA="[0:C_LMB_AWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_ReadStrobe" DIR="O" MPD_INDEX="15" NAME="LMB_ReadStrobe" SIGNAME="microblaze_0_dlmb_LMB_ReadStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_WriteStrobe" DIR="O" MPD_INDEX="16" NAME="LMB_WriteStrobe" SIGNAME="microblaze_0_dlmb_LMB_WriteStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_AddrStrobe" DIR="O" MPD_INDEX="17" NAME="LMB_AddrStrobe" SIGNAME="microblaze_0_dlmb_LMB_AddrStrobe"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_ReadDBus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="18" MSB="0" NAME="LMB_ReadDBus" RIGHT="31" SIGNAME="microblaze_0_dlmb_LMB_ReadDBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_WriteDBus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="19" MSB="0" NAME="LMB_WriteDBus" RIGHT="31" SIGNAME="microblaze_0_dlmb_LMB_WriteDBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_Ready" DIR="O" MPD_INDEX="20" NAME="LMB_Ready" SIGNAME="microblaze_0_dlmb_LMB_Ready"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_Wait" DIR="O" MPD_INDEX="21" NAME="LMB_Wait" SIGNAME="microblaze_0_dlmb_LMB_Wait"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_UE" DIR="O" MPD_INDEX="22" NAME="LMB_UE" SIGNAME="microblaze_0_dlmb_LMB_UE"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_CE" DIR="O" MPD_INDEX="23" NAME="LMB_CE" SIGNAME="microblaze_0_dlmb_LMB_CE"/>
+        <PORT DEF_SIGNAME="microblaze_0_dlmb_LMB_BE" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="24" MSB="0" NAME="LMB_BE" RIGHT="3" SIGNAME="microblaze_0_dlmb_LMB_BE" VECFORMULA="[0:(C_LMB_DWIDTH+7)/8-1]"/>
+      </PORTS>
+      <BUSINTERFACES/>
+      <IOINTERFACES>
+        <IOINTERFACE MPD_INDEX="0" NAME="reset_0"/>
+      </IOINTERFACES>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="3.00.a" INSTANCE="microblaze_0_i_bram_ctrl" IPTYPE="PERIPHERAL" MHS_INDEX="5" MODCLASS="MEMORY_CNTLR" MODTYPE="lmb_bram_if_cntlr">
+      <DESCRIPTION TYPE="SHORT">LMB BRAM Controller</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">Local Memory Bus (LMB) Block RAM (BRAM) Interface Controller connects to an lmb bus</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/lmb_bram_if_cntlr_v3_00_a/doc/lmb_bram_if_cntlr.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="MEMORY" CHANGEDBY="USER" ENDIAN="BIG" IS_INSTANTIATED="TRUE" LSB="31" MHS_INDEX="2" MPD_INDEX="0" MSB="0" NAME="C_BASEADDR" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="MEMORY" CHANGEDBY="USER" ENDIAN="BIG" IS_INSTANTIATED="TRUE" LSB="31" MHS_INDEX="3" MPD_INDEX="1" MSB="0" NAME="C_HIGHADDR" TYPE="std_logic_vector" VALUE="0x00001fff"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="2" NAME="C_FAMILY" TYPE="string" VALUE="spartan6"/>
+        <PARAMETER ENDIAN="BIG" LSB="31" MPD_INDEX="3" MSB="0" NAME="C_MASK" TYPE="std_logic_vector" VALUE="0x00800000"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_LMB_AWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_LMB_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_ECC" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_INTERCONNECT" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_FAULT_INJECT" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_CE_FAILING_REGISTERS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_UE_FAILING_REGISTERS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_ECC_STATUS_REGISTERS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="12" NAME="C_ECC_ONOFF_REGISTER" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="13" NAME="C_ECC_ONOFF_RESET_VALUE" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_CE_COUNTER_WIDTH" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_WRITE_ACCESS" TYPE="integer" VALUE="2"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" MPD_INDEX="16" NAME="C_SPLB_CTRL_BASEADDR" TYPE="std_logic_vector" VALUE="0xFFFFFFFF"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" MPD_INDEX="17" NAME="C_SPLB_CTRL_HIGHADDR" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="18" NAME="C_SPLB_CTRL_AWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="19" NAME="C_SPLB_CTRL_DWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="20" NAME="C_SPLB_CTRL_P2P" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="21" NAME="C_SPLB_CTRL_MID_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="22" NAME="C_SPLB_CTRL_NUM_MASTERS" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="23" NAME="C_SPLB_CTRL_SUPPORT_BURSTS" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="24" NAME="C_SPLB_CTRL_NATIVE_DWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="25" NAME="C_SPLB_CTRL_CLK_FREQ_HZ" TYPE="INTEGER" VALUE="100000000"/>
+        <PARAMETER MPD_INDEX="26" NAME="C_S_AXI_CTRL_ACLK_FREQ_HZ" TYPE="INTEGER" VALUE="100000000"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" MPD_INDEX="27" NAME="C_S_AXI_CTRL_BASEADDR" TYPE="std_logic_vector" VALUE="0xFFFFFFFF"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" MPD_INDEX="28" NAME="C_S_AXI_CTRL_HIGHADDR" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="29" NAME="C_S_AXI_CTRL_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="30" NAME="C_S_AXI_CTRL_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="31" NAME="C_S_AXI_CTRL_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT BUS="SLMB" CLKFREQUENCY="100000000" DEF_SIGNAME="clk_100_0000MHzPLL0" DIR="I" MPD_INDEX="0" NAME="LMB_Clk" SIGIS="CLK" SIGNAME="clk_100_0000MHzPLL0"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_Rst" DIR="I" MPD_INDEX="1" NAME="LMB_Rst" SIGIS="RST" SIGNAME="microblaze_0_ilmb_LMB_Rst"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_ABus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="2" MSB="0" NAME="LMB_ABus" RIGHT="31" SIGNAME="microblaze_0_ilmb_LMB_ABus" VECFORMULA="[0:C_LMB_AWIDTH-1]"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_WriteDBus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="3" MSB="0" NAME="LMB_WriteDBus" RIGHT="31" SIGNAME="microblaze_0_ilmb_LMB_WriteDBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_AddrStrobe" DIR="I" MPD_INDEX="4" NAME="LMB_AddrStrobe" SIGNAME="microblaze_0_ilmb_LMB_AddrStrobe"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_ReadStrobe" DIR="I" MPD_INDEX="5" NAME="LMB_ReadStrobe" SIGNAME="microblaze_0_ilmb_LMB_ReadStrobe"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_WriteStrobe" DIR="I" MPD_INDEX="6" NAME="LMB_WriteStrobe" SIGNAME="microblaze_0_ilmb_LMB_WriteStrobe"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_LMB_BE" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="7" MSB="0" NAME="LMB_BE" RIGHT="3" SIGNAME="microblaze_0_ilmb_LMB_BE" VECFORMULA="[0:C_LMB_DWIDTH/8-1]"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_Sl_DBus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="8" MSB="0" NAME="Sl_DBus" RIGHT="31" SIGNAME="microblaze_0_ilmb_Sl_DBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_Sl_Ready" DIR="O" MPD_INDEX="9" NAME="Sl_Ready" SIGNAME="microblaze_0_ilmb_Sl_Ready"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_Sl_Wait" DIR="O" MPD_INDEX="10" NAME="Sl_Wait" SIGNAME="microblaze_0_ilmb_Sl_Wait"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_Sl_UE" DIR="O" MPD_INDEX="11" NAME="Sl_UE" SIGNAME="microblaze_0_ilmb_Sl_UE"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_ilmb_Sl_CE" DIR="O" MPD_INDEX="12" NAME="Sl_CE" SIGNAME="microblaze_0_ilmb_Sl_CE"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Rst" DIR="O" MPD_INDEX="13" NAME="BRAM_Rst_A" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Rst"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Clk" DIR="O" MPD_INDEX="14" NAME="BRAM_Clk_A" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Clk"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_EN" DIR="O" MPD_INDEX="15" NAME="BRAM_EN_A" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_EN"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_WEN" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="16" MSB="0" NAME="BRAM_WEN_A" RIGHT="3" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_WEN" VECFORMULA="[0:((C_LMB_DWIDTH+8*C_ECC)/8)-1]"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Addr" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="17" MSB="0" NAME="BRAM_Addr_A" RIGHT="31" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Addr" VECFORMULA="[0:C_LMB_AWIDTH-1]"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Din" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="18" MSB="0" NAME="BRAM_Din_A" RIGHT="31" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Din" VECFORMULA="[0:C_LMB_DWIDTH-1+8*C_ECC]"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Dout" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="19" MSB="0" NAME="BRAM_Dout_A" RIGHT="31" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Dout" VECFORMULA="[0:C_LMB_DWIDTH-1+8*C_ECC]"/>
+        <PORT DIR="O" MPD_INDEX="20" NAME="Interrupt" SENSITIVITY="LEVEL_HIGH" SIGIS="INTERRUPT" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="21" MSB="0" NAME="SPLB_CTRL_PLB_ABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="22" NAME="SPLB_CTRL_PLB_PAValid" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="23" NAME="SPLB_CTRL_PLB_masterID" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_MID_WIDTH-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="24" NAME="SPLB_CTRL_PLB_RNW" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="25" MSB="0" NAME="SPLB_CTRL_PLB_BE" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:((C_SPLB_CTRL_DWIDTH/8)-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="26" MSB="0" NAME="SPLB_CTRL_PLB_size" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="2" MPD_INDEX="27" MSB="0" NAME="SPLB_CTRL_PLB_type" RIGHT="2" SIGNAME="__NOC__" VECFORMULA="[0:2]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="28" MSB="0" NAME="SPLB_CTRL_PLB_wrDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_DWIDTH-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="29" NAME="SPLB_CTRL_Sl_addrAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="30" MSB="0" NAME="SPLB_CTRL_Sl_SSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="31" NAME="SPLB_CTRL_Sl_wait" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="32" NAME="SPLB_CTRL_Sl_rearbitrate" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="33" NAME="SPLB_CTRL_Sl_wrDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="34" NAME="SPLB_CTRL_Sl_wrComp" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="35" MSB="0" NAME="SPLB_CTRL_Sl_rdDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_DWIDTH-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="36" NAME="SPLB_CTRL_Sl_rdDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="37" NAME="SPLB_CTRL_Sl_rdComp" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="38" NAME="SPLB_CTRL_Sl_MBusy" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="39" NAME="SPLB_CTRL_Sl_MWrErr" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="40" NAME="SPLB_CTRL_Sl_MRdErr" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="41" MSB="0" NAME="SPLB_CTRL_PLB_UABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="42" NAME="SPLB_CTRL_PLB_SAValid" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="43" NAME="SPLB_CTRL_PLB_rdPrim" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="44" NAME="SPLB_CTRL_PLB_wrPrim" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="45" NAME="SPLB_CTRL_PLB_abort" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="46" NAME="SPLB_CTRL_PLB_busLock" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="47" MSB="0" NAME="SPLB_CTRL_PLB_MSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="48" NAME="SPLB_CTRL_PLB_lockErr" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="49" NAME="SPLB_CTRL_PLB_wrBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="50" NAME="SPLB_CTRL_PLB_rdBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="51" NAME="SPLB_CTRL_PLB_wrPendReq" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="52" NAME="SPLB_CTRL_PLB_rdPendReq" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="53" MSB="0" NAME="SPLB_CTRL_PLB_wrPendPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="54" MSB="0" NAME="SPLB_CTRL_PLB_rdPendPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="55" MSB="0" NAME="SPLB_CTRL_PLB_reqPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="15" MPD_INDEX="56" MSB="0" NAME="SPLB_CTRL_PLB_TAttribute" RIGHT="15" SIGNAME="__NOC__" VECFORMULA="[0:15]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="57" NAME="SPLB_CTRL_Sl_wrBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="58" MSB="0" NAME="SPLB_CTRL_Sl_rdWdAddr" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="59" NAME="SPLB_CTRL_Sl_rdBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="60" NAME="SPLB_CTRL_Sl_MIRQ" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_NUM_MASTERS-1)]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="61" NAME="S_AXI_CTRL_ACLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="62" NAME="S_AXI_CTRL_ARESETN" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="63" MSB="31" NAME="S_AXI_CTRL_AWADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="64" NAME="S_AXI_CTRL_AWVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="65" NAME="S_AXI_CTRL_AWREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="66" MSB="31" NAME="S_AXI_CTRL_WDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="67" MSB="3" NAME="S_AXI_CTRL_WSTRB" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[((C_S_AXI_CTRL_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="68" NAME="S_AXI_CTRL_WVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="69" NAME="S_AXI_CTRL_WREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="70" MSB="1" NAME="S_AXI_CTRL_BRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="71" NAME="S_AXI_CTRL_BVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="72" NAME="S_AXI_CTRL_BREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="73" MSB="31" NAME="S_AXI_CTRL_ARADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="74" NAME="S_AXI_CTRL_ARVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="75" NAME="S_AXI_CTRL_ARREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="76" MSB="31" NAME="S_AXI_CTRL_RDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="77" MSB="1" NAME="S_AXI_CTRL_RRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="78" NAME="S_AXI_CTRL_RVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="79" NAME="S_AXI_CTRL_RREADY" SIGNAME="__NOC__"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="microblaze_0_ilmb" BUSSTD="LMB" BUSSTD_PSF="LMB" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="SLMB" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="LMB_Clk"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_Rst"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_ABus"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_WriteDBus"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_AddrStrobe"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_ReadStrobe"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_WriteStrobe"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_BE"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_DBus"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_Ready"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_Wait"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_UE"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_CE"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block" BUSSTD="XIL" BUSSTD_PSF="XIL_BRAM" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="1" NAME="BRAM_PORT" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Rst_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Clk_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_EN_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_WEN_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Addr_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Din_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Dout_A"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="PLBV46" BUSSTD_PSF="PLBV46" IS_VALID="FALSE" MPD_INDEX="2" NAME="SPLB_CTRL" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_ABus"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_PAValid"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_masterID"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_RNW"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_BE"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_size"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_type"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrDBus"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_addrAck"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_SSize"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_wait"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rearbitrate"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_wrDAck"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_wrComp"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdDBus"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdDAck"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdComp"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_MBusy"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_MWrErr"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_MRdErr"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_UABus"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_SAValid"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_rdPrim"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrPrim"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_abort"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_busLock"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_MSize"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_lockErr"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrBurst"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_rdBurst"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrPendReq"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_rdPendReq"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrPendPri"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_rdPendPri"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_reqPri"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_TAttribute"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_wrBTerm"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdWdAddr"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdBTerm"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_MIRQ"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_VALID="FALSE" MPD_INDEX="3" NAME="S_AXI_CTRL" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="0" BASENAME="C_BASEADDR" BASEVALUE="0x00000000" HIGHDECIMAL="8191" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x00001fff" MEMTYPE="MEMORY" MINSIZE="0x800" SIZE="8192" SIZEABRV="8K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="SLMB"/>
+          </SLAVES>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="4294967295" BASENAME="C_SPLB_CTRL_BASEADDR" BASEVALUE="0xFFFFFFFF" HIGHDECIMAL="0" HIGHNAME="C_SPLB_CTRL_HIGHADDR" HIGHVALUE="0x00000000" IS_VALID="FALSE" MEMTYPE="REGISTER" MINSIZE="0x100" SIZE="0" SIZEABRV="U">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="SPLB_CTRL"/>
+          </SLAVES>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="4294967295" BASENAME="C_S_AXI_CTRL_BASEADDR" BASEVALUE="0xFFFFFFFF" HIGHDECIMAL="0" HIGHNAME="C_S_AXI_CTRL_HIGHADDR" HIGHVALUE="0x00000000" IS_VALID="FALSE" MEMTYPE="REGISTER" MINSIZE="0x100" SIZE="0" SIZEABRV="U">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI_CTRL"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="3.00.a" INSTANCE="microblaze_0_d_bram_ctrl" IPTYPE="PERIPHERAL" MHS_INDEX="6" MODCLASS="MEMORY_CNTLR" MODTYPE="lmb_bram_if_cntlr">
+      <DESCRIPTION TYPE="SHORT">LMB BRAM Controller</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">Local Memory Bus (LMB) Block RAM (BRAM) Interface Controller connects to an lmb bus</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/lmb_bram_if_cntlr_v3_00_a/doc/lmb_bram_if_cntlr.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="MEMORY" CHANGEDBY="USER" ENDIAN="BIG" IS_INSTANTIATED="TRUE" LSB="31" MHS_INDEX="2" MPD_INDEX="0" MSB="0" NAME="C_BASEADDR" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="MEMORY" CHANGEDBY="USER" ENDIAN="BIG" IS_INSTANTIATED="TRUE" LSB="31" MHS_INDEX="3" MPD_INDEX="1" MSB="0" NAME="C_HIGHADDR" TYPE="std_logic_vector" VALUE="0x00001fff"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="2" NAME="C_FAMILY" TYPE="string" VALUE="spartan6"/>
+        <PARAMETER ENDIAN="BIG" LSB="31" MPD_INDEX="3" MSB="0" NAME="C_MASK" TYPE="std_logic_vector" VALUE="0x00800000"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_LMB_AWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_LMB_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_ECC" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_INTERCONNECT" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_FAULT_INJECT" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_CE_FAILING_REGISTERS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_UE_FAILING_REGISTERS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_ECC_STATUS_REGISTERS" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="12" NAME="C_ECC_ONOFF_REGISTER" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="13" NAME="C_ECC_ONOFF_RESET_VALUE" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_CE_COUNTER_WIDTH" TYPE="integer" VALUE="0"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_WRITE_ACCESS" TYPE="integer" VALUE="2"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" MPD_INDEX="16" NAME="C_SPLB_CTRL_BASEADDR" TYPE="std_logic_vector" VALUE="0xFFFFFFFF"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" MPD_INDEX="17" NAME="C_SPLB_CTRL_HIGHADDR" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="18" NAME="C_SPLB_CTRL_AWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="19" NAME="C_SPLB_CTRL_DWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="20" NAME="C_SPLB_CTRL_P2P" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="21" NAME="C_SPLB_CTRL_MID_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="22" NAME="C_SPLB_CTRL_NUM_MASTERS" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="23" NAME="C_SPLB_CTRL_SUPPORT_BURSTS" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="24" NAME="C_SPLB_CTRL_NATIVE_DWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="25" NAME="C_SPLB_CTRL_CLK_FREQ_HZ" TYPE="INTEGER" VALUE="100000000"/>
+        <PARAMETER MPD_INDEX="26" NAME="C_S_AXI_CTRL_ACLK_FREQ_HZ" TYPE="INTEGER" VALUE="100000000"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" MPD_INDEX="27" NAME="C_S_AXI_CTRL_BASEADDR" TYPE="std_logic_vector" VALUE="0xFFFFFFFF"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" MPD_INDEX="28" NAME="C_S_AXI_CTRL_HIGHADDR" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="29" NAME="C_S_AXI_CTRL_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="30" NAME="C_S_AXI_CTRL_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="31" NAME="C_S_AXI_CTRL_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT BUS="SLMB" CLKFREQUENCY="100000000" DEF_SIGNAME="clk_100_0000MHzPLL0" DIR="I" MPD_INDEX="0" NAME="LMB_Clk" SIGIS="CLK" SIGNAME="clk_100_0000MHzPLL0"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_Rst" DIR="I" MPD_INDEX="1" NAME="LMB_Rst" SIGIS="RST" SIGNAME="microblaze_0_dlmb_LMB_Rst"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_ABus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="2" MSB="0" NAME="LMB_ABus" RIGHT="31" SIGNAME="microblaze_0_dlmb_LMB_ABus" VECFORMULA="[0:C_LMB_AWIDTH-1]"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_WriteDBus" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="3" MSB="0" NAME="LMB_WriteDBus" RIGHT="31" SIGNAME="microblaze_0_dlmb_LMB_WriteDBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_AddrStrobe" DIR="I" MPD_INDEX="4" NAME="LMB_AddrStrobe" SIGNAME="microblaze_0_dlmb_LMB_AddrStrobe"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_ReadStrobe" DIR="I" MPD_INDEX="5" NAME="LMB_ReadStrobe" SIGNAME="microblaze_0_dlmb_LMB_ReadStrobe"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_WriteStrobe" DIR="I" MPD_INDEX="6" NAME="LMB_WriteStrobe" SIGNAME="microblaze_0_dlmb_LMB_WriteStrobe"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_LMB_BE" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="7" MSB="0" NAME="LMB_BE" RIGHT="3" SIGNAME="microblaze_0_dlmb_LMB_BE" VECFORMULA="[0:C_LMB_DWIDTH/8-1]"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_Sl_DBus" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="8" MSB="0" NAME="Sl_DBus" RIGHT="31" SIGNAME="microblaze_0_dlmb_Sl_DBus" VECFORMULA="[0:C_LMB_DWIDTH-1]"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_Sl_Ready" DIR="O" MPD_INDEX="9" NAME="Sl_Ready" SIGNAME="microblaze_0_dlmb_Sl_Ready"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_Sl_Wait" DIR="O" MPD_INDEX="10" NAME="Sl_Wait" SIGNAME="microblaze_0_dlmb_Sl_Wait"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_Sl_UE" DIR="O" MPD_INDEX="11" NAME="Sl_UE" SIGNAME="microblaze_0_dlmb_Sl_UE"/>
+        <PORT BUS="SLMB" DEF_SIGNAME="microblaze_0_dlmb_Sl_CE" DIR="O" MPD_INDEX="12" NAME="Sl_CE" SIGNAME="microblaze_0_dlmb_Sl_CE"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Rst" DIR="O" MPD_INDEX="13" NAME="BRAM_Rst_A" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Rst"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Clk" DIR="O" MPD_INDEX="14" NAME="BRAM_Clk_A" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Clk"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_EN" DIR="O" MPD_INDEX="15" NAME="BRAM_EN_A" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_EN"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_WEN" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="16" MSB="0" NAME="BRAM_WEN_A" RIGHT="3" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_WEN" VECFORMULA="[0:((C_LMB_DWIDTH+8*C_ECC)/8)-1]"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Addr" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="17" MSB="0" NAME="BRAM_Addr_A" RIGHT="31" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Addr" VECFORMULA="[0:C_LMB_AWIDTH-1]"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Din" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="18" MSB="0" NAME="BRAM_Din_A" RIGHT="31" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Din" VECFORMULA="[0:C_LMB_DWIDTH-1+8*C_ECC]"/>
+        <PORT BUS="BRAM_PORT" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Dout" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="19" MSB="0" NAME="BRAM_Dout_A" RIGHT="31" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Dout" VECFORMULA="[0:C_LMB_DWIDTH-1+8*C_ECC]"/>
+        <PORT DIR="O" MPD_INDEX="20" NAME="Interrupt" SENSITIVITY="LEVEL_HIGH" SIGIS="INTERRUPT" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="21" MSB="0" NAME="SPLB_CTRL_PLB_ABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="22" NAME="SPLB_CTRL_PLB_PAValid" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="23" NAME="SPLB_CTRL_PLB_masterID" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_MID_WIDTH-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="24" NAME="SPLB_CTRL_PLB_RNW" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="25" MSB="0" NAME="SPLB_CTRL_PLB_BE" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:((C_SPLB_CTRL_DWIDTH/8)-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="26" MSB="0" NAME="SPLB_CTRL_PLB_size" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="2" MPD_INDEX="27" MSB="0" NAME="SPLB_CTRL_PLB_type" RIGHT="2" SIGNAME="__NOC__" VECFORMULA="[0:2]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="28" MSB="0" NAME="SPLB_CTRL_PLB_wrDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_DWIDTH-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="29" NAME="SPLB_CTRL_Sl_addrAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="30" MSB="0" NAME="SPLB_CTRL_Sl_SSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="31" NAME="SPLB_CTRL_Sl_wait" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="32" NAME="SPLB_CTRL_Sl_rearbitrate" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="33" NAME="SPLB_CTRL_Sl_wrDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="34" NAME="SPLB_CTRL_Sl_wrComp" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="35" MSB="0" NAME="SPLB_CTRL_Sl_rdDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_DWIDTH-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="36" NAME="SPLB_CTRL_Sl_rdDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="37" NAME="SPLB_CTRL_Sl_rdComp" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="38" NAME="SPLB_CTRL_Sl_MBusy" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="39" NAME="SPLB_CTRL_Sl_MWrErr" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="40" NAME="SPLB_CTRL_Sl_MRdErr" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="41" MSB="0" NAME="SPLB_CTRL_PLB_UABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="42" NAME="SPLB_CTRL_PLB_SAValid" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="43" NAME="SPLB_CTRL_PLB_rdPrim" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="44" NAME="SPLB_CTRL_PLB_wrPrim" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="45" NAME="SPLB_CTRL_PLB_abort" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="46" NAME="SPLB_CTRL_PLB_busLock" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="47" MSB="0" NAME="SPLB_CTRL_PLB_MSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="48" NAME="SPLB_CTRL_PLB_lockErr" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="49" NAME="SPLB_CTRL_PLB_wrBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="50" NAME="SPLB_CTRL_PLB_rdBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="51" NAME="SPLB_CTRL_PLB_wrPendReq" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="52" NAME="SPLB_CTRL_PLB_rdPendReq" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="53" MSB="0" NAME="SPLB_CTRL_PLB_wrPendPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="54" MSB="0" NAME="SPLB_CTRL_PLB_rdPendPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="55" MSB="0" NAME="SPLB_CTRL_PLB_reqPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="15" MPD_INDEX="56" MSB="0" NAME="SPLB_CTRL_PLB_TAttribute" RIGHT="15" SIGNAME="__NOC__" VECFORMULA="[0:15]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="57" NAME="SPLB_CTRL_Sl_wrBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="58" MSB="0" NAME="SPLB_CTRL_Sl_rdWdAddr" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="59" NAME="SPLB_CTRL_Sl_rdBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="60" NAME="SPLB_CTRL_Sl_MIRQ" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_CTRL_NUM_MASTERS-1)]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="61" NAME="S_AXI_CTRL_ACLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="62" NAME="S_AXI_CTRL_ARESETN" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="63" MSB="31" NAME="S_AXI_CTRL_AWADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="64" NAME="S_AXI_CTRL_AWVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="65" NAME="S_AXI_CTRL_AWREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="66" MSB="31" NAME="S_AXI_CTRL_WDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="67" MSB="3" NAME="S_AXI_CTRL_WSTRB" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[((C_S_AXI_CTRL_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="68" NAME="S_AXI_CTRL_WVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="69" NAME="S_AXI_CTRL_WREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="70" MSB="1" NAME="S_AXI_CTRL_BRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="71" NAME="S_AXI_CTRL_BVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="72" NAME="S_AXI_CTRL_BREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="73" MSB="31" NAME="S_AXI_CTRL_ARADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="74" NAME="S_AXI_CTRL_ARVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="75" NAME="S_AXI_CTRL_ARREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="76" MSB="31" NAME="S_AXI_CTRL_RDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_S_AXI_CTRL_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="77" MSB="1" NAME="S_AXI_CTRL_RRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="78" NAME="S_AXI_CTRL_RVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="79" NAME="S_AXI_CTRL_RREADY" SIGNAME="__NOC__"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="microblaze_0_dlmb" BUSSTD="LMB" BUSSTD_PSF="LMB" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="SLMB" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="LMB_Clk"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_Rst"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_ABus"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_WriteDBus"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_AddrStrobe"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_ReadStrobe"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_WriteStrobe"/>
+            <PORTMAP DIR="I" PHYSICAL="LMB_BE"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_DBus"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_Ready"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_Wait"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_UE"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_CE"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block" BUSSTD="XIL" BUSSTD_PSF="XIL_BRAM" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="1" NAME="BRAM_PORT" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Rst_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Clk_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_EN_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_WEN_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Addr_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Din_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Dout_A"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="PLBV46" BUSSTD_PSF="PLBV46" IS_VALID="FALSE" MPD_INDEX="2" NAME="SPLB_CTRL" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_ABus"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_PAValid"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_masterID"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_RNW"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_BE"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_size"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_type"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrDBus"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_addrAck"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_SSize"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_wait"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rearbitrate"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_wrDAck"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_wrComp"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdDBus"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdDAck"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdComp"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_MBusy"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_MWrErr"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_MRdErr"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_UABus"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_SAValid"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_rdPrim"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrPrim"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_abort"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_busLock"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_MSize"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_lockErr"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrBurst"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_rdBurst"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrPendReq"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_rdPendReq"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_wrPendPri"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_rdPendPri"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_reqPri"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_CTRL_PLB_TAttribute"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_wrBTerm"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdWdAddr"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_rdBTerm"/>
+            <PORTMAP DIR="O" PHYSICAL="SPLB_CTRL_Sl_MIRQ"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_VALID="FALSE" MPD_INDEX="3" NAME="S_AXI_CTRL" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="0" BASENAME="C_BASEADDR" BASEVALUE="0x00000000" HIGHDECIMAL="8191" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x00001fff" MEMTYPE="MEMORY" MINSIZE="0x800" SIZE="8192" SIZEABRV="8K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="SLMB"/>
+          </SLAVES>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="4294967295" BASENAME="C_SPLB_CTRL_BASEADDR" BASEVALUE="0xFFFFFFFF" HIGHDECIMAL="0" HIGHNAME="C_SPLB_CTRL_HIGHADDR" HIGHVALUE="0x00000000" IS_VALID="FALSE" MEMTYPE="REGISTER" MINSIZE="0x100" SIZE="0" SIZEABRV="U">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="SPLB_CTRL"/>
+          </SLAVES>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="4294967295" BASENAME="C_S_AXI_CTRL_BASEADDR" BASEVALUE="0xFFFFFFFF" HIGHDECIMAL="0" HIGHNAME="C_S_AXI_CTRL_HIGHADDR" HIGHVALUE="0x00000000" IS_VALID="FALSE" MEMTYPE="REGISTER" MINSIZE="0x100" SIZE="0" SIZEABRV="U">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI_CTRL"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.00.a" INSTANCE="microblaze_0_bram_block" IPTYPE="PERIPHERAL" MHS_INDEX="7" MODCLASS="MEMORY" MODTYPE="bram_block">
+      <DESCRIPTION TYPE="SHORT">Block RAM (BRAM) Block</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">The BRAM Block is a configurable memory module that attaches to a variety of BRAM Interface Controllers.</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/bram_block_v1_00_a/doc/bram_block.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_MEMSIZE" TYPE="integer" VALUE="0x2000"/>
+        <PARAMETER MPD_INDEX="1" NAME="C_PORT_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="2" NAME="C_PORT_AWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_NUM_WE" TYPE="integer" VALUE="4"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="4" NAME="C_FAMILY" TYPE="string" VALUE="spartan6"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT BUS="PORTA" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Rst" DIR="I" MPD_INDEX="0" NAME="BRAM_Rst_A" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Rst"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Clk" DIR="I" MPD_INDEX="1" NAME="BRAM_Clk_A" SIGIS="CLK" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Clk"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_EN" DIR="I" MPD_INDEX="2" NAME="BRAM_EN_A" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_EN"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_WEN" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="3" MSB="0" NAME="BRAM_WEN_A" RIGHT="3" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_WEN" VECFORMULA="[0:C_NUM_WE-1]"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Addr" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="4" MSB="0" NAME="BRAM_Addr_A" RIGHT="31" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Addr" VECFORMULA="[0:C_PORT_AWIDTH-1]"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Din" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="5" MSB="0" NAME="BRAM_Din_A" RIGHT="31" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Din" VECFORMULA="[0:C_PORT_DWIDTH-1]"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Dout" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="6" MSB="0" NAME="BRAM_Dout_A" RIGHT="31" SIGNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block_BRAM_Dout" VECFORMULA="[0:C_PORT_DWIDTH-1]"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Rst" DIR="I" MPD_INDEX="7" NAME="BRAM_Rst_B" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Rst"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Clk" DIR="I" MPD_INDEX="8" NAME="BRAM_Clk_B" SIGIS="CLK" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Clk"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_EN" DIR="I" MPD_INDEX="9" NAME="BRAM_EN_B" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_EN"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_WEN" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="10" MSB="0" NAME="BRAM_WEN_B" RIGHT="3" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_WEN" VECFORMULA="[0:C_NUM_WE-1]"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Addr" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="11" MSB="0" NAME="BRAM_Addr_B" RIGHT="31" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Addr" VECFORMULA="[0:C_PORT_AWIDTH-1]"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Din" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="12" MSB="0" NAME="BRAM_Din_B" RIGHT="31" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Din" VECFORMULA="[0:C_PORT_DWIDTH-1]"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Dout" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="13" MSB="0" NAME="BRAM_Dout_B" RIGHT="31" SIGNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block_BRAM_Dout" VECFORMULA="[0:C_PORT_DWIDTH-1]"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="microblaze_0_i_bram_ctrl_2_microblaze_0_bram_block" BUSSTD="XIL" BUSSTD_PSF="XIL_BRAM" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="PORTA" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Rst_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Clk_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_EN_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_WEN_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Addr_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Din_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Dout_A"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="microblaze_0_d_bram_ctrl_2_microblaze_0_bram_block" BUSSTD="XIL" BUSSTD_PSF="XIL_BRAM" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="1" NAME="PORTB" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Rst_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Clk_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_EN_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_WEN_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Addr_B"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Din_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Dout_B"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="3.00.a" INSTANCE="proc_sys_reset_0" IPTYPE="PERIPHERAL" MHS_INDEX="8" MODCLASS="PERIPHERAL" MODTYPE="proc_sys_reset">
+      <DESCRIPTION TYPE="SHORT">Processor System Reset Module</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">Reset management module</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/proc_sys_reset_v3_00_a/doc/proc_sys_reset.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_SUBFAMILY" TYPE="string" VALUE="t"/>
+        <PARAMETER MPD_INDEX="1" NAME="C_EXT_RST_WIDTH" TYPE="integer" VALUE="4"/>
+        <PARAMETER MPD_INDEX="2" NAME="C_AUX_RST_WIDTH" TYPE="integer" VALUE="4"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="3" NAME="C_EXT_RESET_HIGH" TYPE="std_logic" VALUE="1"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_AUX_RESET_HIGH" TYPE="std_logic" VALUE="1"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_NUM_BUS_RST" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_NUM_PERP_RST" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_NUM_INTERCONNECT_ARESETN" TYPE="integer" VALUE="1"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_NUM_PERP_ARESETN" TYPE="integer" VALUE="1"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="9" NAME="C_FAMILY" VALUE="spartan6"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="1" NAME="Ext_Reset_In" SIGIS="RST" SIGNAME="RESET"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="17" NAME="MB_Reset" SIGIS="RST" SIGNAME="proc_sys_reset_0_MB_Reset"/>
+        <PORT CLKFREQUENCY="50000000" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="0" NAME="Slowest_sync_clk" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="20" NAME="Interconnect_aresetn" SIGIS="RST" SIGNAME="proc_sys_reset_0_Interconnect_aresetn" VECFORMULA="[0:C_NUM_INTERCONNECT_ARESETN-1]"/>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="4" MPD_INDEX="10" NAME="Dcm_locked" SIGNAME="proc_sys_reset_0_Dcm_locked"/>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="3" NAME="MB_Debug_Sys_Rst" SIGIS="RST" SIGNAME="proc_sys_reset_0_MB_Debug_Sys_Rst"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="6" MPD_INDEX="18" NAME="BUS_STRUCT_RESET" SIGIS="RST" SIGNAME="proc_sys_reset_0_BUS_STRUCT_RESET" VECFORMULA="[0:C_NUM_BUS_RST-1]"/>
+        <PORT DIR="I" MPD_INDEX="2" NAME="Aux_Reset_In" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC0" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="4" NAME="Core_Reset_Req_0" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC0" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="5" NAME="Chip_Reset_Req_0" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC0" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="6" NAME="System_Reset_Req_0" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC1" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="7" NAME="Core_Reset_Req_1" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC1" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="8" NAME="Chip_Reset_Req_1" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC1" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="9" NAME="System_Reset_Req_1" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC0" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="11" NAME="RstcPPCresetcore_0" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC0" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="12" NAME="RstcPPCresetchip_0" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC0" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="13" NAME="RstcPPCresetsys_0" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="14" NAME="RstcPPCresetcore_1" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="15" NAME="RstcPPCresetchip_1" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="RESETPPC1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="16" NAME="RstcPPCresetsys_1" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT DIR="O" MPD_INDEX="19" NAME="Peripheral_Reset" SIGIS="RST" SIGNAME="__NOC__" VECFORMULA="[0:C_NUM_PERP_RST-1]"/>
+        <PORT DIR="O" MPD_INDEX="21" NAME="Peripheral_aresetn" SIGIS="RST" SIGNAME="__NOC__" VECFORMULA="[0:C_NUM_PERP_ARESETN-1]"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_RESETPPC" IS_VALID="FALSE" MPD_INDEX="0" NAME="RESETPPC0" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="Core_Reset_Req_0"/>
+            <PORTMAP DIR="I" PHYSICAL="Chip_Reset_Req_0"/>
+            <PORTMAP DIR="I" PHYSICAL="System_Reset_Req_0"/>
+            <PORTMAP DIR="O" PHYSICAL="RstcPPCresetcore_0"/>
+            <PORTMAP DIR="O" PHYSICAL="RstcPPCresetchip_0"/>
+            <PORTMAP DIR="O" PHYSICAL="RstcPPCresetsys_0"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_RESETPPC" IS_VALID="FALSE" MPD_INDEX="1" NAME="RESETPPC1" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="Core_Reset_Req_1"/>
+            <PORTMAP DIR="I" PHYSICAL="Chip_Reset_Req_1"/>
+            <PORTMAP DIR="I" PHYSICAL="System_Reset_Req_1"/>
+            <PORTMAP DIR="O" PHYSICAL="RstcPPCresetcore_1"/>
+            <PORTMAP DIR="O" PHYSICAL="RstcPPCresetchip_1"/>
+            <PORTMAP DIR="O" PHYSICAL="RstcPPCresetsys_1"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <IOINTERFACES>
+        <IOINTERFACE MPD_INDEX="0" NAME="reset_0"/>
+      </IOINTERFACES>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="4.01.a" INSTANCE="clock_generator_0" IPTYPE="PERIPHERAL" MHS_INDEX="9" MODCLASS="IP" MODTYPE="clock_generator">
+      <DESCRIPTION TYPE="SHORT">Clock Generator</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">Clock generator for processor system.</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/clock_generator_v4_01_a/doc/clock_generator.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="1" NAME="C_DEVICE" TYPE="STRING" VALUE="6slx45t"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="2" NAME="C_PACKAGE" TYPE="STRING" VALUE="fgg484"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="3" NAME="C_SPEEDGRADE" TYPE="STRING" VALUE="-3"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="4" NAME="C_CLKIN_FREQ" TYPE="INTEGER" VALUE="200000000"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="5" NAME="C_CLKOUT0_FREQ" TYPE="INTEGER" VALUE="600000000"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_CLKOUT0_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="4" MPD_INDEX="7" NAME="C_CLKOUT0_GROUP" TYPE="STRING" VALUE="PLL0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="8" NAME="C_CLKOUT0_BUF" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_CLKOUT0_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="6" MPD_INDEX="10" NAME="C_CLKOUT1_FREQ" TYPE="INTEGER" VALUE="600000000"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="7" MPD_INDEX="11" NAME="C_CLKOUT1_PHASE" TYPE="INTEGER" VALUE="180"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="8" MPD_INDEX="12" NAME="C_CLKOUT1_GROUP" TYPE="STRING" VALUE="PLL0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="9" MPD_INDEX="13" NAME="C_CLKOUT1_BUF" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_CLKOUT1_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="10" MPD_INDEX="15" NAME="C_CLKOUT2_FREQ" TYPE="INTEGER" VALUE="100000000"/>
+        <PARAMETER MPD_INDEX="16" NAME="C_CLKOUT2_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="11" MPD_INDEX="17" NAME="C_CLKOUT2_GROUP" TYPE="STRING" VALUE="PLL0"/>
+        <PARAMETER MPD_INDEX="18" NAME="C_CLKOUT2_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="19" NAME="C_CLKOUT2_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="12" MPD_INDEX="20" NAME="C_CLKOUT3_FREQ" TYPE="INTEGER" VALUE="50000000"/>
+        <PARAMETER MPD_INDEX="21" NAME="C_CLKOUT3_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="13" MPD_INDEX="22" NAME="C_CLKOUT3_GROUP" TYPE="STRING" VALUE="PLL0"/>
+        <PARAMETER MPD_INDEX="23" NAME="C_CLKOUT3_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="24" NAME="C_CLKOUT3_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="25" NAME="C_CLKOUT4_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="26" NAME="C_CLKOUT4_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="27" NAME="C_CLKOUT4_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="28" NAME="C_CLKOUT4_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="29" NAME="C_CLKOUT4_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="30" NAME="C_CLKOUT5_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="31" NAME="C_CLKOUT5_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="32" NAME="C_CLKOUT5_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="33" NAME="C_CLKOUT5_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="34" NAME="C_CLKOUT5_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="35" NAME="C_CLKOUT6_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="36" NAME="C_CLKOUT6_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="37" NAME="C_CLKOUT6_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="38" NAME="C_CLKOUT6_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="39" NAME="C_CLKOUT6_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="40" NAME="C_CLKOUT7_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="41" NAME="C_CLKOUT7_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="42" NAME="C_CLKOUT7_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="43" NAME="C_CLKOUT7_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="44" NAME="C_CLKOUT7_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="45" NAME="C_CLKOUT8_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="46" NAME="C_CLKOUT8_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="47" NAME="C_CLKOUT8_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="48" NAME="C_CLKOUT8_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="49" NAME="C_CLKOUT8_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="50" NAME="C_CLKOUT9_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="51" NAME="C_CLKOUT9_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="52" NAME="C_CLKOUT9_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="53" NAME="C_CLKOUT9_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="54" NAME="C_CLKOUT9_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="55" NAME="C_CLKOUT10_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="56" NAME="C_CLKOUT10_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="57" NAME="C_CLKOUT10_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="58" NAME="C_CLKOUT10_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="59" NAME="C_CLKOUT10_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="60" NAME="C_CLKOUT11_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="61" NAME="C_CLKOUT11_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="62" NAME="C_CLKOUT11_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="63" NAME="C_CLKOUT11_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="64" NAME="C_CLKOUT11_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="65" NAME="C_CLKOUT12_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="66" NAME="C_CLKOUT12_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="67" NAME="C_CLKOUT12_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="68" NAME="C_CLKOUT12_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="69" NAME="C_CLKOUT12_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="70" NAME="C_CLKOUT13_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="71" NAME="C_CLKOUT13_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="72" NAME="C_CLKOUT13_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="73" NAME="C_CLKOUT13_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="74" NAME="C_CLKOUT13_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="75" NAME="C_CLKOUT14_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="76" NAME="C_CLKOUT14_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="77" NAME="C_CLKOUT14_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="78" NAME="C_CLKOUT14_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="79" NAME="C_CLKOUT14_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="80" NAME="C_CLKOUT15_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="81" NAME="C_CLKOUT15_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="82" NAME="C_CLKOUT15_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="83" NAME="C_CLKOUT15_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="84" NAME="C_CLKOUT15_VARIABLE_PHASE" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="85" NAME="C_CLKFBIN_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="86" NAME="C_CLKFBIN_DESKEW" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="87" NAME="C_CLKFBOUT_FREQ" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="88" NAME="C_CLKFBOUT_PHASE" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="89" NAME="C_CLKFBOUT_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="90" NAME="C_CLKFBOUT_BUF" TYPE="BOOLEAN" VALUE="TRUE"/>
+        <PARAMETER MPD_INDEX="91" NAME="C_PSDONE_GROUP" TYPE="STRING" VALUE="NONE"/>
+        <PARAMETER MPD_INDEX="92" NAME="C_EXT_RESET_HIGH" VALUE="1"/>
+        <PARAMETER MPD_INDEX="93" NAME="C_CLK_PRIMITIVE_FEEDBACK_BUF" TYPE="BOOLEAN" VALUE="FALSE"/>
+        <PARAMETER MPD_INDEX="94" NAME="C_CLK_GEN" VALUE="UPDATE"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="23" NAME="RST" SIGIS="RST" SIGNAME="RESET"/>
+        <PORT CLKFREQUENCY="200000000" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="CLKIN" SIGIS="CLK" SIGNAME="CLK"/>
+        <PORT CLKFREQUENCY="100000000" DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="3" NAME="CLKOUT2" SIGIS="CLK" SIGNAME="clk_100_0000MHzPLL0"/>
+        <PORT CLKFREQUENCY="50000000" DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="4" NAME="CLKOUT3" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT CLKFREQUENCY="600000000" DIR="O" MHS_INDEX="4" MPD_INDEX="1" NAME="CLKOUT0" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT CLKFREQUENCY="600000000" DIR="O" MHS_INDEX="5" MPD_INDEX="2" NAME="CLKOUT1" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="6" MPD_INDEX="24" NAME="LOCKED" SIGNAME="proc_sys_reset_0_Dcm_locked"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="5" NAME="CLKOUT4" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="6" NAME="CLKOUT5" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="7" NAME="CLKOUT6" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="8" NAME="CLKOUT7" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="9" NAME="CLKOUT8" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="10" NAME="CLKOUT9" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="11" NAME="CLKOUT10" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="12" NAME="CLKOUT11" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="13" NAME="CLKOUT12" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="14" NAME="CLKOUT13" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="15" NAME="CLKOUT14" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="16" NAME="CLKOUT15" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="I" IS_VALID="FALSE" MPD_INDEX="17" NAME="CLKFBIN" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="18" NAME="CLKFBOUT" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="I" MPD_INDEX="19" NAME="PSCLK" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT DIR="I" MPD_INDEX="20" NAME="PSEN" SIGNAME="__NOC__"/>
+        <PORT DIR="I" MPD_INDEX="21" NAME="PSINCDEC" SIGNAME="__NOC__"/>
+        <PORT DIR="O" MPD_INDEX="22" NAME="PSDONE" SIGNAME="__NOC__"/>
+      </PORTS>
+      <BUSINTERFACES/>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="2.00.b" INSTANCE="debug_module" IPTYPE="PERIPHERAL" MHS_INDEX="10" MODCLASS="DEBUG" MODTYPE="mdm">
+      <DESCRIPTION TYPE="SHORT">MicroBlaze Debug Module (MDM)</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">Debug module for MicroBlaze Soft Processor.</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/mdm_v2_00_b/doc/mdm.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER MPD_INDEX="1" NAME="C_JTAG_CHAIN" TYPE="INTEGER" VALUE="2"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="2" NAME="C_INTERCONNECT" TYPE="INTEGER" VALUE="2"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="9" MPD_INDEX="3" NAME="C_BASEADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0x74800000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="10" MPD_INDEX="4" NAME="C_HIGHADDR" TYPE="STD_LOGIC_VECTOR" VALUE="0x7480ffff"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_SPLB_AWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_SPLB_DWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_SPLB_P2P" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_SPLB_MID_WIDTH" TYPE="INTEGER" VALUE="3"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_SPLB_NUM_MASTERS" TYPE="INTEGER" VALUE="8"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_SPLB_NATIVE_DWIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_SPLB_SUPPORT_BURSTS" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="12" NAME="C_MB_DBG_PORTS" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="13" NAME="C_USE_UART" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_S_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_S_AXI_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="16" NAME="C_S_AXI_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="4" NAME="C_INTERCONNECT_S_AXI_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="5" NAME="C_INTERCONNECT_S_AXI_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="6" NAME="C_INTERCONNECT_S_AXI_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="7" NAME="C_INTERCONNECT_S_AXI_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="8" NAME="C_INTERCONNECT_S_AXI_B_REGISTER" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT BUS="S_AXI" CLKFREQUENCY="50000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="4" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="1" NAME="Debug_SYS_Rst" SIGNAME="proc_sys_reset_0_MB_Debug_Sys_Rst"/>
+        <PORT DIR="O" MPD_INDEX="0" NAME="Interrupt" SENSITIVITY="EDGE_RISING" SIGIS="INTERRUPT" SIGNAME="__NOC__"/>
+        <PORT DEF_SIGNAME="Ext_BRK" DIR="O" MPD_INDEX="2" NAME="Ext_BRK" SIGNAME="Ext_BRK"/>
+        <PORT DEF_SIGNAME="Ext_NM_BRK" DIR="O" MPD_INDEX="3" NAME="Ext_NM_BRK" SIGNAME="Ext_NM_BRK"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARESETN" DIR="I" MPD_INDEX="5" NAME="S_AXI_ARESETN" SIGIS="RST" SIGNAME="axi4lite_0_M_ARESETN"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="6" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_M_AWADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWVALID" DIR="I" MPD_INDEX="7" NAME="S_AXI_AWVALID" SIGNAME="axi4lite_0_M_AWVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWREADY" DIR="O" MPD_INDEX="8" NAME="S_AXI_AWREADY" SIGNAME="axi4lite_0_M_AWREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="9" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_M_WDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="10" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_M_WSTRB" VECFORMULA="[(C_S_AXI_DATA_WIDTH/8-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WVALID" DIR="I" MPD_INDEX="11" NAME="S_AXI_WVALID" SIGNAME="axi4lite_0_M_WVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WREADY" DIR="O" MPD_INDEX="12" NAME="S_AXI_WREADY" SIGNAME="axi4lite_0_M_WREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="13" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_M_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BVALID" DIR="O" MPD_INDEX="14" NAME="S_AXI_BVALID" SIGNAME="axi4lite_0_M_BVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BREADY" DIR="I" MPD_INDEX="15" NAME="S_AXI_BREADY" SIGNAME="axi4lite_0_M_BREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="16" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_M_ARADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARVALID" DIR="I" MPD_INDEX="17" NAME="S_AXI_ARVALID" SIGNAME="axi4lite_0_M_ARVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARREADY" DIR="O" MPD_INDEX="18" NAME="S_AXI_ARREADY" SIGNAME="axi4lite_0_M_ARREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="19" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_M_RDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="20" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_M_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RVALID" DIR="O" MPD_INDEX="21" NAME="S_AXI_RVALID" SIGNAME="axi4lite_0_M_RVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RREADY" DIR="I" MPD_INDEX="22" NAME="S_AXI_RREADY" SIGNAME="axi4lite_0_M_RREADY"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="23" NAME="SPLB_Clk" SIGIS="CLK" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="24" NAME="SPLB_Rst" SIGIS="RST" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="25" MSB="0" NAME="PLB_ABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="26" MSB="0" NAME="PLB_UABus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:31]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="27" NAME="PLB_PAValid" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="28" NAME="PLB_SAValid" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="29" NAME="PLB_rdPrim" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="30" NAME="PLB_wrPrim" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="2" MPD_INDEX="31" MSB="0" NAME="PLB_masterID" RIGHT="2" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_MID_WIDTH-1)]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="32" NAME="PLB_abort" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="33" NAME="PLB_busLock" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="34" NAME="PLB_RNW" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="35" MSB="0" NAME="PLB_BE" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:((C_SPLB_DWIDTH/8)-1)]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="36" MSB="0" NAME="PLB_MSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="37" MSB="0" NAME="PLB_size" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="2" MPD_INDEX="38" MSB="0" NAME="PLB_type" RIGHT="2" SIGNAME="__NOC__" VECFORMULA="[0:2]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="39" NAME="PLB_lockErr" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="40" MSB="0" NAME="PLB_wrDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_DWIDTH-1)]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="41" NAME="PLB_wrBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="42" NAME="PLB_rdBurst" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="43" NAME="PLB_wrPendReq" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="44" NAME="PLB_rdPendReq" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="45" MSB="0" NAME="PLB_wrPendPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="46" MSB="0" NAME="PLB_rdPendPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="47" MSB="0" NAME="PLB_reqPri" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="BIG" LEFT="0" LSB="15" MPD_INDEX="48" MSB="0" NAME="PLB_TAttribute" RIGHT="15" SIGNAME="__NOC__" VECFORMULA="[0:15]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="49" NAME="Sl_addrAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="1" MPD_INDEX="50" MSB="0" NAME="Sl_SSize" RIGHT="1" SIGNAME="__NOC__" VECFORMULA="[0:1]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="51" NAME="Sl_wait" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="52" NAME="Sl_rearbitrate" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="53" NAME="Sl_wrDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="54" NAME="Sl_wrComp" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="55" NAME="Sl_wrBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="56" MSB="0" NAME="Sl_rdDBus" RIGHT="31" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_DWIDTH-1)]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="57" MSB="0" NAME="Sl_rdWdAddr" RIGHT="3" SIGNAME="__NOC__" VECFORMULA="[0:3]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="58" NAME="Sl_rdDAck" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="59" NAME="Sl_rdComp" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="60" NAME="Sl_rdBTerm" SIGNAME="__NOC__"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="61" MSB="0" NAME="Sl_MBusy" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="62" MSB="0" NAME="Sl_MWrErr" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="63" MSB="0" NAME="Sl_MRdErr" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_NUM_MASTERS-1)]"/>
+        <PORT BUS="SPLB" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="64" MSB="0" NAME="Sl_MIRQ" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:(C_SPLB_NUM_MASTERS-1)]"/>
+        <PORT BUS="MBDEBUG_0" DEF_SIGNAME="microblaze_0_debug_Dbg_Clk" DIR="O" MPD_INDEX="65" NAME="Dbg_Clk_0" SIGNAME="microblaze_0_debug_Dbg_Clk"/>
+        <PORT BUS="MBDEBUG_0" DEF_SIGNAME="microblaze_0_debug_Dbg_TDI" DIR="O" MPD_INDEX="66" NAME="Dbg_TDI_0" SIGNAME="microblaze_0_debug_Dbg_TDI"/>
+        <PORT BUS="MBDEBUG_0" DEF_SIGNAME="microblaze_0_debug_Dbg_TDO" DIR="I" MPD_INDEX="67" NAME="Dbg_TDO_0" SIGNAME="microblaze_0_debug_Dbg_TDO"/>
+        <PORT BUS="MBDEBUG_0" DEF_SIGNAME="microblaze_0_debug_Dbg_Reg_En" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="68" MSB="0" NAME="Dbg_Reg_En_0" RIGHT="7" SIGNAME="microblaze_0_debug_Dbg_Reg_En" VECFORMULA="[0:7]"/>
+        <PORT BUS="MBDEBUG_0" DEF_SIGNAME="microblaze_0_debug_Dbg_Capture" DIR="O" MPD_INDEX="69" NAME="Dbg_Capture_0" SIGNAME="microblaze_0_debug_Dbg_Capture"/>
+        <PORT BUS="MBDEBUG_0" DEF_SIGNAME="microblaze_0_debug_Dbg_Shift" DIR="O" MPD_INDEX="70" NAME="Dbg_Shift_0" SIGNAME="microblaze_0_debug_Dbg_Shift"/>
+        <PORT BUS="MBDEBUG_0" DEF_SIGNAME="microblaze_0_debug_Dbg_Update" DIR="O" MPD_INDEX="71" NAME="Dbg_Update_0" SIGNAME="microblaze_0_debug_Dbg_Update"/>
+        <PORT BUS="MBDEBUG_0" DEF_SIGNAME="microblaze_0_debug_Debug_Rst" DIR="O" MPD_INDEX="72" NAME="Dbg_Rst_0" SIGNAME="microblaze_0_debug_Debug_Rst"/>
+        <PORT BUS="MBDEBUG_1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="73" NAME="Dbg_Clk_1" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="74" NAME="Dbg_TDI_1" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_1" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="75" NAME="Dbg_TDO_1" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_1" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="76" MSB="0" NAME="Dbg_Reg_En_1" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:7]"/>
+        <PORT BUS="MBDEBUG_1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="77" NAME="Dbg_Capture_1" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="78" NAME="Dbg_Shift_1" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="79" NAME="Dbg_Update_1" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_1" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="80" NAME="Dbg_Rst_1" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="81" NAME="Dbg_Clk_2" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="82" NAME="Dbg_TDI_2" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_2" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="83" NAME="Dbg_TDO_2" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_2" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="84" MSB="0" NAME="Dbg_Reg_En_2" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:7]"/>
+        <PORT BUS="MBDEBUG_2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="85" NAME="Dbg_Capture_2" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="86" NAME="Dbg_Shift_2" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="87" NAME="Dbg_Update_2" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_2" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="88" NAME="Dbg_Rst_2" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="89" NAME="Dbg_Clk_3" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="90" NAME="Dbg_TDI_3" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_3" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="91" NAME="Dbg_TDO_3" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_3" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="92" MSB="0" NAME="Dbg_Reg_En_3" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:7]"/>
+        <PORT BUS="MBDEBUG_3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="93" NAME="Dbg_Capture_3" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="94" NAME="Dbg_Shift_3" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="95" NAME="Dbg_Update_3" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_3" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="96" NAME="Dbg_Rst_3" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="97" NAME="Dbg_Clk_4" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="98" NAME="Dbg_TDI_4" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_4" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="99" NAME="Dbg_TDO_4" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_4" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="100" MSB="0" NAME="Dbg_Reg_En_4" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:7]"/>
+        <PORT BUS="MBDEBUG_4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="101" NAME="Dbg_Capture_4" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="102" NAME="Dbg_Shift_4" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="103" NAME="Dbg_Update_4" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_4" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="104" NAME="Dbg_Rst_4" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="105" NAME="Dbg_Clk_5" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="106" NAME="Dbg_TDI_5" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_5" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="107" NAME="Dbg_TDO_5" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_5" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="108" MSB="0" NAME="Dbg_Reg_En_5" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:7]"/>
+        <PORT BUS="MBDEBUG_5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="109" NAME="Dbg_Capture_5" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="110" NAME="Dbg_Shift_5" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="111" NAME="Dbg_Update_5" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_5" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="112" NAME="Dbg_Rst_5" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="113" NAME="Dbg_Clk_6" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="114" NAME="Dbg_TDI_6" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_6" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="115" NAME="Dbg_TDO_6" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_6" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="116" MSB="0" NAME="Dbg_Reg_En_6" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:7]"/>
+        <PORT BUS="MBDEBUG_6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="117" NAME="Dbg_Capture_6" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="118" NAME="Dbg_Shift_6" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="119" NAME="Dbg_Update_6" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_6" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="120" NAME="Dbg_Rst_6" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="121" NAME="Dbg_Clk_7" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="122" NAME="Dbg_TDI_7" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_7" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="123" NAME="Dbg_TDO_7" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_7" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="BIG" LEFT="0" LSB="7" MPD_INDEX="124" MSB="0" NAME="Dbg_Reg_En_7" RIGHT="7" SIGNAME="__NOC__" VECFORMULA="[0:7]"/>
+        <PORT BUS="MBDEBUG_7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="125" NAME="Dbg_Capture_7" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="126" NAME="Dbg_Shift_7" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="127" NAME="Dbg_Update_7" SIGNAME="__NOC__"/>
+        <PORT BUS="MBDEBUG_7" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="128" NAME="Dbg_Rst_7" SIGNAME="__NOC__"/>
+        <PORT DEF_SIGNAME="bscan_tdi" DIR="O" MPD_INDEX="129" NAME="bscan_tdi" SIGNAME="bscan_tdi"/>
+        <PORT DEF_SIGNAME="bscan_reset" DIR="O" MPD_INDEX="130" NAME="bscan_reset" SIGNAME="bscan_reset"/>
+        <PORT DEF_SIGNAME="bscan_shift" DIR="O" MPD_INDEX="131" NAME="bscan_shift" SIGNAME="bscan_shift"/>
+        <PORT DEF_SIGNAME="bscan_update" DIR="O" MPD_INDEX="132" NAME="bscan_update" SIGNAME="bscan_update"/>
+        <PORT DEF_SIGNAME="bscan_capture" DIR="O" MPD_INDEX="133" NAME="bscan_capture" SIGNAME="bscan_capture"/>
+        <PORT DEF_SIGNAME="bscan_sel1" DIR="O" MPD_INDEX="134" NAME="bscan_sel1" SIGNAME="bscan_sel1"/>
+        <PORT DEF_SIGNAME="bscan_drck1" DIR="O" MPD_INDEX="135" NAME="bscan_drck1" SIGNAME="bscan_drck1"/>
+        <PORT DEF_SIGNAME="bscan_tdo1" DIR="I" MPD_INDEX="136" NAME="bscan_tdo1" SIGNAME="bscan_tdo1"/>
+        <PORT BUS="XMTC" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="137" NAME="Ext_JTAG_DRCK" SIGNAME="__NOC__"/>
+        <PORT BUS="XMTC" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="138" NAME="Ext_JTAG_RESET" SIGNAME="__NOC__"/>
+        <PORT BUS="XMTC" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="139" NAME="Ext_JTAG_SEL" SIGNAME="__NOC__"/>
+        <PORT BUS="XMTC" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="140" NAME="Ext_JTAG_CAPTURE" SIGNAME="__NOC__"/>
+        <PORT BUS="XMTC" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="141" NAME="Ext_JTAG_SHIFT" SIGNAME="__NOC__"/>
+        <PORT BUS="XMTC" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="142" NAME="Ext_JTAG_UPDATE" SIGNAME="__NOC__"/>
+        <PORT BUS="XMTC" DEF_SIGNAME="__BUS__" DIR="O" MPD_INDEX="143" NAME="Ext_JTAG_TDI" SIGNAME="__NOC__"/>
+        <PORT BUS="XMTC" DEF_SIGNAME="__BUS__" DIR="I" MPD_INDEX="144" NAME="Ext_JTAG_TDO" SIGNAME="__NOC__"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi4lite_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="S_AXI" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="PLBV46" BUSSTD_PSF="PLBV46" IS_VALID="FALSE" MPD_INDEX="1" NAME="SPLB" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_Clk"/>
+            <PORTMAP DIR="I" PHYSICAL="SPLB_Rst"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_ABus"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_UABus"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_PAValid"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_SAValid"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_rdPrim"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_wrPrim"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_masterID"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_abort"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_busLock"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_RNW"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_BE"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_MSize"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_size"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_type"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_lockErr"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_wrDBus"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_wrBurst"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_rdBurst"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_wrPendReq"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_rdPendReq"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_wrPendPri"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_rdPendPri"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_reqPri"/>
+            <PORTMAP DIR="I" PHYSICAL="PLB_TAttribute"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_addrAck"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_SSize"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_wait"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_rearbitrate"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_wrDAck"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_wrComp"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_wrBTerm"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_rdDBus"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_rdWdAddr"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_rdDAck"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_rdComp"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_rdBTerm"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_MBusy"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_MWrErr"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_MRdErr"/>
+            <PORTMAP DIR="O" PHYSICAL="Sl_MIRQ"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="microblaze_0_debug" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="2" NAME="MBDEBUG_0" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Clk_0"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_TDI_0"/>
+            <PORTMAP DIR="I" PHYSICAL="Dbg_TDO_0"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Reg_En_0"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Capture_0"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Shift_0"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Update_0"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Rst_0"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_VALID="FALSE" MPD_INDEX="3" NAME="MBDEBUG_1" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Clk_1"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_TDI_1"/>
+            <PORTMAP DIR="I" PHYSICAL="Dbg_TDO_1"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Reg_En_1"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Capture_1"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Shift_1"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Update_1"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Rst_1"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_VALID="FALSE" MPD_INDEX="4" NAME="MBDEBUG_2" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Clk_2"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_TDI_2"/>
+            <PORTMAP DIR="I" PHYSICAL="Dbg_TDO_2"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Reg_En_2"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Capture_2"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Shift_2"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Update_2"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Rst_2"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_VALID="FALSE" MPD_INDEX="5" NAME="MBDEBUG_3" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Clk_3"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_TDI_3"/>
+            <PORTMAP DIR="I" PHYSICAL="Dbg_TDO_3"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Reg_En_3"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Capture_3"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Shift_3"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Update_3"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Rst_3"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_VALID="FALSE" MPD_INDEX="6" NAME="MBDEBUG_4" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Clk_4"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_TDI_4"/>
+            <PORTMAP DIR="I" PHYSICAL="Dbg_TDO_4"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Reg_En_4"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Capture_4"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Shift_4"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Update_4"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Rst_4"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_VALID="FALSE" MPD_INDEX="7" NAME="MBDEBUG_5" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Clk_5"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_TDI_5"/>
+            <PORTMAP DIR="I" PHYSICAL="Dbg_TDO_5"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Reg_En_5"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Capture_5"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Shift_5"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Update_5"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Rst_5"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_VALID="FALSE" MPD_INDEX="8" NAME="MBDEBUG_6" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Clk_6"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_TDI_6"/>
+            <PORTMAP DIR="I" PHYSICAL="Dbg_TDO_6"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Reg_En_6"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Capture_6"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Shift_6"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Update_6"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Rst_6"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_MBDEBUG3" IS_VALID="FALSE" MPD_INDEX="9" NAME="MBDEBUG_7" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Clk_7"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_TDI_7"/>
+            <PORTMAP DIR="I" PHYSICAL="Dbg_TDO_7"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Reg_En_7"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Capture_7"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Shift_7"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Update_7"/>
+            <PORTMAP DIR="O" PHYSICAL="Dbg_Rst_7"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="XIL" BUSSTD_PSF="XIL_BSCAN" MPD_INDEX="10" NAME="XMTC" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="Ext_JTAG_DRCK"/>
+            <PORTMAP DIR="O" PHYSICAL="Ext_JTAG_RESET"/>
+            <PORTMAP DIR="O" PHYSICAL="Ext_JTAG_SEL"/>
+            <PORTMAP DIR="O" PHYSICAL="Ext_JTAG_CAPTURE"/>
+            <PORTMAP DIR="O" PHYSICAL="Ext_JTAG_SHIFT"/>
+            <PORTMAP DIR="O" PHYSICAL="Ext_JTAG_UPDATE"/>
+            <PORTMAP DIR="O" PHYSICAL="Ext_JTAG_TDI"/>
+            <PORTMAP DIR="I" PHYSICAL="Ext_JTAG_TDO"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="1954545664" BASENAME="C_BASEADDR" BASEVALUE="0x74800000" HIGHDECIMAL="1954611199" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x7480ffff" MEMTYPE="REGISTER" MINSIZE="0x100" SIZE="65536" SIZEABRV="64K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="SPLB"/>
+            <SLAVE BUSINTERFACE="S_AXI"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.01.a" INSTANCE="RS232_Uart_1" IPTYPE="PERIPHERAL" MHS_INDEX="11" MODCLASS="PERIPHERAL" MODTYPE="axi_uartlite">
+      <DESCRIPTION TYPE="SHORT">AXI UART (Lite)</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">Generic UART (Universal Asynchronous Receiver/Transmitter) for AXI.</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_uartlite_v1_01_a/doc/axi_uartlite_ds741.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="1" NAME="C_S_AXI_ACLK_FREQ_HZ" TYPE="INTEGER" VALUE="50000000"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="11" MPD_INDEX="2" NAME="C_BASEADDR" TYPE="std_logic_vector" VALUE="0x40600000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="12" MPD_INDEX="3" NAME="C_HIGHADDR" TYPE="std_logic_vector" VALUE="0x4060ffff"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_S_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_S_AXI_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="6" NAME="C_BAUDRATE" TYPE="INTEGER" VALUE="115200"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="7" NAME="C_DATA_BITS" TYPE="INTEGER" VALUE="8"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="4" MPD_INDEX="8" NAME="C_USE_PARITY" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="9" NAME="C_ODD_PARITY" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_S_AXI_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="6" NAME="C_INTERCONNECT_S_AXI_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="7" NAME="C_INTERCONNECT_S_AXI_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="8" NAME="C_INTERCONNECT_S_AXI_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="9" NAME="C_INTERCONNECT_S_AXI_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="10" NAME="C_INTERCONNECT_S_AXI_B_REGISTER" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="O" IOS="uart_0" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="21" NAME="TX" SIGNAME="RS232_Uart_1_sout">
+          <DESCRIPTION>Serial Data Out</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" IOS="uart_0" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="20" NAME="RX" SIGNAME="RS232_Uart_1_sin">
+          <DESCRIPTION>Serial Data In</DESCRIPTION>
+        </PORT>
+        <PORT BUS="S_AXI" CLKFREQUENCY="50000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="0" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="2" NAME="Interrupt" SENSITIVITY="EDGE_RISING" SIGIS="INTERRUPT" SIGNAME="RS232_Uart_1_Interrupt"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARESETN" DIR="I" MPD_INDEX="1" NAME="S_AXI_ARESETN" SIGIS="RST" SIGNAME="axi4lite_0_M_ARESETN"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="3" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_M_AWADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWVALID" DIR="I" MPD_INDEX="4" NAME="S_AXI_AWVALID" SIGNAME="axi4lite_0_M_AWVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWREADY" DIR="O" MPD_INDEX="5" NAME="S_AXI_AWREADY" SIGNAME="axi4lite_0_M_AWREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="6" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_M_WDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="7" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_M_WSTRB" VECFORMULA="[((C_S_AXI_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WVALID" DIR="I" MPD_INDEX="8" NAME="S_AXI_WVALID" SIGNAME="axi4lite_0_M_WVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WREADY" DIR="O" MPD_INDEX="9" NAME="S_AXI_WREADY" SIGNAME="axi4lite_0_M_WREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="10" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_M_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BVALID" DIR="O" MPD_INDEX="11" NAME="S_AXI_BVALID" SIGNAME="axi4lite_0_M_BVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BREADY" DIR="I" MPD_INDEX="12" NAME="S_AXI_BREADY" SIGNAME="axi4lite_0_M_BREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="13" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_M_ARADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARVALID" DIR="I" MPD_INDEX="14" NAME="S_AXI_ARVALID" SIGNAME="axi4lite_0_M_ARVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARREADY" DIR="O" MPD_INDEX="15" NAME="S_AXI_ARREADY" SIGNAME="axi4lite_0_M_ARREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="16" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_M_RDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="17" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_M_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RVALID" DIR="O" MPD_INDEX="18" NAME="S_AXI_RVALID" SIGNAME="axi4lite_0_M_RVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RREADY" DIR="I" MPD_INDEX="19" NAME="S_AXI_RREADY" SIGNAME="axi4lite_0_M_RREADY"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi4lite_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="S_AXI" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <IOINTERFACES>
+        <IOINTERFACE MPD_INDEX="0" NAME="uart_0" TYPE="XIL_UART_V1_hide">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="TX"/>
+            <PORTMAP DIR="I" PHYSICAL="RX"/>
+          </PORTMAPS>
+        </IOINTERFACE>
+      </IOINTERFACES>
+      <INTERRUPTINFO TYPE="SOURCE">
+        <TARGET INSTANCE="microblaze_0_intc" INTC_INDEX="0" PRIORITY="0"/>
+      </INTERRUPTINFO>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="1080033280" BASENAME="C_BASEADDR" BASEVALUE="0x40600000" HIGHDECIMAL="1080098815" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x4060ffff" MEMTYPE="REGISTER" MINSIZE="0x1000" SIZE="65536" SIZEABRV="64K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.01.a" INSTANCE="LEDs_4Bits" IPTYPE="PERIPHERAL" MHS_INDEX="12" MODCLASS="PERIPHERAL" MODTYPE="axi_gpio">
+      <DESCRIPTION TYPE="SHORT">AXI General Purpose IO</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">General Purpose Input/Output (GPIO) core for the AXI bus.</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_gpio_v1_01_a/doc/ds744_axi_gpio.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="11" MPD_INDEX="1" NAME="C_BASEADDR" TYPE="std_logic_vector" VALUE="0x40020000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="12" MPD_INDEX="2" NAME="C_HIGHADDR" TYPE="std_logic_vector" VALUE="0x4002ffff"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_S_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_S_AXI_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="5" NAME="C_GPIO_WIDTH" TYPE="INTEGER" VALUE="4"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_GPIO2_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="7" NAME="C_ALL_INPUTS" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_ALL_INPUTS_2" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="4" MPD_INDEX="9" NAME="C_INTERRUPT_PRESENT" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_DOUT_DEFAULT" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_TRI_DEFAULT" TYPE="std_logic_vector" VALUE="0xffffffff"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="12" NAME="C_IS_DUAL" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="13" NAME="C_DOUT_DEFAULT_2" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_TRI_DEFAULT_2" TYPE="std_logic_vector" VALUE="0xffffffff"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_S_AXI_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="6" NAME="C_INTERCONNECT_S_AXI_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="7" NAME="C_INTERCONNECT_S_AXI_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="8" NAME="C_INTERCONNECT_S_AXI_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="9" NAME="C_INTERCONNECT_S_AXI_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="10" NAME="C_INTERCONNECT_S_AXI_B_REGISTER" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="gpio_0" IS_INSTANTIATED="TRUE" LEFT="3" LSB="0" MHS_INDEX="0" MPD_INDEX="21" MSB="3" NAME="GPIO_IO_O" RIGHT="0" SIGNAME="LEDs_4Bits_TRI_O" VECFORMULA="[(C_GPIO_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" CLKFREQUENCY="50000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARESETN" DIR="I" MPD_INDEX="1" NAME="S_AXI_ARESETN" SIGIS="RST" SIGNAME="axi4lite_0_M_ARESETN"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="2" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_M_AWADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWVALID" DIR="I" MPD_INDEX="3" NAME="S_AXI_AWVALID" SIGNAME="axi4lite_0_M_AWVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWREADY" DIR="O" MPD_INDEX="4" NAME="S_AXI_AWREADY" SIGNAME="axi4lite_0_M_AWREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="5" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_M_WDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="6" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_M_WSTRB" VECFORMULA="[((C_S_AXI_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WVALID" DIR="I" MPD_INDEX="7" NAME="S_AXI_WVALID" SIGNAME="axi4lite_0_M_WVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WREADY" DIR="O" MPD_INDEX="8" NAME="S_AXI_WREADY" SIGNAME="axi4lite_0_M_WREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="9" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_M_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BVALID" DIR="O" MPD_INDEX="10" NAME="S_AXI_BVALID" SIGNAME="axi4lite_0_M_BVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BREADY" DIR="I" MPD_INDEX="11" NAME="S_AXI_BREADY" SIGNAME="axi4lite_0_M_BREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="12" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_M_ARADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARVALID" DIR="I" MPD_INDEX="13" NAME="S_AXI_ARVALID" SIGNAME="axi4lite_0_M_ARVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARREADY" DIR="O" MPD_INDEX="14" NAME="S_AXI_ARREADY" SIGNAME="axi4lite_0_M_ARREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="15" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_M_RDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="16" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_M_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RVALID" DIR="O" MPD_INDEX="17" NAME="S_AXI_RVALID" SIGNAME="axi4lite_0_M_RVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RREADY" DIR="I" MPD_INDEX="18" NAME="S_AXI_RREADY" SIGNAME="axi4lite_0_M_RREADY"/>
+        <PORT DIR="O" IS_VALID="FALSE" MPD_INDEX="19" NAME="IP2INTC_Irpt" SENSITIVITY="LEVEL_HIGH" SIGIS="INTERRUPT" SIGNAME="__NOC__"/>
+        <PORT DIR="I" ENDIAN="LITTLE" IOS="gpio_0" LEFT="3" LSB="0" MPD_INDEX="20" MSB="3" NAME="GPIO_IO_I" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO_WIDTH-1):0]"/>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="gpio_0" LEFT="3" LSB="0" MPD_INDEX="22" MSB="3" NAME="GPIO_IO_T" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO_WIDTH-1):0]"/>
+        <PORT DIR="I" ENDIAN="LITTLE" IOS="gpio_0" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="23" MSB="31" NAME="GPIO2_IO_I" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO2_WIDTH-1):0]"/>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="gpio_0" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="24" MSB="31" NAME="GPIO2_IO_O" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO2_WIDTH-1):0]"/>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="gpio_0" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="25" MSB="31" NAME="GPIO2_IO_T" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO2_WIDTH-1):0]"/>
+        <PORT DIR="IO" ENDIAN="LITTLE" IOS="gpio_0" IS_THREE_STATE="TRUE" LEFT="3" LSB="0" MPD_INDEX="26" MSB="3" NAME="GPIO_IO" RIGHT="0" SIGNAME="__NOC__" TRI_I="GPIO_IO_I" TRI_O="GPIO_IO_O" TRI_T="GPIO_IO_T" VECFORMULA="[(C_GPIO_WIDTH-1):0]">
+          <DESCRIPTION>GPIO1 Data IO</DESCRIPTION>
+        </PORT>
+        <PORT DIR="IO" ENDIAN="LITTLE" IOS="gpio_0" IS_THREE_STATE="TRUE" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="27" MSB="31" NAME="GPIO2_IO" RIGHT="0" SIGNAME="__NOC__" TRI_I="GPIO2_IO_I" TRI_O="GPIO2_IO_O" TRI_T="GPIO2_IO_T" VECFORMULA="[(C_GPIO2_WIDTH-1):0]">
+          <DESCRIPTION>GPIO2 Data IO</DESCRIPTION>
+        </PORT>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi4lite_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="S_AXI" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <IOINTERFACES>
+        <IOINTERFACE MPD_INDEX="0" NAME="gpio_0" TYPE="XIL_AXI_GPIO_V1">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="GPIO_IO_O"/>
+            <PORTMAP DIR="I" PHYSICAL="GPIO_IO_I"/>
+            <PORTMAP DIR="O" PHYSICAL="GPIO_IO_T"/>
+            <PORTMAP DIR="I" PHYSICAL="GPIO2_IO_I"/>
+            <PORTMAP DIR="O" PHYSICAL="GPIO2_IO_O"/>
+            <PORTMAP DIR="O" PHYSICAL="GPIO2_IO_T"/>
+            <PORTMAP DIR="IO" PHYSICAL="GPIO_IO"/>
+            <PORTMAP DIR="IO" PHYSICAL="GPIO2_IO"/>
+          </PORTMAPS>
+        </IOINTERFACE>
+      </IOINTERFACES>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="1073872896" BASENAME="C_BASEADDR" BASEVALUE="0x40020000" HIGHDECIMAL="1073938431" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x4002ffff" MEMTYPE="REGISTER" MINSIZE="0x1000" SIZE="65536" SIZEABRV="64K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.01.a" INSTANCE="Push_Buttons_4Bits" IPTYPE="PERIPHERAL" MHS_INDEX="13" MODCLASS="PERIPHERAL" MODTYPE="axi_gpio">
+      <DESCRIPTION TYPE="SHORT">AXI General Purpose IO</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">General Purpose Input/Output (GPIO) core for the AXI bus.</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_gpio_v1_01_a/doc/ds744_axi_gpio.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="11" MPD_INDEX="1" NAME="C_BASEADDR" TYPE="std_logic_vector" VALUE="0x40000000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="12" MPD_INDEX="2" NAME="C_HIGHADDR" TYPE="std_logic_vector" VALUE="0x4000ffff"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_S_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_S_AXI_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="5" NAME="C_GPIO_WIDTH" TYPE="INTEGER" VALUE="4"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_GPIO2_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="7" NAME="C_ALL_INPUTS" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_ALL_INPUTS_2" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="4" MPD_INDEX="9" NAME="C_INTERRUPT_PRESENT" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_DOUT_DEFAULT" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_TRI_DEFAULT" TYPE="std_logic_vector" VALUE="0xffffffff"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="12" NAME="C_IS_DUAL" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="13" NAME="C_DOUT_DEFAULT_2" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_TRI_DEFAULT_2" TYPE="std_logic_vector" VALUE="0xffffffff"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_S_AXI_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="6" NAME="C_INTERCONNECT_S_AXI_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="7" NAME="C_INTERCONNECT_S_AXI_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="8" NAME="C_INTERCONNECT_S_AXI_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="9" NAME="C_INTERCONNECT_S_AXI_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="10" NAME="C_INTERCONNECT_S_AXI_B_REGISTER" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="I" ENDIAN="LITTLE" IOS="gpio_0" IS_INSTANTIATED="TRUE" LEFT="3" LSB="0" MHS_INDEX="0" MPD_INDEX="20" MSB="3" NAME="GPIO_IO_I" RIGHT="0" SIGNAME="Push_Buttons_4Bits_TRI_I" VECFORMULA="[(C_GPIO_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" CLKFREQUENCY="50000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="19" NAME="IP2INTC_Irpt" SENSITIVITY="LEVEL_HIGH" SIGIS="INTERRUPT" SIGNAME="Push_Buttons_4Bits_IP2INTC_Irpt"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARESETN" DIR="I" MPD_INDEX="1" NAME="S_AXI_ARESETN" SIGIS="RST" SIGNAME="axi4lite_0_M_ARESETN"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="2" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_M_AWADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWVALID" DIR="I" MPD_INDEX="3" NAME="S_AXI_AWVALID" SIGNAME="axi4lite_0_M_AWVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWREADY" DIR="O" MPD_INDEX="4" NAME="S_AXI_AWREADY" SIGNAME="axi4lite_0_M_AWREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="5" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_M_WDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="6" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_M_WSTRB" VECFORMULA="[((C_S_AXI_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WVALID" DIR="I" MPD_INDEX="7" NAME="S_AXI_WVALID" SIGNAME="axi4lite_0_M_WVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WREADY" DIR="O" MPD_INDEX="8" NAME="S_AXI_WREADY" SIGNAME="axi4lite_0_M_WREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="9" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_M_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BVALID" DIR="O" MPD_INDEX="10" NAME="S_AXI_BVALID" SIGNAME="axi4lite_0_M_BVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BREADY" DIR="I" MPD_INDEX="11" NAME="S_AXI_BREADY" SIGNAME="axi4lite_0_M_BREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="12" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_M_ARADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARVALID" DIR="I" MPD_INDEX="13" NAME="S_AXI_ARVALID" SIGNAME="axi4lite_0_M_ARVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARREADY" DIR="O" MPD_INDEX="14" NAME="S_AXI_ARREADY" SIGNAME="axi4lite_0_M_ARREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="15" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_M_RDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="16" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_M_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RVALID" DIR="O" MPD_INDEX="17" NAME="S_AXI_RVALID" SIGNAME="axi4lite_0_M_RVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RREADY" DIR="I" MPD_INDEX="18" NAME="S_AXI_RREADY" SIGNAME="axi4lite_0_M_RREADY"/>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="gpio_0" LEFT="3" LSB="0" MPD_INDEX="21" MSB="3" NAME="GPIO_IO_O" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO_WIDTH-1):0]"/>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="gpio_0" LEFT="3" LSB="0" MPD_INDEX="22" MSB="3" NAME="GPIO_IO_T" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO_WIDTH-1):0]"/>
+        <PORT DIR="I" ENDIAN="LITTLE" IOS="gpio_0" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="23" MSB="31" NAME="GPIO2_IO_I" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO2_WIDTH-1):0]"/>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="gpio_0" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="24" MSB="31" NAME="GPIO2_IO_O" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO2_WIDTH-1):0]"/>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="gpio_0" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="25" MSB="31" NAME="GPIO2_IO_T" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[(C_GPIO2_WIDTH-1):0]"/>
+        <PORT DIR="IO" ENDIAN="LITTLE" IOS="gpio_0" IS_THREE_STATE="TRUE" LEFT="3" LSB="0" MPD_INDEX="26" MSB="3" NAME="GPIO_IO" RIGHT="0" SIGNAME="__NOC__" TRI_I="GPIO_IO_I" TRI_O="GPIO_IO_O" TRI_T="GPIO_IO_T" VECFORMULA="[(C_GPIO_WIDTH-1):0]">
+          <DESCRIPTION>GPIO1 Data IO</DESCRIPTION>
+        </PORT>
+        <PORT DIR="IO" ENDIAN="LITTLE" IOS="gpio_0" IS_THREE_STATE="TRUE" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="27" MSB="31" NAME="GPIO2_IO" RIGHT="0" SIGNAME="__NOC__" TRI_I="GPIO2_IO_I" TRI_O="GPIO2_IO_O" TRI_T="GPIO2_IO_T" VECFORMULA="[(C_GPIO2_WIDTH-1):0]">
+          <DESCRIPTION>GPIO2 Data IO</DESCRIPTION>
+        </PORT>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi4lite_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="S_AXI" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <IOINTERFACES>
+        <IOINTERFACE MPD_INDEX="0" NAME="gpio_0" TYPE="XIL_AXI_GPIO_V1">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="GPIO_IO_I"/>
+            <PORTMAP DIR="O" PHYSICAL="GPIO_IO_O"/>
+            <PORTMAP DIR="O" PHYSICAL="GPIO_IO_T"/>
+            <PORTMAP DIR="I" PHYSICAL="GPIO2_IO_I"/>
+            <PORTMAP DIR="O" PHYSICAL="GPIO2_IO_O"/>
+            <PORTMAP DIR="O" PHYSICAL="GPIO2_IO_T"/>
+            <PORTMAP DIR="IO" PHYSICAL="GPIO_IO"/>
+            <PORTMAP DIR="IO" PHYSICAL="GPIO2_IO"/>
+          </PORTMAPS>
+        </IOINTERFACE>
+      </IOINTERFACES>
+      <INTERRUPTINFO TYPE="SOURCE">
+        <TARGET INSTANCE="microblaze_0_intc" INTC_INDEX="0" PRIORITY="1"/>
+      </INTERRUPTINFO>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="1073741824" BASENAME="C_BASEADDR" BASEVALUE="0x40000000" HIGHDECIMAL="1073807359" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x4000ffff" MEMTYPE="REGISTER" MINSIZE="0x1000" SIZE="65536" SIZEABRV="64K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.00.a" INSTANCE="Ethernet_Lite" IPTYPE="PERIPHERAL" MHS_INDEX="14" MODCLASS="PERIPHERAL" MODTYPE="axi_ethernetlite">
+      <DESCRIPTION TYPE="SHORT">AXI 10/100 Ethernet MAC Lite</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">'IEEE Std. 802.3 MII interface MAC with AXI interface, lightweight implementation'</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_ethernetlite_v1_00_a/doc/ds787_axi_ethernetlite.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_S_AXI_PROTOCOL" VALUE="AXI4LITE"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="1" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="7" MPD_INDEX="2" NAME="C_BASEADDR" TYPE="std_logic_vector" VALUE="0x40e00000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="8" MPD_INDEX="3" NAME="C_HIGHADDR" TYPE="std_logic_vector" VALUE="0x40e0ffff"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="4" NAME="C_S_AXI_ACLK_PERIOD_PS" TYPE="INTEGER" VALUE="20000"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_S_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_S_AXI_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="7" NAME="C_S_AXI_ID_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_INCLUDE_MDIO" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_INCLUDE_GLOBAL_BUFFERS" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_INCLUDE_INTERNAL_LOOPBACK" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_DUPLEX" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="12" NAME="C_TX_PING_PONG" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="13" NAME="C_RX_PING_PONG" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_INCLUDE_PHY_CONSTRAINTS" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_INTERCONNECT_S_AXI_WRITE_ACCEPTANCE" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="16" NAME="C_INTERCONNECT_S_AXI_READ_ACCEPTANCE" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="17" NAME="C_S_AXI_SUPPORTS_NARROW_BURST" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="2" NAME="C_INTERCONNECT_S_AXI_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="3" NAME="C_INTERCONNECT_S_AXI_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="4" NAME="C_INTERCONNECT_S_AXI_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="5" NAME="C_INTERCONNECT_S_AXI_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="6" NAME="C_INTERCONNECT_S_AXI_B_REGISTER" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="IO" IOS="ethernet_0" IS_INSTANTIATED="TRUE" IS_THREE_STATE="TRUE" MHS_INDEX="0" MPD_INDEX="48" NAME="PHY_MDIO" SIGNAME="Ethernet_Lite_MDIO" TRI_I="PHY_MDIO_I" TRI_O="PHY_MDIO_O" TRI_T="PHY_MDIO_T">
+          <DESCRIPTION>Ethernet PHY Management Data</DESCRIPTION>
+        </PORT>
+        <PORT DIR="O" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="44" NAME="PHY_MDC" SIGNAME="Ethernet_Lite_MDC">
+          <DESCRIPTION>Ethernet PHY Management Clock</DESCRIPTION>
+        </PORT>
+        <PORT DIR="O" ENDIAN="LITTLE" IOS="ethernet_0" IS_INSTANTIATED="TRUE" LEFT="3" LSB="0" MHS_INDEX="2" MPD_INDEX="43" MSB="3" NAME="PHY_tx_data" RIGHT="0" SIGNAME="Ethernet_Lite_TXD" VECFORMULA="[3:0]">
+          <DESCRIPTION>Ethernet Transmit Data Output</DESCRIPTION>
+        </PORT>
+        <PORT DIR="O" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="42" NAME="PHY_tx_en" SIGNAME="Ethernet_Lite_TX_EN">
+          <DESCRIPTION>Ethernet Transmit Enable</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="4" MPD_INDEX="34" NAME="PHY_tx_clk" SIGNAME="Ethernet_Lite_TX_CLK">
+          <DESCRIPTION>Ethernet Transmit Clock Input</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="39" NAME="PHY_col" SIGNAME="Ethernet_Lite_COL">
+          <DESCRIPTION>Ethernet Collision Input</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" ENDIAN="LITTLE" IOS="ethernet_0" IS_INSTANTIATED="TRUE" LEFT="3" LSB="0" MHS_INDEX="6" MPD_INDEX="38" MSB="3" NAME="PHY_rx_data" RIGHT="0" SIGNAME="Ethernet_Lite_RXD" VECFORMULA="[3:0]">
+          <DESCRIPTION>Ethernet Receive Data Input</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="7" MPD_INDEX="40" NAME="PHY_rx_er" SIGNAME="Ethernet_Lite_RX_ER">
+          <DESCRIPTION>Ethernet Receive Error Input</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="8" MPD_INDEX="35" NAME="PHY_rx_clk" SIGNAME="Ethernet_Lite_RX_CLK">
+          <DESCRIPTION>Ethernet Receive Clock Input</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="9" MPD_INDEX="36" NAME="PHY_crs" SIGNAME="Ethernet_Lite_CRS">
+          <DESCRIPTION>Ethernet Carrier Sense Input</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="10" MPD_INDEX="37" NAME="PHY_dv" SIGNAME="Ethernet_Lite_RX_DV">
+          <DESCRIPTION>Ethernet Receive Data Valid</DESCRIPTION>
+        </PORT>
+        <PORT DIR="O" IOS="ethernet_0" IS_INSTANTIATED="TRUE" MHS_INDEX="11" MPD_INDEX="41" NAME="PHY_rst_n" SIGNAME="Ethernet_Lite_PHY_RST_N">
+          <DESCRIPTION>Ethernet PHY Reset</DESCRIPTION>
+        </PORT>
+        <PORT BUS="S_AXI" CLKFREQUENCY="50000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="12" MPD_INDEX="0" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="13" MPD_INDEX="2" NAME="IP2INTC_Irpt" SENSITIVITY="EDGE_RISING" SIGIS="INTERRUPT" SIGNAME="Ethernet_Lite_IP2INTC_Irpt"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARESETN" DIR="I" MPD_INDEX="1" NAME="S_AXI_ARESETN" SIGIS="RST" SIGNAME="axi4lite_0_M_ARESETN"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWID" DIR="I" MPD_INDEX="3" NAME="S_AXI_AWID" SIGNAME="axi4lite_0_M_AWID" VECFORMULA="[(C_S_AXI_ID_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="4" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_M_AWADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWLEN" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="5" MSB="7" NAME="S_AXI_AWLEN" RIGHT="0" SIGNAME="axi4lite_0_M_AWLEN" VECFORMULA="[7:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWSIZE" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="6" MSB="2" NAME="S_AXI_AWSIZE" RIGHT="0" SIGNAME="axi4lite_0_M_AWSIZE" VECFORMULA="[2:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWBURST" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="7" MSB="1" NAME="S_AXI_AWBURST" RIGHT="0" SIGNAME="axi4lite_0_M_AWBURST" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWCACHE" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="8" MSB="3" NAME="S_AXI_AWCACHE" RIGHT="0" SIGNAME="axi4lite_0_M_AWCACHE" VECFORMULA="[3:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWVALID" DIR="I" MPD_INDEX="9" NAME="S_AXI_AWVALID" SIGNAME="axi4lite_0_M_AWVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWREADY" DIR="O" MPD_INDEX="10" NAME="S_AXI_AWREADY" SIGNAME="axi4lite_0_M_AWREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="11" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_M_WDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="12" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_M_WSTRB" VECFORMULA="[((C_S_AXI_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WLAST" DIR="I" MPD_INDEX="13" NAME="S_AXI_WLAST" SIGNAME="axi4lite_0_M_WLAST"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WVALID" DIR="I" MPD_INDEX="14" NAME="S_AXI_WVALID" SIGNAME="axi4lite_0_M_WVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WREADY" DIR="O" MPD_INDEX="15" NAME="S_AXI_WREADY" SIGNAME="axi4lite_0_M_WREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BID" DIR="O" MPD_INDEX="16" NAME="S_AXI_BID" SIGNAME="axi4lite_0_M_BID" VECFORMULA="[(C_S_AXI_ID_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="17" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_M_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BVALID" DIR="O" MPD_INDEX="18" NAME="S_AXI_BVALID" SIGNAME="axi4lite_0_M_BVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BREADY" DIR="I" MPD_INDEX="19" NAME="S_AXI_BREADY" SIGNAME="axi4lite_0_M_BREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARID" DIR="I" MPD_INDEX="20" NAME="S_AXI_ARID" SIGNAME="axi4lite_0_M_ARID" VECFORMULA="[(C_S_AXI_ID_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="21" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_M_ARADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARLEN" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="22" MSB="7" NAME="S_AXI_ARLEN" RIGHT="0" SIGNAME="axi4lite_0_M_ARLEN" VECFORMULA="[7:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARSIZE" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="23" MSB="2" NAME="S_AXI_ARSIZE" RIGHT="0" SIGNAME="axi4lite_0_M_ARSIZE" VECFORMULA="[2:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARBURST" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="24" MSB="1" NAME="S_AXI_ARBURST" RIGHT="0" SIGNAME="axi4lite_0_M_ARBURST" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARCACHE" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="25" MSB="3" NAME="S_AXI_ARCACHE" RIGHT="0" SIGNAME="axi4lite_0_M_ARCACHE" VECFORMULA="[3:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARVALID" DIR="I" MPD_INDEX="26" NAME="S_AXI_ARVALID" SIGNAME="axi4lite_0_M_ARVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARREADY" DIR="O" MPD_INDEX="27" NAME="S_AXI_ARREADY" SIGNAME="axi4lite_0_M_ARREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RID" DIR="O" MPD_INDEX="28" NAME="S_AXI_RID" SIGNAME="axi4lite_0_M_RID" VECFORMULA="[(C_S_AXI_ID_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="29" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_M_RDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="30" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_M_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RLAST" DIR="O" MPD_INDEX="31" NAME="S_AXI_RLAST" SIGNAME="axi4lite_0_M_RLAST"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RVALID" DIR="O" MPD_INDEX="32" NAME="S_AXI_RVALID" SIGNAME="axi4lite_0_M_RVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RREADY" DIR="I" MPD_INDEX="33" NAME="S_AXI_RREADY" SIGNAME="axi4lite_0_M_RREADY"/>
+        <PORT DIR="I" IOS="ethernet_0" MPD_INDEX="45" NAME="PHY_MDIO_I" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IOS="ethernet_0" MPD_INDEX="46" NAME="PHY_MDIO_O" SIGNAME="__NOC__"/>
+        <PORT DIR="O" IOS="ethernet_0" MPD_INDEX="47" NAME="PHY_MDIO_T" SIGNAME="__NOC__"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi4lite_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="S_AXI" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWLEN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWSIZE"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWBURST"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWCACHE"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARLEN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARSIZE"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARBURST"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARCACHE"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RLAST"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <IOINTERFACES>
+        <IOINTERFACE MPD_INDEX="0" NAME="ethernet_0" TYPE="XIL_AXIETHERNET_V1">
+          <PORTMAPS>
+            <PORTMAP DIR="IO" PHYSICAL="PHY_MDIO"/>
+            <PORTMAP DIR="O" PHYSICAL="PHY_MDC"/>
+            <PORTMAP DIR="O" PHYSICAL="PHY_tx_data"/>
+            <PORTMAP DIR="O" PHYSICAL="PHY_tx_en"/>
+            <PORTMAP DIR="I" PHYSICAL="PHY_tx_clk"/>
+            <PORTMAP DIR="I" PHYSICAL="PHY_col"/>
+            <PORTMAP DIR="I" PHYSICAL="PHY_rx_data"/>
+            <PORTMAP DIR="I" PHYSICAL="PHY_rx_er"/>
+            <PORTMAP DIR="I" PHYSICAL="PHY_rx_clk"/>
+            <PORTMAP DIR="I" PHYSICAL="PHY_crs"/>
+            <PORTMAP DIR="I" PHYSICAL="PHY_dv"/>
+            <PORTMAP DIR="O" PHYSICAL="PHY_rst_n"/>
+            <PORTMAP DIR="I" PHYSICAL="PHY_MDIO_I"/>
+            <PORTMAP DIR="O" PHYSICAL="PHY_MDIO_O"/>
+            <PORTMAP DIR="O" PHYSICAL="PHY_MDIO_T"/>
+          </PORTMAPS>
+        </IOINTERFACE>
+      </IOINTERFACES>
+      <INTERRUPTINFO TYPE="SOURCE">
+        <TARGET INSTANCE="microblaze_0_intc" INTC_INDEX="0" PRIORITY="2"/>
+      </INTERRUPTINFO>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="1088421888" BASENAME="C_BASEADDR" BASEVALUE="0x40e00000" HIGHDECIMAL="1088487423" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x40e0ffff" MEMTYPE="REGISTER" MINSIZE="0x02000" SIZE="65536" SIZEABRV="64K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.01.a" INSTANCE="axi_timer_0" IPTYPE="PERIPHERAL" MHS_INDEX="15" MODCLASS="PERIPHERAL" MODTYPE="axi_timer">
+      <DESCRIPTION TYPE="SHORT">AXI Timer/Counter</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">Timer counter with AXI interface</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_timer_v1_01_a/doc/axi_timer_ds764.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER MPD_INDEX="0" NAME="C_S_AXI_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="1" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="2" NAME="C_COUNT_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="3" NAME="C_ONE_TIMER_ONLY" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_TRIG0_ASSERT" TYPE="std_logic" VALUE="1"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_TRIG1_ASSERT" TYPE="std_logic" VALUE="1"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_GEN0_ASSERT" TYPE="std_logic" VALUE="1"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_GEN1_ASSERT" TYPE="std_logic" VALUE="1"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="9" MPD_INDEX="8" NAME="C_BASEADDR" TYPE="std_logic_vector" VALUE="0x41c00000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="10" MPD_INDEX="9" NAME="C_HIGHADDR" TYPE="std_logic_vector" VALUE="0x41c0ffff"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_S_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_S_AXI_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="4" NAME="C_INTERCONNECT_S_AXI_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="5" NAME="C_INTERCONNECT_S_AXI_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="6" NAME="C_INTERCONNECT_S_AXI_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="7" NAME="C_INTERCONNECT_S_AXI_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="8" NAME="C_INTERCONNECT_S_AXI_B_REGISTER" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT BUS="S_AXI" CLKFREQUENCY="50000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="7" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="5" NAME="Interrupt" SENSITIVITY="EDGE_RISING" SIGIS="INTERRUPT" SIGNAME="axi_timer_0_Interrupt"/>
+        <PORT DIR="I" MPD_INDEX="0" NAME="CaptureTrig0" SIGNAME="__NOC__">
+          <DESCRIPTION>Capture Trig 0</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" MPD_INDEX="1" NAME="CaptureTrig1" SIGNAME="__NOC__">
+          <DESCRIPTION>Capture Trig 1</DESCRIPTION>
+        </PORT>
+        <PORT DIR="O" MPD_INDEX="2" NAME="GenerateOut0" SIGNAME="__NOC__">
+          <DESCRIPTION>Generate Out 0</DESCRIPTION>
+        </PORT>
+        <PORT DIR="O" MPD_INDEX="3" NAME="GenerateOut1" SIGNAME="__NOC__">
+          <DESCRIPTION>Generate Out 1</DESCRIPTION>
+        </PORT>
+        <PORT DIR="O" MPD_INDEX="4" NAME="PWM0" SIGNAME="__NOC__">
+          <DESCRIPTION>Pulse Width Modulation 0</DESCRIPTION>
+        </PORT>
+        <PORT DIR="I" MPD_INDEX="6" NAME="Freeze" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARESETN" DIR="I" MPD_INDEX="8" NAME="S_AXI_ARESETN" SIGIS="RST" SIGNAME="axi4lite_0_M_ARESETN"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="9" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_M_AWADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWVALID" DIR="I" MPD_INDEX="10" NAME="S_AXI_AWVALID" SIGNAME="axi4lite_0_M_AWVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWREADY" DIR="O" MPD_INDEX="11" NAME="S_AXI_AWREADY" SIGNAME="axi4lite_0_M_AWREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="12" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_M_WDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="13" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_M_WSTRB" VECFORMULA="[((C_S_AXI_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WVALID" DIR="I" MPD_INDEX="14" NAME="S_AXI_WVALID" SIGNAME="axi4lite_0_M_WVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WREADY" DIR="O" MPD_INDEX="15" NAME="S_AXI_WREADY" SIGNAME="axi4lite_0_M_WREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="16" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_M_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BVALID" DIR="O" MPD_INDEX="17" NAME="S_AXI_BVALID" SIGNAME="axi4lite_0_M_BVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BREADY" DIR="I" MPD_INDEX="18" NAME="S_AXI_BREADY" SIGNAME="axi4lite_0_M_BREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="19" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_M_ARADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARVALID" DIR="I" MPD_INDEX="20" NAME="S_AXI_ARVALID" SIGNAME="axi4lite_0_M_ARVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARREADY" DIR="O" MPD_INDEX="21" NAME="S_AXI_ARREADY" SIGNAME="axi4lite_0_M_ARREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="22" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_M_RDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="23" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_M_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RVALID" DIR="O" MPD_INDEX="24" NAME="S_AXI_RVALID" SIGNAME="axi4lite_0_M_RVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RREADY" DIR="I" MPD_INDEX="25" NAME="S_AXI_RREADY" SIGNAME="axi4lite_0_M_RREADY"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi4lite_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="S_AXI" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <INTERRUPTINFO TYPE="SOURCE">
+        <TARGET INSTANCE="microblaze_0_intc" INTC_INDEX="0" PRIORITY="3"/>
+      </INTERRUPTINFO>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="1103101952" BASENAME="C_BASEADDR" BASEVALUE="0x41c00000" HIGHDECIMAL="1103167487" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x41c0ffff" MEMTYPE="REGISTER" MINSIZE="0x1000" SIZE="65536" SIZEABRV="64K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.02.a" INSTANCE="axi_bram_ctrl_0" IPTYPE="PERIPHERAL" MHS_INDEX="16" MODCLASS="MEMORY_CNTLR" MODTYPE="axi_bram_ctrl">
+      <DESCRIPTION TYPE="SHORT">AXI BRAM Controller</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">Attaches BRAM to the AXI</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_bram_ctrl_v1_02_a/doc/ds777_axi_bram_ctrl.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER MPD_INDEX="1" NAME="C_S_AXI_PROTOCOL" TYPE="STRING" VALUE="AXI4"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="MEMORY" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="8" MPD_INDEX="2" NAME="C_S_AXI_BASEADDR" TYPE="std_logic_vector" VALUE="0xc4000000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="MEMORY" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="9" MPD_INDEX="3" NAME="C_S_AXI_HIGHADDR" TYPE="std_logic_vector" VALUE="0xC407FFFF"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_S_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_S_AXI_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="6" NAME="C_S_AXI_ID_WIDTH" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="7" NAME="C_S_AXI_SUPPORTS_NARROW_BURST" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_SINGLE_PORT_BRAM" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="4" MPD_INDEX="9" NAME="C_INTERCONNECT_S_AXI_AR_REGISTER" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="3" MPD_INDEX="10" NAME="C_INTERCONNECT_S_AXI_AW_REGISTER" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="7" MPD_INDEX="11" NAME="C_INTERCONNECT_S_AXI_B_REGISTER" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="6" MPD_INDEX="12" NAME="C_INTERCONNECT_S_AXI_R_REGISTER" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="5" MPD_INDEX="13" NAME="C_INTERCONNECT_S_AXI_W_REGISTER" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_INTERCONNECT_S_AXI_WRITE_ACCEPTANCE" TYPE="INTEGER" VALUE="2"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_INTERCONNECT_S_AXI_READ_ACCEPTANCE" TYPE="INTEGER" VALUE="2"/>
+        <PARAMETER MPD_INDEX="16" NAME="C_S_AXI_CTRL_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER MPD_INDEX="17" NAME="C_S_AXI_CTRL_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="18" NAME="C_S_AXI_CTRL_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="MEMORY" MPD_INDEX="19" NAME="C_S_AXI_CTRL_BASEADDR" TYPE="std_logic_vector" VALUE="0xffffffff"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="MEMORY" MPD_INDEX="20" NAME="C_S_AXI_CTRL_HIGHADDR" TYPE="std_logic_vector" VALUE="0x00000000"/>
+        <PARAMETER MPD_INDEX="21" NAME="C_INTERCONNECT_S_AXI_CTRL_SUPPORTS_READ" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="22" NAME="C_INTERCONNECT_S_AXI_CTRL_SUPPORTS_WRITE" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="23" NAME="C_ECC" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="24" NAME="C_FAULT_INJECT" TYPE="INTEGER" VALUE="0"/>
+        <PARAMETER MPD_INDEX="25" NAME="C_ECC_ONOFF_RESET_VALUE" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="2" NAME="C_INTERCONNECT_S_AXI_MASTERS" VALUE="microblaze_0.M_AXI_DC &amp; microblaze_0.M_AXI_IC"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT BUS="S_AXI:S_AXI_CTRL" CLKFREQUENCY="100000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="2" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="clk_100_0000MHzPLL0"/>
+        <PORT DIR="O" MPD_INDEX="0" NAME="ECC_Interrupt" SENSITIVITY="LEVEL_HIGH" SIGIS="INTERRUPT" SIGNAME="__NOC__"/>
+        <PORT DIR="O" MPD_INDEX="1" NAME="ECC_UE" SENSITIVITY="LEVEL_HIGH" SIGIS="INTERRUPT" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI:S_AXI_CTRL" DEF_SIGNAME="axi4_0_M_ARESETN" DIR="I" MPD_INDEX="3" NAME="S_AXI_ARESETN" SIGIS="RST" SIGNAME="axi4_0_M_ARESETN"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWID" DIR="I" MPD_INDEX="4" NAME="S_AXI_AWID" SIGNAME="axi4_0_M_AWID" VECFORMULA="[(C_S_AXI_ID_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="5" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4_0_M_AWADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWLEN" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="6" MSB="7" NAME="S_AXI_AWLEN" RIGHT="0" SIGNAME="axi4_0_M_AWLEN" VECFORMULA="[7 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWSIZE" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="7" MSB="2" NAME="S_AXI_AWSIZE" RIGHT="0" SIGNAME="axi4_0_M_AWSIZE" VECFORMULA="[2 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWBURST" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="8" MSB="1" NAME="S_AXI_AWBURST" RIGHT="0" SIGNAME="axi4_0_M_AWBURST" VECFORMULA="[1 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWLOCK" DIR="I" MPD_INDEX="9" NAME="S_AXI_AWLOCK" SIGNAME="axi4_0_M_AWLOCK"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWCACHE" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="10" MSB="3" NAME="S_AXI_AWCACHE" RIGHT="0" SIGNAME="axi4_0_M_AWCACHE" VECFORMULA="[3 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWPROT" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="11" MSB="2" NAME="S_AXI_AWPROT" RIGHT="0" SIGNAME="axi4_0_M_AWPROT" VECFORMULA="[2 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWVALID" DIR="I" MPD_INDEX="12" NAME="S_AXI_AWVALID" SIGNAME="axi4_0_M_AWVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_AWREADY" DIR="O" MPD_INDEX="13" NAME="S_AXI_AWREADY" SIGNAME="axi4_0_M_AWREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="14" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4_0_M_WDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="15" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4_0_M_WSTRB" VECFORMULA="[((C_S_AXI_DATA_WIDTH / 8) - 1) : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_WLAST" DIR="I" MPD_INDEX="16" NAME="S_AXI_WLAST" SIGNAME="axi4_0_M_WLAST"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_WVALID" DIR="I" MPD_INDEX="17" NAME="S_AXI_WVALID" SIGNAME="axi4_0_M_WVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_WREADY" DIR="O" MPD_INDEX="18" NAME="S_AXI_WREADY" SIGNAME="axi4_0_M_WREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_BID" DIR="O" MPD_INDEX="19" NAME="S_AXI_BID" SIGNAME="axi4_0_M_BID" VECFORMULA="[(C_S_AXI_ID_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="20" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4_0_M_BRESP" VECFORMULA="[1 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_BVALID" DIR="O" MPD_INDEX="21" NAME="S_AXI_BVALID" SIGNAME="axi4_0_M_BVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_BREADY" DIR="I" MPD_INDEX="22" NAME="S_AXI_BREADY" SIGNAME="axi4_0_M_BREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARID" DIR="I" MPD_INDEX="23" NAME="S_AXI_ARID" SIGNAME="axi4_0_M_ARID" VECFORMULA="[(C_S_AXI_ID_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="24" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4_0_M_ARADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARLEN" DIR="I" ENDIAN="LITTLE" LEFT="7" LSB="0" MPD_INDEX="25" MSB="7" NAME="S_AXI_ARLEN" RIGHT="0" SIGNAME="axi4_0_M_ARLEN" VECFORMULA="[7 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARSIZE" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="26" MSB="2" NAME="S_AXI_ARSIZE" RIGHT="0" SIGNAME="axi4_0_M_ARSIZE" VECFORMULA="[2 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARBURST" DIR="I" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="27" MSB="1" NAME="S_AXI_ARBURST" RIGHT="0" SIGNAME="axi4_0_M_ARBURST" VECFORMULA="[1 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARLOCK" DIR="I" MPD_INDEX="28" NAME="S_AXI_ARLOCK" SIGNAME="axi4_0_M_ARLOCK"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARCACHE" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="29" MSB="3" NAME="S_AXI_ARCACHE" RIGHT="0" SIGNAME="axi4_0_M_ARCACHE" VECFORMULA="[3 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARPROT" DIR="I" ENDIAN="LITTLE" LEFT="2" LSB="0" MPD_INDEX="30" MSB="2" NAME="S_AXI_ARPROT" RIGHT="0" SIGNAME="axi4_0_M_ARPROT" VECFORMULA="[2 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARVALID" DIR="I" MPD_INDEX="31" NAME="S_AXI_ARVALID" SIGNAME="axi4_0_M_ARVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_ARREADY" DIR="O" MPD_INDEX="32" NAME="S_AXI_ARREADY" SIGNAME="axi4_0_M_ARREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_RID" DIR="O" MPD_INDEX="33" NAME="S_AXI_RID" SIGNAME="axi4_0_M_RID" VECFORMULA="[(C_S_AXI_ID_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="34" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4_0_M_RDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH - 1) : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="35" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4_0_M_RRESP" VECFORMULA="[1 : 0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_RVALID" DIR="O" MPD_INDEX="36" NAME="S_AXI_RVALID" SIGNAME="axi4_0_M_RVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_RREADY" DIR="I" MPD_INDEX="37" NAME="S_AXI_RREADY" SIGNAME="axi4_0_M_RREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4_0_M_RLAST" DIR="O" MPD_INDEX="38" NAME="S_AXI_RLAST" SIGNAME="axi4_0_M_RLAST"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="39" NAME="S_AXI_CTRL_AWVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" IS_VALID="FALSE" MPD_INDEX="40" NAME="S_AXI_CTRL_AWREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="41" MSB="31" NAME="S_AXI_CTRL_AWADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S_AXI_CTRL_ADDR_WIDTH-1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="42" NAME="S_AXI_CTRL_WVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" IS_VALID="FALSE" MPD_INDEX="43" NAME="S_AXI_CTRL_WREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="44" MSB="31" NAME="S_AXI_CTRL_WDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S_AXI_CTRL_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" IS_VALID="FALSE" LEFT="1" LSB="0" MPD_INDEX="45" MSB="1" NAME="S_AXI_CTRL_BRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" IS_VALID="FALSE" MPD_INDEX="46" NAME="S_AXI_CTRL_BVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="47" NAME="S_AXI_CTRL_BREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="48" NAME="S_AXI_CTRL_ARVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" IS_VALID="FALSE" MPD_INDEX="49" NAME="S_AXI_CTRL_ARREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" ENDIAN="LITTLE" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="50" MSB="31" NAME="S_AXI_CTRL_ARADDR" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S_AXI_CTRL_ADDR_WIDTH-1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" IS_VALID="FALSE" MPD_INDEX="51" NAME="S_AXI_CTRL_RVALID" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="I" IS_VALID="FALSE" MPD_INDEX="52" NAME="S_AXI_CTRL_RREADY" SIGNAME="__NOC__"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" IS_VALID="FALSE" LEFT="31" LSB="0" MPD_INDEX="53" MSB="31" NAME="S_AXI_CTRL_RDATA" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[C_S_AXI_CTRL_DATA_WIDTH-1:0]"/>
+        <PORT BUS="S_AXI_CTRL" DEF_SIGNAME="__BUS__" DIR="O" ENDIAN="LITTLE" IS_VALID="FALSE" LEFT="1" LSB="0" MPD_INDEX="54" MSB="1" NAME="S_AXI_CTRL_RRESP" RIGHT="0" SIGNAME="__NOC__" VECFORMULA="[1:0]"/>
+        <PORT BUS="BRAM_PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Rst" DIR="O" MPD_INDEX="55" NAME="BRAM_Rst_A" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Rst"/>
+        <PORT BUS="BRAM_PORTA" CLKFREQUENCY="100000000" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Clk" DIR="O" MPD_INDEX="56" NAME="BRAM_Clk_A" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Clk"/>
+        <PORT BUS="BRAM_PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_En" DIR="O" MPD_INDEX="57" NAME="BRAM_En_A" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_En"/>
+        <PORT BUS="BRAM_PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_WEN" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="58" MSB="3" NAME="BRAM_WE_A" RIGHT="0" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_WEN" VECFORMULA="[((C_S_AXI_DATA_WIDTH/8 + C_ECC) - 1) : 0]"/>
+        <PORT BUS="BRAM_PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Addr" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="59" MSB="31" NAME="BRAM_Addr_A" RIGHT="0" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Addr" VECFORMULA="[(C_S_AXI_ADDR_WIDTH - 1) : 0]"/>
+        <PORT BUS="BRAM_PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Dout" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="60" MSB="31" NAME="BRAM_WrData_A" RIGHT="0" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Dout" VECFORMULA="[(C_S_AXI_DATA_WIDTH + (8*C_ECC) - 1) : 0]"/>
+        <PORT BUS="BRAM_PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Din" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="61" MSB="31" NAME="BRAM_RdData_A" RIGHT="0" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Din" VECFORMULA="[(C_S_AXI_DATA_WIDTH + (8*C_ECC) - 1) : 0]"/>
+        <PORT BUS="BRAM_PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Rst" DIR="O" MPD_INDEX="62" NAME="BRAM_Rst_B" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Rst"/>
+        <PORT BUS="BRAM_PORTB" CLKFREQUENCY="100000000" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Clk" DIR="O" MPD_INDEX="63" NAME="BRAM_Clk_B" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Clk"/>
+        <PORT BUS="BRAM_PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_En" DIR="O" MPD_INDEX="64" NAME="BRAM_En_B" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_En"/>
+        <PORT BUS="BRAM_PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_WEN" DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="65" MSB="3" NAME="BRAM_WE_B" RIGHT="0" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_WEN" VECFORMULA="[((C_S_AXI_DATA_WIDTH/8 + C_ECC) - 1) : 0]"/>
+        <PORT BUS="BRAM_PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Addr" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="66" MSB="31" NAME="BRAM_Addr_B" RIGHT="0" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Addr" VECFORMULA="[(C_S_AXI_ADDR_WIDTH - 1) : 0]"/>
+        <PORT BUS="BRAM_PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Dout" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="67" MSB="31" NAME="BRAM_WrData_B" RIGHT="0" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Dout" VECFORMULA="[(C_S_AXI_DATA_WIDTH + (8*C_ECC) - 1) : 0]"/>
+        <PORT BUS="BRAM_PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Din" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="68" MSB="31" NAME="BRAM_RdData_B" RIGHT="0" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Din" VECFORMULA="[(C_S_AXI_DATA_WIDTH + (8*C_ECC) - 1) : 0]"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi4_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" MHS_INDEX="2" MPD_INDEX="0" NAME="S_AXI" PROTOCOL="AXI4" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWLEN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWSIZE"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWBURST"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWLOCK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWCACHE"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWPROT"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WLAST"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARLEN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARSIZE"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARBURST"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARLOCK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARCACHE"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARPROT"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_RREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RLAST"/>
+          </PORTMAPS>
+          <MASTERS>
+            <MASTER BUSINTERFACE="M_AXI_DC" INSTANCE="microblaze_0"/>
+            <MASTER BUSINTERFACE="M_AXI_IC" INSTANCE="microblaze_0"/>
+          </MASTERS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="__NOC__" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_VALID="FALSE" MPD_INDEX="1" NAME="S_AXI_CTRL" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_WREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_WDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_ARREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_ARADDR"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_CTRL_RREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_CTRL_RRESP"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta" BUSSTD="XIL" BUSSTD_PSF="XIL_BRAM" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="2" NAME="BRAM_PORTA" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Rst_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Clk_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_En_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_WE_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Addr_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_WrData_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_RdData_A"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb" BUSSTD="XIL" BUSSTD_PSF="XIL_BRAM" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="3" NAME="BRAM_PORTB" TYPE="INITIATOR">
+          <PORTMAPS>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Rst_B"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Clk_B"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_En_B"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_WE_B"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Addr_B"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_WrData_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_RdData_B"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="3288334336" BASENAME="C_S_AXI_BASEADDR" BASEVALUE="0xc4000000" HIGHDECIMAL="3288858623" HIGHNAME="C_S_AXI_HIGHADDR" HIGHVALUE="0xC407FFFF" IS_CACHEABLE="TRUE" IS_DCACHED="TRUE" IS_ICACHED="TRUE" MEMTYPE="MEMORY" MINSIZE="0xFFF" SIZE="524288" SIZEABRV="512K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI"/>
+          </SLAVES>
+        </MEMRANGE>
+        <MEMRANGE BASEDECIMAL="4294967295" BASENAME="C_S_AXI_CTRL_BASEADDR" BASEVALUE="0xffffffff" HIGHDECIMAL="0" HIGHNAME="C_S_AXI_CTRL_HIGHADDR" HIGHVALUE="0x00000000" IS_VALID="FALSE" MEMTYPE="MEMORY" MINSIZE="0x3FF" SIZE="0" SIZEABRV="U">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI_CTRL"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.00.a" INSTANCE="axi_bram_ctrl_0_bram_block" IPTYPE="PERIPHERAL" MHS_INDEX="17" MODCLASS="MEMORY" MODTYPE="bram_block">
+      <DESCRIPTION TYPE="SHORT">Block RAM (BRAM) Block</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">The BRAM Block is a configurable memory module that attaches to a variety of BRAM Interface Controllers.</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/bram_block_v1_00_a/doc/bram_block.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_MEMSIZE" TYPE="integer" VALUE="0x80000"/>
+        <PARAMETER MPD_INDEX="1" NAME="C_PORT_DWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="2" NAME="C_PORT_AWIDTH" TYPE="integer" VALUE="32"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_NUM_WE" TYPE="integer" VALUE="4"/>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="4" NAME="C_FAMILY" TYPE="string" VALUE="spartan6"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT BUS="PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Rst" DIR="I" MPD_INDEX="0" NAME="BRAM_Rst_A" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Rst"/>
+        <PORT BUS="PORTA" CLKFREQUENCY="100000000" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Clk" DIR="I" MPD_INDEX="1" NAME="BRAM_Clk_A" SIGIS="CLK" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Clk"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_EN" DIR="I" MPD_INDEX="2" NAME="BRAM_EN_A" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_EN"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_WEN" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="3" MSB="0" NAME="BRAM_WEN_A" RIGHT="3" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_WEN" VECFORMULA="[0:C_NUM_WE-1]"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Addr" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="4" MSB="0" NAME="BRAM_Addr_A" RIGHT="31" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Addr" VECFORMULA="[0:C_PORT_AWIDTH-1]"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Din" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="5" MSB="0" NAME="BRAM_Din_A" RIGHT="31" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Din" VECFORMULA="[0:C_PORT_DWIDTH-1]"/>
+        <PORT BUS="PORTA" DEF_SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Dout" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="6" MSB="0" NAME="BRAM_Dout_A" RIGHT="31" SIGNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta_BRAM_Dout" VECFORMULA="[0:C_PORT_DWIDTH-1]"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Rst" DIR="I" MPD_INDEX="7" NAME="BRAM_Rst_B" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Rst"/>
+        <PORT BUS="PORTB" CLKFREQUENCY="100000000" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Clk" DIR="I" MPD_INDEX="8" NAME="BRAM_Clk_B" SIGIS="CLK" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Clk"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_EN" DIR="I" MPD_INDEX="9" NAME="BRAM_EN_B" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_EN"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_WEN" DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MPD_INDEX="10" MSB="0" NAME="BRAM_WEN_B" RIGHT="3" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_WEN" VECFORMULA="[0:C_NUM_WE-1]"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Addr" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="11" MSB="0" NAME="BRAM_Addr_B" RIGHT="31" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Addr" VECFORMULA="[0:C_PORT_AWIDTH-1]"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Din" DIR="O" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="12" MSB="0" NAME="BRAM_Din_B" RIGHT="31" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Din" VECFORMULA="[0:C_PORT_DWIDTH-1]"/>
+        <PORT BUS="PORTB" DEF_SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Dout" DIR="I" ENDIAN="BIG" LEFT="0" LSB="31" MPD_INDEX="13" MSB="0" NAME="BRAM_Dout_B" RIGHT="31" SIGNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb_BRAM_Dout" VECFORMULA="[0:C_PORT_DWIDTH-1]"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi_bram_ctrl_0_bram_porta_2_axi_bram_ctrl_0_bram_block_porta" BUSSTD="XIL" BUSSTD_PSF="XIL_BRAM" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="PORTA" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Rst_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Clk_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_EN_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_WEN_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Addr_A"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Din_A"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Dout_A"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+        <BUSINTERFACE BUSNAME="axi_bram_ctrl_0_bram_portb_2_axi_bram_ctrl_0_bram_block_portb" BUSSTD="XIL" BUSSTD_PSF="XIL_BRAM" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="1" NAME="PORTB" TYPE="TARGET">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Rst_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Clk_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_EN_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_WEN_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Addr_B"/>
+            <PORTMAP DIR="O" PHYSICAL="BRAM_Din_B"/>
+            <PORTMAP DIR="I" PHYSICAL="BRAM_Dout_B"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+    <MODULE HWVERSION="1.01.a" INSTANCE="microblaze_0_intc" IPTYPE="PERIPHERAL" MHS_INDEX="18" MODCLASS="INTERRUPT_CNTLR" MODTYPE="axi_intc">
+      <DESCRIPTION TYPE="SHORT">AXI Interrupt Controller</DESCRIPTION>
+      <DESCRIPTION TYPE="LONG">intc core attached to the AXI</DESCRIPTION>
+      <DOCUMENTATION>
+        <DOCUMENT SOURCE="C:/devtools/Xilinx/13.1/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/axi_intc_v1_01_a/doc/ds747_axi_intc.pdf" TYPE="IP"/>
+      </DOCUMENTATION>
+      <PARAMETERS>
+        <PARAMETER CHANGEDBY="SYSTEM" MPD_INDEX="0" NAME="C_FAMILY" TYPE="STRING" VALUE="spartan6"/>
+        <PARAMETER ADDRESS="BASE" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="7" MPD_INDEX="1" NAME="C_BASEADDR" TYPE="std_logic_vector" VALUE="0x41200000"/>
+        <PARAMETER ADDRESS="HIGH" ADDR_TYPE="REGISTER" CHANGEDBY="USER" IS_INSTANTIATED="TRUE" MHS_INDEX="8" MPD_INDEX="2" NAME="C_HIGHADDR" TYPE="std_logic_vector" VALUE="0x4120ffff"/>
+        <PARAMETER MPD_INDEX="3" NAME="C_S_AXI_ADDR_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="4" NAME="C_S_AXI_DATA_WIDTH" TYPE="INTEGER" VALUE="32"/>
+        <PARAMETER MPD_INDEX="5" NAME="C_NUM_INTR_INPUTS" TYPE="INTEGER" VALUE="2"/>
+        <PARAMETER MPD_INDEX="6" NAME="C_KIND_OF_INTR" TYPE="std_logic_vector" VALUE="0xffffffff"/>
+        <PARAMETER MPD_INDEX="7" NAME="C_KIND_OF_EDGE" TYPE="std_logic_vector" VALUE="0xffffffff"/>
+        <PARAMETER MPD_INDEX="8" NAME="C_KIND_OF_LVL" TYPE="std_logic_vector" VALUE="0xffffffff"/>
+        <PARAMETER MPD_INDEX="9" NAME="C_HAS_IPR" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="10" NAME="C_HAS_SIE" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="11" NAME="C_HAS_CIE" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="12" NAME="C_HAS_IVR" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="13" NAME="C_IRQ_IS_LEVEL" TYPE="INTEGER" VALUE="1"/>
+        <PARAMETER MPD_INDEX="14" NAME="C_IRQ_ACTIVE" TYPE="std_logic" VALUE="1"/>
+        <PARAMETER MPD_INDEX="15" NAME="C_S_AXI_PROTOCOL" TYPE="STRING" VALUE="AXI4LITE"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="2" NAME="C_INTERCONNECT_S_AXI_AW_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="3" NAME="C_INTERCONNECT_S_AXI_AR_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="4" NAME="C_INTERCONNECT_S_AXI_W_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="5" NAME="C_INTERCONNECT_S_AXI_R_REGISTER" VALUE="1"/>
+        <PARAMETER IS_INSTANTIATED="TRUE" MHS_INDEX="6" NAME="C_INTERCONNECT_S_AXI_B_REGISTER" VALUE="1"/>
+      </PARAMETERS>
+      <PORTS>
+        <PORT DIR="O" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="20" NAME="IRQ" SENSITIVITY="EDGE_RISING" SIGIS="INTERRUPT" SIGNAME="microblaze_0_interrupt">
+          <DESCRIPTION>Interrupt Request Output</DESCRIPTION>
+        </PORT>
+        <PORT BUS="S_AXI" CLKFREQUENCY="50000000" DEF_SIGNAME="__BUS__" DIR="I" IS_INSTANTIATED="TRUE" MHS_INDEX="1" MPD_INDEX="0" NAME="S_AXI_ACLK" SIGIS="CLK" SIGNAME="clk_50_0000MHzPLL0"/>
+        <PORT DIR="I" ENDIAN="LITTLE" IS_INSTANTIATED="TRUE" LEFT="1" LSB="0" MHS_INDEX="2" MPD_INDEX="19" MSB="1" NAME="INTR" RIGHT="0" SENSITIVITY="EDGE_RISING" SIGIS="INTERRUPT" SIGNAME="RS232_Uart_1_Interrupt &amp; Push_Buttons_4Bits_IP2INTC_Irpt &amp; Ethernet_Lite_IP2INTC_Irpt &amp; axi_timer_0_Interrupt" VECFORMULA="[(C_NUM_INTR_INPUTS-1):0]">
+          <SIGNALS>
+            <SIGNAL NAME="RS232_Uart_1_Interrupt"/>
+            <SIGNAL NAME="Push_Buttons_4Bits_IP2INTC_Irpt"/>
+            <SIGNAL NAME="Ethernet_Lite_IP2INTC_Irpt"/>
+            <SIGNAL NAME="axi_timer_0_Interrupt"/>
+          </SIGNALS>
+          <DESCRIPTION>Interrupt Inputs</DESCRIPTION>
+        </PORT>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARESETN" DIR="I" MPD_INDEX="1" NAME="S_AXI_ARESETN" SIGIS="RST" SIGNAME="axi4lite_0_M_ARESETN"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="2" MSB="31" NAME="S_AXI_AWADDR" RIGHT="0" SIGNAME="axi4lite_0_M_AWADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWVALID" DIR="I" MPD_INDEX="3" NAME="S_AXI_AWVALID" SIGNAME="axi4lite_0_M_AWVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_AWREADY" DIR="O" MPD_INDEX="4" NAME="S_AXI_AWREADY" SIGNAME="axi4lite_0_M_AWREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WDATA" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="5" MSB="31" NAME="S_AXI_WDATA" RIGHT="0" SIGNAME="axi4lite_0_M_WDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WSTRB" DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MPD_INDEX="6" MSB="3" NAME="S_AXI_WSTRB" RIGHT="0" SIGNAME="axi4lite_0_M_WSTRB" VECFORMULA="[((C_S_AXI_DATA_WIDTH/8)-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WVALID" DIR="I" MPD_INDEX="7" NAME="S_AXI_WVALID" SIGNAME="axi4lite_0_M_WVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_WREADY" DIR="O" MPD_INDEX="8" NAME="S_AXI_WREADY" SIGNAME="axi4lite_0_M_WREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="9" MSB="1" NAME="S_AXI_BRESP" RIGHT="0" SIGNAME="axi4lite_0_M_BRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BVALID" DIR="O" MPD_INDEX="10" NAME="S_AXI_BVALID" SIGNAME="axi4lite_0_M_BVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_BREADY" DIR="I" MPD_INDEX="11" NAME="S_AXI_BREADY" SIGNAME="axi4lite_0_M_BREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARADDR" DIR="I" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="12" MSB="31" NAME="S_AXI_ARADDR" RIGHT="0" SIGNAME="axi4lite_0_M_ARADDR" VECFORMULA="[(C_S_AXI_ADDR_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARVALID" DIR="I" MPD_INDEX="13" NAME="S_AXI_ARVALID" SIGNAME="axi4lite_0_M_ARVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_ARREADY" DIR="O" MPD_INDEX="14" NAME="S_AXI_ARREADY" SIGNAME="axi4lite_0_M_ARREADY"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RDATA" DIR="O" ENDIAN="LITTLE" LEFT="31" LSB="0" MPD_INDEX="15" MSB="31" NAME="S_AXI_RDATA" RIGHT="0" SIGNAME="axi4lite_0_M_RDATA" VECFORMULA="[(C_S_AXI_DATA_WIDTH-1):0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RRESP" DIR="O" ENDIAN="LITTLE" LEFT="1" LSB="0" MPD_INDEX="16" MSB="1" NAME="S_AXI_RRESP" RIGHT="0" SIGNAME="axi4lite_0_M_RRESP" VECFORMULA="[1:0]"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RVALID" DIR="O" MPD_INDEX="17" NAME="S_AXI_RVALID" SIGNAME="axi4lite_0_M_RVALID"/>
+        <PORT BUS="S_AXI" DEF_SIGNAME="axi4lite_0_M_RREADY" DIR="I" MPD_INDEX="18" NAME="S_AXI_RREADY" SIGNAME="axi4lite_0_M_RREADY"/>
+      </PORTS>
+      <BUSINTERFACES>
+        <BUSINTERFACE BUSNAME="axi4lite_0" BUSSTD="AXI" BUSSTD_PSF="AXI" IS_INSTANTIATED="TRUE" MHS_INDEX="0" MPD_INDEX="0" NAME="S_AXI" PROTOCOL="AXI4LITE" TYPE="SLAVE">
+          <PORTMAPS>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ACLK"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARESETN"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_AWVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_AWREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WDATA"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WSTRB"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_WVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_WREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_BVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_BREADY"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARADDR"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_ARVALID"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_ARREADY"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RDATA"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RRESP"/>
+            <PORTMAP DIR="O" PHYSICAL="S_AXI_RVALID"/>
+            <PORTMAP DIR="I" PHYSICAL="S_AXI_RREADY"/>
+          </PORTMAPS>
+        </BUSINTERFACE>
+      </BUSINTERFACES>
+      <INTERRUPTINFO INTC_INDEX="0" TYPE="CONTROLLER">
+        <SOURCE INSTANCE="RS232_Uart_1" PRIORITY="0" SIGNAME="RS232_Uart_1_Interrupt"/>
+        <SOURCE INSTANCE="Push_Buttons_4Bits" PRIORITY="1" SIGNAME="Push_Buttons_4Bits_IP2INTC_Irpt"/>
+        <SOURCE INSTANCE="Ethernet_Lite" PRIORITY="2" SIGNAME="Ethernet_Lite_IP2INTC_Irpt"/>
+        <SOURCE INSTANCE="axi_timer_0" PRIORITY="3" SIGNAME="axi_timer_0_Interrupt"/>
+        <TARGET INSTANCE="microblaze_0"/>
+      </INTERRUPTINFO>
+      <MEMORYMAP>
+        <MEMRANGE BASEDECIMAL="1092616192" BASENAME="C_BASEADDR" BASEVALUE="0x41200000" HIGHDECIMAL="1092681727" HIGHNAME="C_HIGHADDR" HIGHVALUE="0x4120ffff" MEMTYPE="REGISTER" MINSIZE="0x1000" SIZE="65536" SIZEABRV="64K">
+          <SLAVES>
+            <SLAVE BUSINTERFACE="S_AXI"/>
+          </SLAVES>
+        </MEMRANGE>
+      </MEMORYMAP>
+      <LICENSEINFO ICON_NAME="ps_core_preferred"/>
+    </MODULE>
+  </MODULES>
+
+  <EXTERNALPORTS>
+    <PORT DIR="I" MHS_INDEX="0" NAME="RESET" RSTPOLARITY="1" SIGIS="RST" SIGNAME="RESET"/>
+    <PORT CLKFREQUENCY="200000000" DIFFPOLARITY="P" DIR="I" MHS_INDEX="1" NAME="CLK_P" SIGIS="CLK" SIGNAME="CLK"/>
+    <PORT CLKFREQUENCY="200000000" DIFFPOLARITY="N" DIR="I" MHS_INDEX="2" NAME="CLK_N" SIGIS="CLK" SIGNAME="CLK"/>
+    <PORT DIR="O" MHS_INDEX="3" NAME="RS232_Uart_1_sout" SIGNAME="RS232_Uart_1_sout"/>
+    <PORT DIR="I" MHS_INDEX="4" NAME="RS232_Uart_1_sin" SIGNAME="RS232_Uart_1_sin"/>
+    <PORT DIR="O" ENDIAN="BIG" LEFT="0" LSB="3" MHS_INDEX="5" MSB="0" NAME="LEDs_4Bits_TRI_O" RIGHT="3" SIGNAME="LEDs_4Bits_TRI_O"/>
+    <PORT DIR="I" ENDIAN="BIG" LEFT="0" LSB="3" MHS_INDEX="6" MSB="0" NAME="Push_Buttons_4Bits_TRI_I" RIGHT="3" SIGNAME="Push_Buttons_4Bits_TRI_I"/>
+    <PORT DIR="IO" MHS_INDEX="7" NAME="Ethernet_Lite_MDIO" SIGNAME="Ethernet_Lite_MDIO"/>
+    <PORT DIR="O" MHS_INDEX="8" NAME="Ethernet_Lite_MDC" SIGNAME="Ethernet_Lite_MDC"/>
+    <PORT DIR="O" ENDIAN="LITTLE" LEFT="3" LSB="0" MHS_INDEX="9" MSB="3" NAME="Ethernet_Lite_TXD" RIGHT="0" SIGNAME="Ethernet_Lite_TXD"/>
+    <PORT DIR="O" MHS_INDEX="10" NAME="Ethernet_Lite_TX_EN" SIGNAME="Ethernet_Lite_TX_EN"/>
+    <PORT DIR="I" MHS_INDEX="11" NAME="Ethernet_Lite_TX_CLK" SIGNAME="Ethernet_Lite_TX_CLK"/>
+    <PORT DIR="I" MHS_INDEX="12" NAME="Ethernet_Lite_COL" SIGNAME="Ethernet_Lite_COL"/>
+    <PORT DIR="I" ENDIAN="LITTLE" LEFT="3" LSB="0" MHS_INDEX="13" MSB="3" NAME="Ethernet_Lite_RXD" RIGHT="0" SIGNAME="Ethernet_Lite_RXD"/>
+    <PORT DIR="I" MHS_INDEX="14" NAME="Ethernet_Lite_RX_ER" SIGNAME="Ethernet_Lite_RX_ER"/>
+    <PORT DIR="I" MHS_INDEX="15" NAME="Ethernet_Lite_RX_CLK" SIGNAME="Ethernet_Lite_RX_CLK"/>
+    <PORT DIR="I" MHS_INDEX="16" NAME="Ethernet_Lite_CRS" SIGNAME="Ethernet_Lite_CRS"/>
+    <PORT DIR="I" MHS_INDEX="17" NAME="Ethernet_Lite_RX_DV" SIGNAME="Ethernet_Lite_RX_DV"/>
+    <PORT DIR="O" MHS_INDEX="18" NAME="Ethernet_Lite_PHY_RST_N" SIGNAME="Ethernet_Lite_PHY_RST_N"/>
+  </EXTERNALPORTS>
+
+</EDKSYSTEM>
\ No newline at end of file
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/xplorer.opt b/Demo/MicroBlaze_Spartan-6_SP605/__xps/xplorer.opt
new file mode 100644 (file)
index 0000000..f6181b7
--- /dev/null
@@ -0,0 +1 @@
+ -device xc6slx45tfgg484-3 data/RTOSDemo.ucf 7 0\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/__xps/xpsxflow.opt b/Demo/MicroBlaze_Spartan-6_SP605/__xps/xpsxflow.opt
new file mode 100644 (file)
index 0000000..5cd6774
--- /dev/null
@@ -0,0 +1 @@
+ -device xc6slx45tfgg484-3 data/RTOSDemo.ucf 0\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/data/RTOSDemo.ucf b/Demo/MicroBlaze_Spartan-6_SP605/data/RTOSDemo.ucf
new file mode 100644 (file)
index 0000000..681ad62
--- /dev/null
@@ -0,0 +1,41 @@
+#\r
+# pin constraints\r
+#\r
+NET CLK_N LOC = "K22"  |  DIFF_TERM = "TRUE"  |  IOSTANDARD = "LVDS_25";\r
+NET CLK_P LOC = "K21"  |  DIFF_TERM = "TRUE"  |  IOSTANDARD = "LVDS_25";\r
+NET Ethernet_Lite_COL LOC = "M16"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_CRS LOC = "N15"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_MDC LOC = "R19"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_MDIO LOC = "V20"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_PHY_RST_N LOC = "J22"  |  IOSTANDARD = "LVCMOS25"  |  TIG;\r
+NET Ethernet_Lite_RXD[0] LOC = "P19"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_RXD[1] LOC = "Y22"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_RXD[2] LOC = "Y21"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_RXD[3] LOC = "W22"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_RX_CLK LOC = "P20"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_RX_DV LOC = "T22"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_RX_ER LOC = "U20"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_TXD[0] LOC = "U10"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_TXD[1] LOC = "T10"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_TXD[2] LOC = "AB8"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_TXD[3] LOC = "AA8"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_TX_CLK LOC = "L20"  |  IOSTANDARD = "LVCMOS25";\r
+NET Ethernet_Lite_TX_EN LOC = "T8"  |  IOSTANDARD = "LVCMOS25";\r
+NET LEDs_4Bits_TRI_O[0] LOC = "D17"  |  IOSTANDARD = "LVCMOS25";\r
+NET LEDs_4Bits_TRI_O[1] LOC = "AB4"  |  IOSTANDARD = "LVCMOS25";\r
+NET LEDs_4Bits_TRI_O[2] LOC = "D21"  |  IOSTANDARD = "LVCMOS25";\r
+NET LEDs_4Bits_TRI_O[3] LOC = "W15"  |  IOSTANDARD = "LVCMOS25";\r
+NET Push_Buttons_4Bits_TRI_I[0] LOC = "F3"  |  IOSTANDARD = "LVCMOS25";\r
+NET Push_Buttons_4Bits_TRI_I[1] LOC = "G6"  |  IOSTANDARD = "LVCMOS25";\r
+NET Push_Buttons_4Bits_TRI_I[2] LOC = "F5"  |  IOSTANDARD = "LVCMOS25";\r
+NET Push_Buttons_4Bits_TRI_I[3] LOC = "C1"  |  IOSTANDARD = "LVCMOS25";\r
+NET RESET LOC = "H8"  |  IOSTANDARD = "LVCMOS15"  |  TIG;\r
+NET RS232_Uart_1_sin LOC = "H17"  |  IOSTANDARD = "LVCMOS25";\r
+NET RS232_Uart_1_sout LOC = "B21"  |  IOSTANDARD = "LVCMOS25";\r
+#\r
+# additional constraints\r
+#\r
+\r
+NET "CLK" TNM_NET = sys_clk_pin;\r
+TIMESPEC TS_sys_clk_pin = PERIOD sys_clk_pin 200000 kHz;\r
+\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/etc/RTOSDemo.filters b/Demo/MicroBlaze_Spartan-6_SP605/etc/RTOSDemo.filters
new file mode 100644 (file)
index 0000000..79ac1a5
--- /dev/null
@@ -0,0 +1,159 @@
+
+<FILTERS>
+
+  <IDENTIFICATION VERSION="1.2" XTLVERSION="1.2"/>
+
+  <SET CLASS="PROJECT" VIEW_ID="BUSINTERFACE">
+    <HEADERS HSCROLL="0" VSCROLL="0">
+      <VARIABLE COL_INDEX="0" COL_WIDTH="339" IS_VISIBLE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SET CLASS="FILTER_GROUP" ID="By Connection" IS_EXPANDED="TRUE">
+      <VARIABLE NAME="By Connection" VALUE="By Connection" VIEWDISP="Bus Interface Filters" VIEWTYPE="STATIC"/>
+      <SET CLASS="FILTER" ID="Connected" ROW_INDEX="0">
+        <VARIABLE IS_LABELED="TRUE" NAME="Connected" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Unconnected" ROW_INDEX="1">
+        <VARIABLE IS_LABELED="TRUE" NAME="Unconnected" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+    </SET>
+    <SET CLASS="FILTER_GROUP" ID="By Bus Standard" IS_EXPANDED="TRUE">
+      <VARIABLE COL_INDEX="0" NAME="By Bus Standard" VALUE="By Bus Standard" VIEWDISP="Bus Interface Filters" VIEWTYPE="STATIC"/>
+      <SET CLASS="FILTER" ID="AXI" ROW_INDEX="0">
+        <VARIABLE IS_LABELED="TRUE" NAME="AXI" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="AXIS" IS_VISIBLE="FALSE" ROW_INDEX="1">
+        <VARIABLE IS_LABELED="TRUE" NAME="AXIS" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="OPB" IS_VISIBLE="FALSE" ROW_INDEX="2">
+        <VARIABLE IS_LABELED="TRUE" NAME="OPB" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="LMB" ROW_INDEX="3">
+        <VARIABLE IS_LABELED="TRUE" NAME="LMB" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="PLBV34" IS_VISIBLE="FALSE" ROW_INDEX="4">
+        <VARIABLE IS_LABELED="TRUE" NAME="PLBV34" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="PLBV46" IS_VISIBLE="FALSE" ROW_INDEX="5">
+        <VARIABLE IS_LABELED="TRUE" NAME="PLBV46" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="OCM" IS_VISIBLE="FALSE" ROW_INDEX="6">
+        <VARIABLE IS_LABELED="TRUE" NAME="OCM" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="FSL" IS_VISIBLE="FALSE" ROW_INDEX="7">
+        <VARIABLE IS_LABELED="TRUE" NAME="FSL" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="DCR" IS_VISIBLE="FALSE" ROW_INDEX="8">
+        <VARIABLE IS_LABELED="TRUE" NAME="DCR" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="FCB" IS_VISIBLE="FALSE" ROW_INDEX="9">
+        <VARIABLE IS_LABELED="TRUE" NAME="FCB" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="XIL" IS_EXPANDED="TRUE" ROW_INDEX="10">
+        <VARIABLE IS_LABELED="TRUE" NAME="Xilinx Point To Point" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+        <SET CLASS="SUB_FILTER" ID="XIL_BRAM" ROW_INDEX="0">
+          <VARIABLE IS_LABELED="TRUE" NAME="XIL_BRAM" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+        </SET>
+        <SET CLASS="SUB_FILTER" ID="XIL_BSCAN" ROW_INDEX="1">
+          <VARIABLE IS_LABELED="TRUE" NAME="XIL_BSCAN" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+        </SET>
+        <SET CLASS="SUB_FILTER" ID="XIL_MBDEBUG3" ROW_INDEX="2">
+          <VARIABLE IS_LABELED="TRUE" NAME="XIL_MBDEBUG3" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+        </SET>
+        <SET CLASS="SUB_FILTER" ID="XIL_MBTRACE2" ROW_INDEX="3">
+          <VARIABLE IS_LABELED="TRUE" NAME="XIL_MBTRACE2" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+        </SET>
+      </SET>
+      <SET CLASS="FILTER" ID="USER" IS_VISIBLE="FALSE" ROW_INDEX="11">
+        <VARIABLE IS_LABELED="TRUE" NAME="User Defined" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="XCL" IS_VISIBLE="FALSE" ROW_INDEX="12">
+        <VARIABLE IS_LABELED="TRUE" NAME="XCL" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+    </SET>
+    <SET CLASS="FILTER_GROUP" ID="By Interface Type" IS_EXPANDED="TRUE">
+      <VARIABLE NAME="By Interface Type" VALUE="By Interface Type" VIEWDISP="Bus Interface Filters" VIEWTYPE="STATIC"/>
+      <SET CLASS="FILTER" ID="Slaves" ROW_INDEX="0">
+        <VARIABLE IS_LABELED="TRUE" NAME="Slaves" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Masters" ROW_INDEX="1">
+        <VARIABLE IS_LABELED="TRUE" NAME="Masters" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Master Slaves" ROW_INDEX="2">
+        <VARIABLE IS_LABELED="TRUE" NAME="Master Slaves" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Monitors" ROW_INDEX="3">
+        <VARIABLE IS_LABELED="TRUE" NAME="Monitors" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Targets" ROW_INDEX="4">
+        <VARIABLE IS_LABELED="TRUE" NAME="Targets" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Initiators" ROW_INDEX="5">
+        <VARIABLE IS_LABELED="TRUE" NAME="Initiators" VALUE="TRUE" VIEWDISP="Bus Interface Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+    </SET>
+  </SET>
+
+  <SET CLASS="PROJECT" VIEW_ID="PORT">
+    <HEADERS HSCROLL="0" VSCROLL="0">
+      <VARIABLE COL_INDEX="0" COL_WIDTH="310" IS_VISIBLE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SET CLASS="FILTER_GROUP" ID="By Interface" IS_EXPANDED="TRUE">
+      <VARIABLE NAME="By Interface" VALUE="By Interface" VIEWDISP="Port Filters" VIEWTYPE="STATIC"/>
+      <SET CLASS="FILTER" ID="BUS" ROW_INDEX="0">
+        <VARIABLE IS_LABELED="TRUE" NAME="BUS" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="IO" ROW_INDEX="1">
+        <VARIABLE IS_LABELED="TRUE" NAME="IO" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+    </SET>
+    <SET CLASS="FILTER_GROUP" ID="By Connection" IS_EXPANDED="TRUE">
+      <VARIABLE NAME="By Connection" VALUE="By Connection" VIEWDISP="Port Filters" VIEWTYPE="STATIC"/>
+      <SET CLASS="FILTER" ID="Defaults" ROW_INDEX="0">
+        <VARIABLE IS_LABELED="TRUE" NAME="Defaults" VALUE="FALSE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Connected" ROW_INDEX="1">
+        <VARIABLE IS_LABELED="TRUE" NAME="Connected" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Unconnected" ROW_INDEX="2">
+        <VARIABLE IS_LABELED="TRUE" NAME="Unconnected" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+    </SET>
+    <SET CLASS="FILTER_GROUP" ID="By Class" IS_EXPANDED="TRUE">
+      <VARIABLE COL_INDEX="0" NAME="By Class" VALUE="By Class" VIEWDISP="Port Filters" VIEWTYPE="STATIC"/>
+      <SET CLASS="FILTER" ID="Clocks Only" ROW_INDEX="0">
+        <VARIABLE NAME="Clocks Only" VALUE="Clocks Only" VIEWDISP="Port Filters" VIEWTYPE="BUTTON"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Clocks" ROW_INDEX="1">
+        <VARIABLE IS_LABELED="TRUE" NAME="Clocks" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Resets Only" ROW_INDEX="2">
+        <VARIABLE NAME="Resets Only" VALUE="Resets Only" VIEWDISP="Port Filters" VIEWTYPE="BUTTON"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Resets" ROW_INDEX="3">
+        <VARIABLE IS_LABELED="TRUE" NAME="Resets" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Interrupts Only" ROW_INDEX="4">
+        <VARIABLE NAME="Interrupts Only" VALUE="Interrupts Only" VIEWDISP="Port Filters" VIEWTYPE="BUTTON"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Interrupts" ROW_INDEX="5">
+        <VARIABLE IS_LABELED="TRUE" NAME="Interrupts" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Others" ROW_INDEX="6">
+        <VARIABLE IS_LABELED="TRUE" NAME="Others" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+    </SET>
+    <SET CLASS="FILTER_GROUP" ID="By Direction" IS_EXPANDED="TRUE">
+      <VARIABLE NAME="By Direction" VALUE="By Direction" VIEWDISP="Port Filters" VIEWTYPE="STATIC"/>
+      <SET CLASS="FILTER" ID="Inputs" ROW_INDEX="0">
+        <VARIABLE IS_LABELED="TRUE" NAME="Inputs" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="Outputs" ROW_INDEX="1">
+        <VARIABLE IS_LABELED="TRUE" NAME="Outputs" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+      <SET CLASS="FILTER" ID="InOuts" ROW_INDEX="2">
+        <VARIABLE IS_LABELED="TRUE" NAME="InOuts" VALUE="TRUE" VIEWDISP="Port Filters" VIEWTYPE="CHECKBOX"/>
+      </SET>
+    </SET>
+  </SET>
+
+</FILTERS>
\ No newline at end of file
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/etc/RTOSDemo.gui b/Demo/MicroBlaze_Spartan-6_SP605/etc/RTOSDemo.gui
new file mode 100644 (file)
index 0000000..2b30104
--- /dev/null
@@ -0,0 +1,220 @@
+
+<SETTINGS>
+
+  <IDENTIFICATION VERSION="1.2" XTLVERSION="1.2"/>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="TREE" VIEW_ID="BUSINTERFACE">
+    <HEADERS HSCROLL="0" VSCROLL="0">
+      <VARIABLE COL_INDEX="0" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Bus Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" IS_VISIBLE="FALSE" VIEWDISP="Bus Standard" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" COL_WIDTH="810" IS_VISIBLE="TRUE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" IS_VISIBLE="FALSE" VIEWDISP="IP Classification" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" IS_VISIBLE="FALSE" VIEWDISP="Type" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="180,450,180" VERSION="0"/>
+    <STATUS>
+      <SELECTIONS/>
+    </STATUS>
+    <SEQUENCES IS_DEF_SEQUENCES="TRUE">
+      <VARIABLE ID="axi4_0" ROW_INDEX="0"/>
+      <VARIABLE ID="axi4lite_0" ROW_INDEX="1"/>
+      <VARIABLE ID="microblaze_0" ROW_INDEX="4"/>
+      <VARIABLE ID="microblaze_0_ilmb" ROW_INDEX="3"/>
+      <VARIABLE ID="microblaze_0_dlmb" ROW_INDEX="2"/>
+      <VARIABLE ID="microblaze_0_i_bram_ctrl" ROW_INDEX="9"/>
+      <VARIABLE ID="microblaze_0_d_bram_ctrl" ROW_INDEX="8"/>
+      <VARIABLE ID="microblaze_0_bram_block" ROW_INDEX="7"/>
+      <VARIABLE ID="proc_sys_reset_0" ROW_INDEX="18"/>
+      <VARIABLE ID="clock_generator_0" ROW_INDEX="17"/>
+      <VARIABLE ID="debug_module" ROW_INDEX="10"/>
+      <VARIABLE ID="RS232_Uart_1" ROW_INDEX="16"/>
+      <VARIABLE ID="LEDs_4Bits" ROW_INDEX="13"/>
+      <VARIABLE ID="Push_Buttons_4Bits" ROW_INDEX="14"/>
+      <VARIABLE ID="Ethernet_Lite" ROW_INDEX="12"/>
+      <VARIABLE ID="axi_timer_0" ROW_INDEX="15"/>
+      <VARIABLE ID="axi_bram_ctrl_0" ROW_INDEX="6"/>
+      <VARIABLE ID="axi_bram_ctrl_0_bram_block" ROW_INDEX="5"/>
+      <VARIABLE ID="microblaze_0_intc" ROW_INDEX="11"/>
+    </SEQUENCES>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="FOCUS_TREE" VIEW_ID="BUSINTERFACE">
+    <HEADERS>
+      <VARIABLE COL_INDEX="0" IS_VISIBLE="TRUE" VIEWDISP="Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" IS_VISIBLE="TRUE" VIEWDISP="Bus Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" IS_VISIBLE="FALSE" VIEWDISP="Bus Standard" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" IS_VISIBLE="TRUE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" IS_VISIBLE="TRUE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" IS_VISIBLE="FALSE" VIEWDISP="IP Classification" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" IS_VISIBLE="FALSE" VIEWDISP="Type" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="180,450,180" VERSION="0"/>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="FLAT" VIEW_ID="BUSINTERFACE">
+    <HEADERS>
+      <VARIABLE COL_INDEX="0" IS_VISIBLE="TRUE" VIEWDISP="Instance" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" IS_VISIBLE="TRUE" VIEWDISP="Bus Interface" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" IS_VISIBLE="TRUE" VIEWDISP="Bus Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" IS_VISIBLE="FALSE" VIEWDISP="Bus Standard" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" IS_VISIBLE="TRUE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" IS_VISIBLE="TRUE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" IS_VISIBLE="FALSE" VIEWDISP="IP Classification" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" IS_VISIBLE="FALSE" VIEWDISP="Type" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="180,450,180" VERSION="0"/>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="FOCUS_FLAT" VIEW_ID="BUSINTERFACE">
+    <HEADERS>
+      <VARIABLE COL_INDEX="0" IS_VISIBLE="TRUE" VIEWDISP="Instance" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" IS_VISIBLE="TRUE" VIEWDISP="Bus Interface" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" IS_VISIBLE="TRUE" VIEWDISP="Bus Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" IS_VISIBLE="FALSE" VIEWDISP="Bus Standard" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" IS_VISIBLE="TRUE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" IS_VISIBLE="TRUE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" IS_VISIBLE="FALSE" VIEWDISP="IP Classification" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" IS_VISIBLE="FALSE" VIEWDISP="Type" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="180,450,180" VERSION="0"/>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="TREE" VIEW_ID="PORT">
+    <HEADERS HSCROLL="0" VSCROLL="0">
+      <VARIABLE COL_INDEX="0" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Net" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Direction" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Range" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Class" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Frequency(Hz)" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Reset Polarity" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Sensitivity" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="8" COL_WIDTH="292" IS_VISIBLE="TRUE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="9" IS_VISIBLE="FALSE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="10" IS_VISIBLE="TRUE" VIEWDISP="IP Classification" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="0,630,180" VERSION="0"/>
+    <STATUS>
+      <SELECTIONS/>
+    </STATUS>
+    <SEQUENCES IS_DEF_SEQUENCES="TRUE">
+      <VARIABLE ID="ExternalPorts" ROW_INDEX="0"/>
+      <VARIABLE ID="axi4_0" ROW_INDEX="1"/>
+      <VARIABLE ID="axi4lite_0" ROW_INDEX="2"/>
+      <VARIABLE ID="microblaze_0" ROW_INDEX="5"/>
+      <VARIABLE ID="microblaze_0_ilmb" ROW_INDEX="4"/>
+      <VARIABLE ID="microblaze_0_dlmb" ROW_INDEX="3"/>
+      <VARIABLE ID="microblaze_0_i_bram_ctrl" ROW_INDEX="10"/>
+      <VARIABLE ID="microblaze_0_d_bram_ctrl" ROW_INDEX="9"/>
+      <VARIABLE ID="microblaze_0_bram_block" ROW_INDEX="8"/>
+      <VARIABLE ID="proc_sys_reset_0" ROW_INDEX="19"/>
+      <VARIABLE ID="clock_generator_0" ROW_INDEX="18"/>
+      <VARIABLE ID="debug_module" ROW_INDEX="11"/>
+      <VARIABLE ID="RS232_Uart_1" ROW_INDEX="17"/>
+      <VARIABLE ID="LEDs_4Bits" ROW_INDEX="14"/>
+      <VARIABLE ID="Push_Buttons_4Bits" ROW_INDEX="15"/>
+      <VARIABLE ID="Ethernet_Lite" ROW_INDEX="13"/>
+      <VARIABLE ID="axi_timer_0" ROW_INDEX="16"/>
+      <VARIABLE ID="axi_bram_ctrl_0" ROW_INDEX="7"/>
+      <VARIABLE ID="axi_bram_ctrl_0_bram_block" ROW_INDEX="6"/>
+      <VARIABLE ID="microblaze_0_intc" ROW_INDEX="12"/>
+    </SEQUENCES>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="FOCUS_TREE" VIEW_ID="PORT">
+    <HEADERS>
+      <VARIABLE COL_INDEX="0" IS_VISIBLE="TRUE" VIEWDISP="Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" IS_VISIBLE="TRUE" VIEWDISP="Net" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" IS_VISIBLE="TRUE" VIEWDISP="Direction" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" IS_VISIBLE="TRUE" VIEWDISP="Range" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" IS_VISIBLE="TRUE" VIEWDISP="Class" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" IS_VISIBLE="TRUE" VIEWDISP="Frequency(Hz)" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" IS_VISIBLE="TRUE" VIEWDISP="Reset Polarity" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" IS_VISIBLE="TRUE" VIEWDISP="Sensitivity" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="8" IS_VISIBLE="TRUE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="9" IS_VISIBLE="FALSE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="10" IS_VISIBLE="TRUE" VIEWDISP="IP Classification" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="0,630,180" VERSION="0"/>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="FLAT" VIEW_ID="PORT">
+    <HEADERS>
+      <VARIABLE COL_INDEX="0" IS_VISIBLE="TRUE" VIEWDISP="Instance" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" IS_VISIBLE="TRUE" VIEWDISP="Port Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" IS_VISIBLE="TRUE" VIEWDISP="Net" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" IS_VISIBLE="TRUE" VIEWDISP="Direction" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" IS_VISIBLE="TRUE" VIEWDISP="Range" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" IS_VISIBLE="TRUE" VIEWDISP="Class" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" IS_VISIBLE="TRUE" VIEWDISP="Frequency(Hz)" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" IS_VISIBLE="TRUE" VIEWDISP="Reset Polarity" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="8" IS_VISIBLE="TRUE" VIEWDISP="Sensitivity" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="9" IS_VISIBLE="TRUE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="10" IS_VISIBLE="FALSE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="11" IS_VISIBLE="TRUE" VIEWDISP="IP Classification" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="0,630,180" VERSION="0"/>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="FOCUS_FLAT" VIEW_ID="PORT">
+    <HEADERS>
+      <VARIABLE COL_INDEX="0" IS_VISIBLE="TRUE" VIEWDISP="Instance" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" IS_VISIBLE="TRUE" VIEWDISP="Port Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" IS_VISIBLE="TRUE" VIEWDISP="Net" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" IS_VISIBLE="TRUE" VIEWDISP="Direction" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" IS_VISIBLE="TRUE" VIEWDISP="Range" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" IS_VISIBLE="TRUE" VIEWDISP="Class" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" IS_VISIBLE="TRUE" VIEWDISP="Frequency(Hz)" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" IS_VISIBLE="TRUE" VIEWDISP="Reset Polarity" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="8" IS_VISIBLE="TRUE" VIEWDISP="Sensitivity" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="9" IS_VISIBLE="TRUE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="10" IS_VISIBLE="FALSE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="11" IS_VISIBLE="TRUE" VIEWDISP="IP Classification" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="0,630,180" VERSION="0"/>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="TREE" VIEW_ID="ADDRESS">
+    <HEADERS HSCROLL="0" VSCROLL="0">
+      <VARIABLE COL_INDEX="0" COL_WIDTH="200" IS_VISIBLE="TRUE" VIEWDISP="Instance" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Base Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Base Address" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="High Address" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Size" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" COL_WIDTH="105" IS_VISIBLE="TRUE" VIEWDISP="Bus Interface(s)" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" COL_WIDTH="100" IS_VISIBLE="TRUE" VIEWDISP="Bus Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" IS_VISIBLE="FALSE" VIEWDISP="ICache" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="8" IS_VISIBLE="FALSE" VIEWDISP="DCache" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="8" IS_VISIBLE="FALSE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="10" IS_VISIBLE="FALSE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" IS_VISIBLE="FALSE" VIEWDISP="Address Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="9" COL_WIDTH="605" IS_VISIBLE="TRUE" VIEWDISP="Lock" VIEWTYPE="HEADER"/>
+    </HEADERS>
+    <SPLITTERS COLLAPSIBLE="1" HANDLEWIDTH="4" MARKER="255" ORIENTATION="1" RESIZE="1" SIZES="0,630,180" VERSION="0"/>
+    <SET ID="microblaze_0" IS_EXPANDED="TRUE"/>
+    <STATUS IS_EXPANDED="TRUE">
+      <SELECTIONS/>
+    </STATUS>
+  </SET>
+
+  <SET CLASS="PROJECT" DISPLAYMODE="FLAT" VIEW_ID="ADDRESS">
+    <HEADERS>
+      <VARIABLE COL_INDEX="0" IS_VISIBLE="TRUE" VIEWDISP="Instance" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="1" IS_VISIBLE="TRUE" VIEWDISP="Base Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="2" IS_VISIBLE="TRUE" VIEWDISP="Base Address" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="3" IS_VISIBLE="TRUE" VIEWDISP="High Address" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="4" IS_VISIBLE="TRUE" VIEWDISP="Size" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="5" IS_VISIBLE="TRUE" VIEWDISP="Bus Interface(s)" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="6" IS_VISIBLE="TRUE" VIEWDISP="Bus Name" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="7" IS_VISIBLE="FALSE" VIEWDISP="ICache" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="8" IS_VISIBLE="FALSE" VIEWDISP="DCache" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="9" IS_VISIBLE="FALSE" VIEWDISP="IP Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="10" IS_VISIBLE="FALSE" VIEWDISP="IP Version" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="11" IS_VISIBLE="FALSE" VIEWDISP="Address Type" VIEWTYPE="HEADER"/>
+      <VARIABLE COL_INDEX="12" IS_VISIBLE="TRUE" VIEWDISP="Lock" VIEWTYPE="HEADER"/>
+    </HEADERS>
+  </SET>
+
+</SETTINGS>
\ No newline at end of file
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/etc/bitgen.ut b/Demo/MicroBlaze_Spartan-6_SP605/etc/bitgen.ut
new file mode 100644 (file)
index 0000000..bca21c8
--- /dev/null
@@ -0,0 +1,3 @@
+-g TdoPin:PULLNONE
+-g StartUpClk:JTAGCLK
+#add other options here.
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/etc/download.cmd b/Demo/MicroBlaze_Spartan-6_SP605/etc/download.cmd
new file mode 100644 (file)
index 0000000..da4d771
--- /dev/null
@@ -0,0 +1,6 @@
+setMode -bscan\r
+setCable -p auto\r
+identify\r
+assignfile -p 2 -file implementation/download.bit\r
+program -p 2\r
+quit\r
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/etc/fast_runtime.opt b/Demo/MicroBlaze_Spartan-6_SP605/etc/fast_runtime.opt
new file mode 100644 (file)
index 0000000..994a6d2
--- /dev/null
@@ -0,0 +1,84 @@
+FLOWTYPE = FPGA;
+###############################################################
+## Filename: fast_runtime.opt
+##
+## Option File For Xilinx FPGA Implementation Flow for Fast
+## Runtime.
+## 
+## Version: 4.1.1
+###############################################################
+#
+# Options for Translator
+#
+# Type "ngdbuild -h" for a detailed list of ngdbuild command line options
+#
+Program ngdbuild 
+-p <partname>;        # Partname to use - picked from xflow commandline
+-nt timestamp;        # NGO File generation. Regenerate only when
+                      # source netlist is newer than existing 
+                      # NGO file (default)
+-bm <design>.bmm     # Block RAM memory map file
+<userdesign>;         # User design - pick from xflow command line
+-uc <design>.ucf;     # ucf constraints
+<design>.ngd;         # Name of NGD file. Filebase same as design filebase
+End Program ngdbuild
+
+#
+# Options for Mapper
+#
+# Type "map -h <arch>" for a detailed list of map command line options
+#
+Program map
+-o <design>_map.ncd;     # Output Mapped ncd file
+-w;                     # Overwrite output files.
+-pr b;                   # Pack internal FF/latches into IOBs
+#-fp <design>.mfp;       # Floorplan file
+-ol high;
+-timing;
+-detail;
+<inputdir><design>.ngd;  # Input NGD file
+<inputdir><design>.pcf;  # Physical constraints file
+END Program map
+
+#
+# Options for Post Map Trace
+#
+# Type "trce -h" for a detailed list of trce command line options
+#
+Program post_map_trce
+-e 3;                 # Produce error report limited to 3 items per constraint
+#-o <design>_map.twr;  # Output trace report file
+-xml <design>_map.twx;     # Output XML version of the timing report
+#-tsi <design>_map.tsi; # Produce Timing Specification Interaction report
+<inputdir><design>_map.ncd;  # Input mapped ncd
+<inputdir><design>.pcf;      # Physical constraints file
+END Program post_map_trce
+
+#
+# Options for Place and Route
+#
+# Type "par -h" for a detailed list of par command line options
+#
+Program par
+-w;                 # Overwrite existing placed and routed ncd
+-ol high;              # Overall effort level
+<inputdir><design>_map.ncd;  # Input mapped NCD file
+<design>.ncd;                # Output placed and routed NCD
+<inputdir><design>.pcf;      # Input physical constraints file
+END Program par
+
+#
+# Options for Post Par Trace
+#
+# Type "trce -h" for a detailed list of trce command line options
+#
+Program post_par_trce
+-e 3;                 # Produce error report limited to 3 items per constraint
+#-o <design>.twr;     # Output trace report file
+-xml <design>.twx;    # Output XML version of the timing report
+#-tsi <design>.tsi;  # Produce Timing Specification Interaction report
+<inputdir><design>.ncd;   # Input placed and routed ncd
+<inputdir><design>.pcf;   # Physical constraints file
+END Program post_par_trce
+
+
diff --git a/Demo/MicroBlaze_Spartan-6_SP605/implementation/RTOSDemo_summary.html b/Demo/MicroBlaze_Spartan-6_SP605/implementation/RTOSDemo_summary.html
new file mode 100644 (file)
index 0000000..0ffeadc
--- /dev/null
@@ -0,0 +1,62 @@
+<HTML><HEAD><TITLE>Xilinx Design Summary</TITLE></HEAD>
+<BODY TEXT='#000000' BGCOLOR='#FFFFFF' LINK='#0000EE' VLINK='#551A8B' ALINK='#FF0000'>
+<TABLE BORDER CELLSPACING=0 CELLPADDING=3 WIDTH='100%'>
+<TR ALIGN=CENTER BGCOLOR='#99CCFF'>
+<TD ALIGN=CENTER COLSPAN='4'><B>RTOSDemo Project Status</B></TD></TR>
+<TR ALIGN=LEFT>
+<TD BGCOLOR='#FFFF99'><B>Project File:</B></TD>
+<TD>RTOSDemo.xmp</TD>
+<TD BGCOLOR='#FFFF99'><B>Implementation State:</B></TD>
+<TD>New</TD>
+</TR>
+<TR ALIGN=LEFT>
+<TD BGCOLOR='#FFFF99'><B>Module Name:</B></TD>
+<TD>RTOSDemo</TD>
+<TD BGCOLOR='#FFFF99'><UL><LI><B>Errors:</B></LI></UL></TD>
+<TD>&nbsp;</TD>
+</TR>
+<TR ALIGN=LEFT>
+<TD BGCOLOR='#FFFF99'><B>Product Version:</B></TD><TD>EDK 13.1</TD>
+<TD BGCOLOR='#FFFF99'><UL><LI><B>Warnings:</B></LI></UL></TD>
+<TD>&nbsp;</TD>
+</TR>
+</TABLE>
+
+
+
+&nbsp;<BR><TABLE BORDER CELLSPACING=0 CELLPADDING=3 WIDTH='100%'>
+<TR ALIGN=CENTER BGCOLOR='#99CCFF'><TD ALIGN=CENTER COLSPAN='5'><B>XPS Reports</B></TD><TD ALIGN=RIGHT WIDTH='10%'COLSPAN=1> <A HREF_DISABLED="?&ExpandedTable=EDKReports"><B>[-]</B></a></TD></TR>
+<TR BGCOLOR='#FFFF99'><TD><B>Report Name</B></TD><TD><B>Generated</B></TD>
+<TD ALIGN=LEFT><B>Errors</B></TD><TD ALIGN=LEFT><B>Warnings</B></TD><TD ALIGN=LEFT COLSPAN='2'><B>Infos</B></TD></TR>
+<TR ALIGN=LEFT><TD>Platgen Log File</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+<TR ALIGN=LEFT><TD>Libgen Log File</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+<TR ALIGN=LEFT><TD>Simgen Log File</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+<TR ALIGN=LEFT><TD>BitInit Log File</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+<TR ALIGN=LEFT><TD><A HREF_DISABLED='C:/E/Dev/FreeRTOS/WorkingCopy/Demo/MicroBlaze_Spartan-6_SP605\RTOSDemo.log'>System Log File</A></TD><TD>Mon 30. May 16:47:01 2011</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+</TABLE>
+
+
+
+
+
+
+
+
+&nbsp;<BR><TABLE BORDER CELLSPACING=0 CELLPADDING=3 WIDTH='100%'>
+<TR ALIGN=CENTER BGCOLOR='#99CCFF'><TD ALIGN=CENTER COLSPAN='6'><B>Detailed Reports</B></TD><TD ALIGN=RIGHT WIDTH='10%'COLSPAN=1> <A HREF_DISABLED="?&ExpandedTable=DetailedReports"><B>[-]</B></a></TD></TR>
+<TR BGCOLOR='#FFFF99'><TD><B>Report Name</B></TD><TD><B>Status</B></TD><TD><B>Generated</B></TD>
+<TD ALIGN=LEFT><B>Errors</B></TD><TD ALIGN=LEFT><B>Warnings</B></TD><TD ALIGN=LEFT COLSPAN='2'><B>Infos</B></TD></TR>
+<TR ALIGN=LEFT><TD>Translation Report</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+<TR ALIGN=LEFT><TD>Map Report</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+<TR ALIGN=LEFT><TD>Place and Route Report</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+<TR ALIGN=LEFT><TD>Post-PAR Static Timing Report</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+<TR ALIGN=LEFT><TD>Bitgen Report</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD><TD COLSPAN='2'>&nbsp;</TD></TR>
+</TABLE>
+&nbsp;<BR><TABLE BORDER CELLSPACING=0 CELLPADDING=3 WIDTH='100%'>
+<TR ALIGN=CENTER BGCOLOR='#99CCFF'><TD ALIGN=CENTER COLSPAN='3'><B>Secondary Reports</B></TD><TD ALIGN=RIGHT WIDTH='10%'COLSPAN=1> <A HREF_DISABLED="?&ExpandedTable=SecondaryReports"><B>[-]</B></a></TD></TR>
+<TR BGCOLOR='#FFFF99'><TD><B>Report Name</B></TD><TD><B>Status</B></TD><TD COLSPAN='2'><B>Generated</B></TD></TR>
+</TABLE>
+
+
+<br><center><b>Date Generated:</b> 05/30/2011 - 16:47:01</center>
+</BODY></HTML>
\ No newline at end of file