TR5-Lite User Manual
63
June 20, 2018
always @(*)
begin
case(iFREQ_MODE)
3'h0 : //100Mhz
begin
new_hs_div = 4'b0101 ;
new_n1 = 8'b0000_1010 ;
fdco = 28'h004_E200 ;
end
3'h1 : //125Mhz
begin
new_hs_div = 4'b0101 ;
new_n1 = 8'b0000_1000 ;
fdco = 28'h004_E200 ;
end
3'h2 : //156.25Mhz
begin
new_hs_div = 4'b0100 ;
new_n1 = 8'b0000_1000 ;
fdco = 28'h004_E200 ;
end
3'h3 : //250Mhz
begin
new_hs_div = 4'b0101 ;
new_n1 = 8'b0000_0100 ;
fdco = 28'h004_E200 ;
end
3'h4 : //312.5Mhz
begin
new_hs_div = 4'b0100 ;
new_n1 = 8'b0000_0100 ;
fdco = 28'h004_E200 ;
end
3'h5 : //322.265625Mhz
begin