Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/impl/nanomig_tp25k_process_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"PlaceInRegToIob" : false,
"PlaceIoRegToIob" : false,
"PlaceOutRegToIob" : false,
"Place_Option" : "3",
"Place_Option" : "0",
"Process_Configuration_Verion" : "1.0",
"Promote_Physical_Constraint_Warning_to_Error" : true,
"READY" : true,
Expand All @@ -83,7 +83,7 @@
"Unused_Pin" : "As_input_tri_stated_with_pull_up",
"VCC" : "0.9",
"VCCAUX" : "3.3",
"VCCX" : "",
"VCCX" : "3.3",
"VHDL_Standard" : "VHDL_Std_1993",
"Verilog_Standard" : "Vlg_Std_Sysv2017",
"WAKE_UP" : "0",
Expand Down
36 changes: 25 additions & 11 deletions src/tang/primer25k/nanomig.cst
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,33 @@ IO_PORT "tmds_d_p[1]" PULL_MODE=NONE DRIVE=8 IO_TYPE=LVCMOS33D;
IO_LOC "tmds_d_p[2]" F5,G5;
IO_PORT "tmds_d_p[2]" PULL_MODE=NONE DRIVE=8 IO_TYPE=LVCMOS33D;

// SDCard
IO_LOC "sd_clk" D10;
IO_PORT "sd_clk" PULL_MODE=UP IO_TYPE=LVCMOS33;
// SDCard v2
IO_LOC "sd_clk" C11;
IO_PORT "sd_clk" PULL_MODE=NONE IO_TYPE=LVCMOS33;
IO_LOC "sd_cmd" D11; // MOSI
IO_PORT "sd_cmd" PULL_MODE=UP IO_TYPE=LVCMOS33;
IO_LOC "sd_dat[0]" B11; // MISO
IO_PORT "sd_cmd" PULL_MODE=NONE IO_TYPE=LVCMOS33;
IO_LOC "sd_dat[0]" B11; // MISO or SD card DO, needs pull-up
IO_PORT "sd_dat[0]" PULL_MODE=UP IO_TYPE=LVCMOS33;
IO_LOC "sd_dat[1]" C11;
IO_PORT "sd_dat[1]" PULL_MODE=UP IO_TYPE=LVCMOS33;
IO_LOC "sd_dat[2]" G11;
IO_PORT "sd_dat[2]" PULL_MODE=UP IO_TYPE=LVCMOS33;
IO_LOC "sd_dat[3]" G10;
IO_PORT "sd_dat[3]" PULL_MODE=UP IO_TYPE=LVCMOS33;
IO_LOC "sd_dat[1]" G10; // 1
IO_PORT "sd_dat[1]" PULL_MODE=NONE IO_TYPE=LVCMOS33;
IO_LOC "sd_dat[2]" D10; // 1
IO_PORT "sd_dat[2]" PULL_MODE=NONE IO_TYPE=LVCMOS33;
IO_LOC "sd_dat[3]" G11; // 1
IO_PORT "sd_dat[3]" PULL_MODE=NONE IO_TYPE=LVCMOS33;

// SDcard v1
//IO_LOC "sd_clk" D10;
//IO_PORT "sd_clk" PULL_MODE=UP IO_TYPE=LVCMOS33;
//IO_LOC "sd_cmd" D11; // MOSI
//IO_PORT "sd_cmd" PULL_MODE=UP IO_TYPE=LVCMOS33;
//IO_LOC "sd_dat[0]" B11; // MISO
//IO_PORT "sd_dat[0]" PULL_MODE=UP IO_TYPE=LVCMOS33;
//IO_LOC "sd_dat[1]" C11;
//IO_PORT "sd_dat[1]" PULL_MODE=UP IO_TYPE=LVCMOS33;
//IO_LOC "sd_dat[2]" G11;
//IO_PORT "sd_dat[2]" PULL_MODE=UP IO_TYPE=LVCMOS33;
//IO_LOC "sd_dat[3]" G10;
//IO_PORT "sd_dat[3]" PULL_MODE=UP IO_TYPE=LVCMOS33;

// NOR Flash W25Q64 (MSPI pins)
IO_LOC "mspi_cs" E6;
Expand Down