clock problem when writing sdc file in order to synthesize PULPino
#3
(05-08-2019, 03:21 PM)kgf Wrote: There is a single clock in PULPino (clk). The SPI slave port (as definition of SPI) would have a clock input, so the slave will have to synchronize to this clock. tck I believe is the JTAG or test clock. You can decide how you want to constrain them.

Just as the slave has a clock in (which gets the clock from master), for the SPI master, this time you provide a clock signal. This is also your decision. In most cases you can use a divided clock from the main clock.

For these you can set them as needed (what SPI peripherals are you planning, how fast are they, what do they support)?

You might use generated clock in an actual implementation, depending on how you get the clock (i.e. you have an internal clock divider / PLL that is a black box). You do not have to do it if it is not needed.

hello,
    Thank you for your reply, it really helped me. And I want to ask, do  I need to create a generated clock for "spi_master_clk_o"? It semms that spi_master_clk_o is a generated clock whose source clock is the main clock "clk" , but  at the same time, it is also an output port. So I am tangled whether I should create a generated clock for it.
Reply


Messages In This Thread
RE: clock problem when writing sdc file in order to synthesize PULPino - by zhouqiang - 05-09-2019, 08:38 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)