IO clock is 48MHz indication from AST
@zi-v @arnonsha During full chip simulation a bug was found on the clocks bypass logic.
The bug involve the incorrect step down (div4-to-div2) of the IO clock in the lc_ctrl/clkmgr module/s during other clocks bypass modes.
In order to fix the issue, the AST added a new signal to indicate to the lc_ctrl/clkmgr modules that the IO clock is 48Mhz. The interface to the lc_ctrl/clkmgr needs to include a new signal:
- clk_src_io_48m_o // 0: 96MHz, 1: 48MHz
This signal is needed to be used for the div4/div2 selection in the lc_ctrl/clkmgr module/s.
The reason that this signal is needed relate to the fact the lc_ctrl/clkmgr moduless are not aware of clocks bypass other modes.
// IO Clock Source is 48MHz //////////////////////////////////////// // Oscillator source is always 96MHz. // External Bypass source is assume to be 96MHz until it is ebabled as 48MHz assign clk_src_io_48m_o = io_clk_byp_sel && io_clk_byp_en && !ext_freq_is_96m;
See monorail Issue 101: [Gold] IO clock is 48MHz indication from AST for mode details.