Fractional-N
Full Member level 1
- Joined
- Oct 15, 2007
- Messages
- 97
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,288
- Activity points
- 2,071
hi,
this is my code
i get warning:
what is wrong with my code. I don't know how should i change it so that i don't have a gated clock. can you help me? any suggestions?
this is my code
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 OUTDATA : PROCESS(sSELECT,sDATA1,sDATA2,sDATA3,sDATA4,sDATA5,sDATA6) BEGIN if (sSELECT = "000") then pDATAOUT <= sDATA1; elsif (sSELECT = "001") then pDATAOUT <= sDATA2; elsif (sSELECT = "010") then pDATAOUT <= sDATA3; elsif (sSELECT = "011") then pDATAOUT <= sDATA4; elsif (sSELECT = "100") then pDATAOUT <= sDATA5; elsif (sSELECT = "101") then pDATAOUT <= sDATA6; end if; end process;
i get warning:
Code:
WARNING:PhysDesignRules:372 - Gated clock. Clock net
Mem/Memory/pDATAOUT_not0001 is sourced by a combinatorial pin. This
is not good design practice. Use the CE pin to control the loading of data
into the flip-flop.
what is wrong with my code. I don't know how should i change it so that i don't have a gated clock. can you help me? any suggestions?