From ff670192117cb9deb4fd8ca5a5da216372f7a146 Mon Sep 17 00:00:00 2001
From: Pepping <pepping>
Date: Fri, 29 Jan 2016 09:48:38 +0000
Subject: [PATCH] REnamed component to entity

---
 tools/oneclick/prestudy/components/bg_bf_db.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/oneclick/prestudy/components/bg_bf_db.py b/tools/oneclick/prestudy/components/bg_bf_db.py
index f2a3a82fd8..815cf8461a 100644
--- a/tools/oneclick/prestudy/components/bg_bf_db.py
+++ b/tools/oneclick/prestudy/components/bg_bf_db.py
@@ -30,14 +30,14 @@ NOF_INPUTS = 6
 #
 C_BF = (64, 16, 24, 256, 4, 16, 16,  0, 16, -6, 8, 56, 2)
 
-bg = mms_diag_block_gen(g_nof_streams = NOF_INPUTS, g_nof_errors = 4) # Generates 8 beamlet streams
+bg = mms_diag_block_gen(g_nof_streams = 'NOF_INPUTS', g_nof_errors = 4) # Generates 8 beamlet streams
 bf = bf_unit(g_bf=C_BF)                           # Beam forms 12 telescope input streams into one output stream
 db = mms_diag_data_buffer(g_nof_streams=1)        # Offload: UDP packetizes the BF output stream
 ct = ctrl_unb1_board()                                 # Contains our Ethernet core that puts the UDP packets on the line
 
 #connections = bg>bf>ol>ct                             # Connect the components
 
-mm = mm_master([bg,bf,db,ct])                          # Instantiate the MM controller
+mm = mm_master("mmm_bg_bf_db", [bg,bf,db,ct])                          # Instantiate the MM controller
 
-top = Component(DESIGN_NAME, [bg,bf,db,ct,mm], info=INFO) # Declare our top level, pass its subcomponents and their connections
+top = Entity(DESIGN_NAME, [bg,bf,db,ct,mm], info=INFO) # Declare our top level, pass its subcomponents and their connections
 top.architecture.generate()                                         # Generate the VHDL
-- 
GitLab