📄 ddr2_model_parameters.vh
字号:
parameter COL_BITS = 10; // Set this parameter to control how many Column bits are used parameter DQ_BITS = 8; // Set this parameter to control how many Data bits are used **Same as part bit width** parameter DQS_BITS = 1; // Set this parameter to control how many Dqs bits are used parameter TRRD = 7500; // tRRD Active bank a to Active bank b command time parameter TFAW = 37500; // tFAW Four access window time for the number of activates in an 8 bank device`else `define x16 parameter DM_BITS = 2; // Set this parameter to control how many Data Mask bits are used parameter ADDR_BITS = 13; // MAX Address Bits parameter ROW_BITS = 13; // Set this parameter to control how many Address bits are used parameter COL_BITS = 10; // Set this parameter to control how many Column bits are used parameter DQ_BITS = 16; // Set this parameter to control how many Data bits are used **Same as part bit width** parameter DQS_BITS = 2; // Set this parameter to control how many Dqs bits are used parameter TRRD = 10000; // tRRD Active bank a to Active bank b command time parameter TFAW = 50000; // tFAW Four access window time for the number of activates in an 8 bank device`endif `endif // Size Parameters parameter BA_BITS = 2; // Set this parmaeter to control how many Bank Address bits are used parameter MEM_BITS = 10; // Set this parameter to control how many write data bursts can be stored in memory. The default is 2^10=1024. parameter AP = 10; // the address bit that controls auto-precharge and precharge-all parameter BL_BITS = 3; // the number of bits required to count to MAX_BL parameter BO_BITS = 2; // the number of Burst Order Bits`else `ifdef x1Gb`ifdef sg187E parameter TCK_MIN = 1875; // tCK ps Minimum Clock Cycle Time parameter TJIT_PER = 90; // tJIT(per) ps Period JItter parameter TJIT_DUTY = 75; // tJIT(duty) ps Half Period Jitter parameter TJIT_CC = 180; // tJIT(cc) ps Cycle to Cycle jitter parameter TERR_2PER = 132; // tERR(nper) ps Accumulated Error (2-cycle) parameter TERR_3PER = 157; // tERR(nper) ps Accumulated Error (3-cycle) parameter TERR_4PER = 175; // tERR(nper) ps Accumulated Error (4-cycle) parameter TERR_5PER = 188; // tERR(nper) ps Accumulated Error (5-cycle) parameter TERR_N1PER = 250; // tERR(nper) ps Accumulated Error (6-10-cycle) parameter TERR_N2PER = 425; // tERR(nper) ps Accumulated Error (11-50-cycle) parameter TQHS = 250; // tQHS ps Data hold skew factor parameter TAC = 350; // tAC ps DQ output access time from CK/CK# parameter TDS = 0; // tDS ps DQ and DM input setup time relative to DQS parameter TDH = 75; // tDH ps DQ and DM input hold time relative to DQS parameter TDQSCK = 300; // tDQSCK ps DQS output access time from CK/CK# parameter TDQSQ = 175; // tDQSQ ps DQS-DQ skew, DQS to last DQ valid, per group, per access parameter TIS = 125; // tIS ps Input Setup Time parameter TIH = 200; // tIH ps Input Hold Time parameter TRC = 54000; // tRC ps Active to Active/Auto Refresh command time parameter TRCD = 13125; // tRCD ps Active to Read/Write command time parameter TRAS_MIN = 40000; // tRAS ps Minimum Active to Precharge command time parameter TWTR = 7500; // tWTR ps Write to Read command delay parameter TRP = 13125; // tRP ps Precharge command period parameter TXARDS = 10; // tXARDS tCK Exit low power active power down to a read command parameter TXARD = 3; // tXARD tCK Exit active power down to a read command parameter TXP = 3; // tXP tCK Exit power down to a non-read command parameter TANPD = 4; // tANPD tCK ODT to power-down entry latency parameter TAXPD = 11; // tAXPD tCK ODT power-down exit latency parameter CL_TIME = 13125; // CL ps Minimum CAS Latency`else `ifdef sg25E parameter TCK_MIN = 2500; // tCK ps Minimum Clock Cycle Time parameter TJIT_PER = 100; // tJIT(per) ps Period JItter parameter TJIT_DUTY = 100; // tJIT(duty) ps Half Period Jitter parameter TJIT_CC = 200; // tJIT(cc) ps Cycle to Cycle jitter parameter TERR_2PER = 150; // tERR(nper) ps Accumulated Error (2-cycle) parameter TERR_3PER = 175; // tERR(nper) ps Accumulated Error (3-cycle) parameter TERR_4PER = 200; // tERR(nper) ps Accumulated Error (4-cycle) parameter TERR_5PER = 200; // tERR(nper) ps Accumulated Error (5-cycle) parameter TERR_N1PER = 300; // tERR(nper) ps Accumulated Error (6-10-cycle) parameter TERR_N2PER = 450; // tERR(nper) ps Accumulated Error (11-50-cycle) parameter TQHS = 300; // tQHS ps Data hold skew factor parameter TAC = 400; // tAC ps DQ output access time from CK/CK# parameter TDS = 50; // tDS ps DQ and DM input setup time relative to DQS parameter TDH = 125; // tDH ps DQ and DM input hold time relative to DQS parameter TDQSCK = 350; // tDQSCK ps DQS output access time from CK/CK# parameter TDQSQ = 200; // tDQSQ ps DQS-DQ skew, DQS to last DQ valid, per group, per access parameter TIS = 175; // tIS ps Input Setup Time parameter TIH = 250; // tIH ps Input Hold Time parameter TRC = 55000; // tRC ps Active to Active/Auto Refresh command time parameter TRCD = 12500; // tRCD ps Active to Read/Write command time parameter TRAS_MIN = 45000; // tRAS ps Minimum Active to Precharge command time parameter TWTR = 7500; // tWTR ps Write to Read command delay parameter TRP = 12500; // tRP ps Precharge command period parameter TXARDS = 8; // tXARDS tCK Exit low power active power down to a read command parameter TXARD = 2; // tXARD tCK Exit active power down to a read command parameter TXP = 2; // tXP tCK Exit power down to a non-read command parameter TANPD = 3; // tANPD tCK ODT to power-down entry latency parameter TAXPD = 10; // tAXPD tCK ODT power-down exit latency parameter CL_TIME = 12500; // CL ps Minimum CAS Latency`else `ifdef sg25 parameter TCK_MIN = 2500; // tCK ps Minimum Clock Cycle Time parameter TJIT_PER = 100; // tJIT(per) ps Period JItter parameter TJIT_DUTY = 100; // tJIT(duty) ps Half Period Jitter parameter TJIT_CC = 200; // tJIT(cc) ps Cycle to Cycle jitter parameter TERR_2PER = 150; // tERR(nper) ps Accumulated Error (2-cycle) parameter TERR_3PER = 175; // tERR(nper) ps Accumulated Error (3-cycle) parameter TERR_4PER = 200; // tERR(nper) ps Accumulated Error (4-cycle) parameter TERR_5PER = 200; // tERR(nper) ps Accumulated Error (5-cycle) parameter TERR_N1PER = 300; // tERR(nper) ps Accumulated Error (6-10-cycle) parameter TERR_N2PER = 450; // tERR(nper) ps Accumulated Error (11-50-cycle) parameter TQHS = 300; // tQHS ps Data hold skew factor parameter TAC = 400; // tAC ps DQ output access time from CK/CK# parameter TDS = 50; // tDS ps DQ and DM input setup time relative to DQS parameter TDH = 125; // tDH ps DQ and DM input hold time relative to DQS parameter TDQSCK = 350; // tDQSCK ps DQS output access time from CK/CK# parameter TDQSQ = 200; // tDQSQ ps DQS-DQ skew, DQS to last DQ valid, per group, per access parameter TIS = 175; // tIS ps Input Setup Time parameter TIH = 250; // tIH ps Input Hold Time parameter TRC = 55000; // tRC ps Active to Active/Auto Refresh command time parameter TRCD = 15000; // tRCD ps Active to Read/Write command time parameter TRAS_MIN = 45000; // tRAS ps Minimum Active to Precharge command time parameter TWTR = 7500; // tWTR ps Write to Read command delay parameter TRP = 15000; // tRP ps Precharge command period parameter TXARDS = 8; // tXARDS tCK Exit low power active power down to a read command parameter TXARD = 2; // tXARD tCK Exit active power down to a read command parameter TXP = 2; // tXP tCK Exit power down to a non-read command parameter TANPD = 3; // tANPD tCK ODT to power-down entry latency parameter TAXPD = 10; // tAXPD tCK ODT power-down exit latency parameter CL_TIME = 15000; // CL ps Minimum CAS Latency`else `ifdef sg3E parameter TCK_MIN = 3000; // tCK ps Minimum Clock Cycle Time parameter TJIT_PER = 125; // tJIT(per) ps Period JItter parameter TJIT_DUTY = 125; // tJIT(duty) ps Half Period Jitter parameter TJIT_CC = 250; // tJIT(cc) ps Cycle to Cycle jitter parameter TERR_2PER = 175; // tERR(nper) ps Accumulated Error (2-cycle) parameter TERR_3PER = 225; // tERR(nper) ps Accumulated Error (3-cycle) parameter TERR_4PER = 250; // tERR(nper) ps Accumulated Error (4-cycle) parameter TERR_5PER = 250; // tERR(nper) ps Accumulated Error (5-cycle) parameter TERR_N1PER = 350; // tERR(nper) ps Accumulated Error (6-10-cycle) parameter TERR_N2PER = 450; // tERR(nper) ps Accumulated Error (11-50-cycle) parameter TQHS = 340; // tQHS ps Data hold skew factor parameter TAC = 450; // tAC ps DQ output access time from CK/CK# parameter TDS = 100; // tDS ps DQ and DM input setup time relative to DQS parameter TDH = 175; // tDH ps DQ and DM input hold time relative to DQS parameter TDQSCK = 400; // tDQSCK ps DQS output access time from CK/CK# parameter TDQSQ = 240; // tDQSQ ps DQS-DQ skew, DQS to last DQ valid, per group, per access parameter TIS = 200; // tIS ps Input Setup Time parameter TIH = 275; // tIH ps Input Hold Time parameter TRC = 54000; // tRC ps Active to Active/Auto Refresh command time parameter TRCD = 12000; // tRCD ps Active to Read/Write command time parameter TRAS_MIN = 40000; // tRAS ps Minimum Active to Precharge command time parameter TWTR = 7500; // tWTR ps Write to Read command delay parameter TRP = 12000; // tRP ps Precharge command period parameter TXARDS = 7; // tXARDS tCK Exit low power active power down to a read command parameter TXARD = 2; // tXARD tCK Exit active power down to a read command parameter TXP = 2; // tXP tCK Exit power down to a non-read command parameter TANPD = 3; // tANPD tCK ODT to power-down entry latency parameter TAXPD = 8; // tAXPD tCK ODT power-down exit latency parameter CL_TIME = 12000; // CL ps Minimum CAS Latency`else `ifdef sg3 parameter TCK_MIN = 3000; // tCK ps Minimum Clock Cycle Time parameter TJIT_PER = 125; // tJIT(per) ps Period JItter parameter TJIT_DUTY = 125; // tJIT(duty) ps Half Period Jitter parameter TJIT_CC = 250; // tJIT(cc) ps Cycle to Cycle jitter parameter TERR_2PER = 175; // tERR(nper) ps Accumulated Error (2-cycle) parameter TERR_3PER = 225; // tERR(nper) ps Accumulated Error (3-cycle) parameter TERR_4PER = 250; // tERR(nper) ps Accumulated Error (4-cycle) parameter TERR_5PER = 250; // tERR(nper) ps Accumulated Error (5-cycle) parameter TERR_N1PER = 350; // tERR(nper) ps Accumulated Error (6-10-cycle) parameter TERR_N2PER = 450; // tERR(nper) ps Accumulated Error (11-50-cycle) parameter TQHS = 340; // tQHS ps Data hold skew factor parameter TAC = 450; // tAC ps DQ output access time from CK/CK# parameter TDS = 100; // tDS ps DQ and DM input setup time relative to DQS parameter TDH = 175; // tDH ps DQ and DM input hold time relative to DQS parameter TDQSCK = 400; // tDQSCK ps DQS output access time from CK/CK# parameter TDQSQ = 240; // tDQSQ ps DQS-DQ skew, DQS to last DQ valid, per group, per access parameter TIS = 200; // tIS ps Input Setup Time parameter TIH = 275; // tIH ps Input Hold Time
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -