Skip to content

Commit 70796a8

Browse files
committed
add sd pmod v1 physical constraints
1 parent 33014d7 commit 70796a8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/primer25k/nestang.cst

+14
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ IO_LOC "tmds_d_n[2]" G5;
3434
IO_PORT "tmds_d_n[2]" PULL_MODE=NONE IO_TYPE=LVCMOS33D;
3535

3636
// SDCard
37+
// sipeed pmod tfcardv2
3738
IO_LOC "sd_clk" C11;
3839
IO_PORT "sd_clk" PULL_MODE=NONE IO_TYPE=LVCMOS33;
3940
IO_LOC "sd_cmd" D11; // MOSI
@@ -46,6 +47,19 @@ IO_LOC "sd_dat2" D10; // 1
4647
IO_PORT "sd_dat2" PULL_MODE=NONE IO_TYPE=LVCMOS33;
4748
IO_LOC "sd_dat3" G11; // 1
4849
IO_PORT "sd_dat3" PULL_MODE=NONE IO_TYPE=LVCMOS33;
50+
// sipeed pmod tfcardv1
51+
IO_LOC "sd_clk" D10;
52+
IO_PORT "sd_clk" PULL_MODE=NONE IO_TYPE=LVCMOS33;
53+
IO_LOC "sd_cmd" D11; // MOSI
54+
IO_PORT "sd_cmd" PULL_MODE=NONE IO_TYPE=LVCMOS33;
55+
IO_LOC "sd_dat0" B11; // MISO or SD card DO, needs pull-up
56+
IO_PORT "sd_dat0" PULL_MODE=UP IO_TYPE=LVCMOS33;
57+
IO_LOC "sd_dat1" C11; // 1
58+
IO_PORT "sd_dat1" PULL_MODE=NONE IO_TYPE=LVCMOS33;
59+
IO_LOC "sd_dat2" G11; // 1
60+
IO_PORT "sd_dat2" PULL_MODE=NONE IO_TYPE=LVCMOS33;
61+
IO_LOC "sd_dat3" G10; // 1
62+
IO_PORT "sd_dat3" PULL_MODE=NONE IO_TYPE=LVCMOS33;
4963
// old MUSELab SDCARD 1.0
5064
// IO_LOC "sd_clk" D10;
5165
// IO_PORT "sd_clk" PULL_MODE=NONE IO_TYPE=LVCMOS33;

0 commit comments

Comments
 (0)