06-03-2008 10:58 PM
I have a project in which edk is a submodule on a ml505. I have the following IPs working when there is a clock generator
in EDK that generates 125Mhz from a 100Mhz source: I2C, LEDs, GPIO, UART, FSLs, BRAMs.
However, what I really want to do is remove the clock generator from EDK and use PLL instantiated outside of EDK, which will
generate multiple clocks and one of them being 125Mhz to feed uB. So I did this and now nothing works...even the LEDs.
I noticed in the port connection the CLK port of uBlaze is set to DEFAULT connection.
Do I need to explicitly set this to the uB_clk (125Mhz external input port to uBlaze).
In general what is "Default Connection" ?
06-04-2008 12:44 AM
I suspect the default connection is the net defined in the mpd file.
Do you have the clock named sys_clk_s and defined it as a clock class in the assembly view port page?
06-04-2008 01:04 AM
I don't follow your answer referencing "clock class".
I don't have sys_clk_s but I have an external port named ub_clk (output of PLL) going into the edk subsystem.
Here is a code snippet form mhs file:
#These are external ports to edk subsystem
PORT ub_clk = ub_clk, DIR = I, SIGIS = CLK, CLK_FREQ = 125000000
PORT ub_rst = ub_rst, DIR = I, RST_POLARITY = 0, SIGIS = RST
PORT ub_clk_dcm_locked = ub_clk_dcm_locked, DIR = I
PARAMETER INSTANCE = microblaze_0
PARAMETER HW_VER = 7.10.b
PARAMETER C_USE_EXTENDED_FSL_INSTR = 1
PARAMETER C_FSL_LINKS = 2
PARAMETER C_FAMILY = virtex5
PARAMETER C_INSTANCE = microblaze_0
BUS_INTERFACE DPLB = mb_plb
BUS_INTERFACE IPLB = mb_plb
BUS_INTERFACE DLMB = dlmb
BUS_INTERFACE ILMB = ilmb
BUS_INTERFACE MFSL0 = wr_fsl
BUS_INTERFACE SFSL0 = rd_fsl
PORT MB_RESET = mb_reset
PORT CLK = ub_clk
I added the PORT CLK = ub_clk just now but I can't try it to see if it works. When I first posted the message,
I didn't have this line and nothing worked.
The default connection in mpd file is:
PORT CLK = "", DIR = I, SIGIS = CLK, BUS = DPLB:IPLB:DOPB:IOPB:DLMB:ILMB