Mar 12, 2018 #1 P promach Advanced Member level 4 Joined Feb 22, 2016 Messages 1,199 Helped 2 Reputation 4 Reaction score 5 Trophy points 1,318 Activity points 11,636 For https://github.com/KastnerRG/riffa/blob/master/fpga/riffa_hdl/tx_port_channel_gate_128.v#L95-L107 , are there any reasons to use one clocked process + one combinatorial process ? Will a single clocked process work less better in real hardware implementation ? Code Verilog - [expand]1 2 3 4 5 6 7 8 9 10 11 12 13 always @ (posedge CHNL_CLK) begin rChnlTx <= #1 (RST ? 1'd0 : _rChnlTx); rChnlLast <= #1 _rChnlLast; rChnlLen <= #1 _rChnlLen; rChnlOff <= #1 _rChnlOff; end always @ (*) begin _rChnlTx = CHNL_TX; _rChnlLast = CHNL_TX_LAST; _rChnlLen = CHNL_TX_LEN; _rChnlOff = CHNL_TX_OFF; end
For https://github.com/KastnerRG/riffa/blob/master/fpga/riffa_hdl/tx_port_channel_gate_128.v#L95-L107 , are there any reasons to use one clocked process + one combinatorial process ? Will a single clocked process work less better in real hardware implementation ? Code Verilog - [expand]1 2 3 4 5 6 7 8 9 10 11 12 13 always @ (posedge CHNL_CLK) begin rChnlTx <= #1 (RST ? 1'd0 : _rChnlTx); rChnlLast <= #1 _rChnlLast; rChnlLen <= #1 _rChnlLen; rChnlOff <= #1 _rChnlOff; end always @ (*) begin _rChnlTx = CHNL_TX; _rChnlLast = CHNL_TX_LAST; _rChnlLen = CHNL_TX_LEN; _rChnlOff = CHNL_TX_OFF; end
Mar 12, 2018 #2 T TrickyDicky Advanced Member level 7 Joined Jun 7, 2010 Messages 7,110 Helped 2,081 Reputation 4,181 Reaction score 2,047 Trophy points 1,393 Activity points 39,769 Its a style some designers use (and used to be mandated by synthesisors many many years ago). One is not better than the other (but both have pros and cons).
Its a style some designers use (and used to be mandated by synthesisors many many years ago). One is not better than the other (but both have pros and cons).
Mar 12, 2018 #3 P promach Advanced Member level 4 Joined Feb 22, 2016 Messages 1,199 Helped 2 Reputation 4 Reaction score 5 Trophy points 1,318 Activity points 11,636 both have pros and cons Click to expand... Could anyone elaborate on this statement ?
Mar 12, 2018 #4 T TrickyDicky Advanced Member level 7 Joined Jun 7, 2010 Messages 7,110 Helped 2,081 Reputation 4,181 Reaction score 2,047 Trophy points 1,393 Activity points 39,769 This topic has been done to death! Here is an example: http://forums.xilinx.com/t5/Synthes...n-one-process-and-two-process-FSM/td-p/214607
This topic has been done to death! Here is an example: http://forums.xilinx.com/t5/Synthes...n-one-process-and-two-process-FSM/td-p/214607