I wanna ask some advise on designing the genbus.tcl.
I've created a VHDL wrapper for the Nallatech BenNuey FPGA. The wrapper basically connects the DMA interface from the Nallatech Communications Core code with an Impulse input and output stream.
The wrapper flow is some what similar to the genbus.tcl from the Dimetalk PSP. I'm trying to modify the genbus.tcl to include the Wrapper code with customized port naming using information from iname - con[2]. I dont intend to include the Comm Core code in genbus.tcl. Instead, i'll combine it with the generated VHDL codes from Impulse in Xilinx ISE using export.tcl which also automates impulse library addition, synthesis and implementation.
Based from previous advise from Ralph, I'm trying to use a debugger to step through the genbus.tcl to see how it works. I'm currently using RamDebugger.I'm trying to put some dummy parameters to genbus.tcl but i'm not sure what to put as the "connections" object. So, i tried to do a remote debug to see what parameters are being passed to genbus.tcl from Impulse C but i couldn't get it to work yet.(still trying)
I'm still new to Tcl so forgive me if the questions below seems amatuerish.
[1] Please verify if the following is accurate.
The impulse_arch.exe calls the GenerateBUS in genbus.tcl to generate the bus wrapper while passing certain parameters. The HDL Interface Generation API definition is made available to genbus.tcl from the libraries tcl83.dll and tk83.dll in the bin folder.
[2] If i were to write a genbus.tcl script from scratch and run it independently from Impulse C, i would have to include tcl83.dll and tk83.dll to the Tcl library folder to enable the HDL Interface Generation API?
[3] The debugger arguments for genbus.tcl are the parameters for GenerateBUS which are outdir, name and connections. The correct way to write the arguments in the debugger arguments list is:
- "hw" "HelloWorld" "{conn[1] conn[2] conn[3] conn[4] conn[5]} {conn[1] conn[2] conn[3] conn[4] conn[5]}"
- "hw" "HelloWorld" "conn[1] conn[2] conn[3] conn[4] conn[5] conn[1] conn[2] conn[3] conn[4] conn[5]"
- hw HelloWorld "conn[1] conn[2] conn[3] conn[4] conn[5]" "nn[1] conn[2] conn[3] conn[4] conn[5]"
- any other way?
Please advise on the questions above. I appreciate any other advice and tips that would help me.
Thanks
Sincerely,
Justin


