Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the sd card operation timeout? #16

Open
timewh opened this issue Sep 17, 2022 · 0 comments
Open

the sd card operation timeout? #16

timewh opened this issue Sep 17, 2022 · 0 comments

Comments

@timewh
Copy link

timewh commented Sep 17, 2022

i found when i add the generated clock constrain in the xilinx XDC file:

create_generated_clock -name sd_clk_ -source [get_pins {pcie3_ultrascale_0_support_i/pcie3_ultrascale_0_i/inst/gt_top_i/phy_clk_i/bufg_gt_userclk/O}] -divide_by 1 [get_pins {pcie_app_uscale_i/PIO_i/pio_ep/ep_mem/sdc_controller_u/clock_divider0/SD_CLK_O_reg/Q}]

ths sd card operation will timeout:
图片
and then a invert the clock out (in "sd_controller.v"),it will fixed:

//assign sd_clk_o_pad  = sd_clk_o ;
//will@20220916
assign sd_clk_o_pad  = ~sd_clk_o ;

i think it is risk?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant