update comment

This commit is contained in:
WangXuan95 2023-07-26 19:13:30 +08:00
parent 91f20a1b17
commit d271ffb1af

View File

@ -10,15 +10,15 @@
//--------------------------------------------------------------------------------------------------------
module sd_file_reader #(
parameter FILE_NAME_LEN = 11 , // length of FILE_NAME (in bytes). Since the length of "example.txt" is 11, so here is 11.
parameter [52*8-1:0] FILE_NAME = "example.txt", // file name to read, ignore Upper and Lower Case
// For example, if you want to read a file named "HeLLo123.txt", this parameter can be "hello123.TXT", "HELLO123.txt" or "HEllo123.Txt"
parameter [2:0] CLK_DIV = 3'd2, // when clk = 0~ 25MHz , set CLK_DIV = 3'd1,
// when clk = 25~ 50MHz , set CLK_DIV = 3'd2,
// when clk = 50~100MHz , set CLK_DIV = 3'd3,
// when clk = 100~200MHz , set CLK_DIV = 3'd4,
// ......
parameter SIMULATE = 0
parameter FILE_NAME_LEN = 11 , // length of FILE_NAME (in bytes). Since the length of "example.txt" is 11, so here is 11.
parameter [52*8-1:0] FILE_NAME = "example.txt", // file name to read, ignore upper and lower case
// For example, if you want to read a file named "HeLLo123.txt", this parameter can be "hello123.TXT", "HELLO123.txt" or "HEllo123.Txt"
parameter [2:0] CLK_DIV = 3'd2, // when clk = 0~ 25MHz , set CLK_DIV = 3'd1,
// when clk = 25~ 50MHz , set CLK_DIV = 3'd2,
// when clk = 50~100MHz , set CLK_DIV = 3'd3,
// when clk = 100~200MHz , set CLK_DIV = 3'd4,
// ......
parameter SIMULATE = 0 // 0:normal use. 1:only for simulation
) (
// rstn active-low, 1:working, 0:reset
input wire rstn,