mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	I know what is wrong now. The ethernet device IP is not correctly generating the mii nibble stream. Some nibbles are dropped in each 4-byte word.
The default input interface to the interface is 8-bit and I used 32-bit. I suspect there is a bug in the implementation for non-8-bit interfaces.
This commit is contained in:
		
							parent
							
								
									93829ce509
								
							
						
					
					
						commit
						00e0549c36
					
				@ -100,7 +100,8 @@ module packetizer import cvw::*; #(parameter cvw_t P,
 | 
				
			|||||||
  // at 20MHz 250 ms is 250e-3 / (1/20e6) = 5,000,000.
 | 
					  // at 20MHz 250 ms is 250e-3 / (1/20e6) = 5,000,000.
 | 
				
			||||||
  counter #(32) rstcounter(m_axi_aclk, RstCountRst, RstCountEn, RstCount);
 | 
					  counter #(32) rstcounter(m_axi_aclk, RstCountRst, RstCountEn, RstCount);
 | 
				
			||||||
  assign CountFlag = RstCount == 32'd100000000;
 | 
					  assign CountFlag = RstCount == 32'd100000000;
 | 
				
			||||||
  assign DelayFlag = RstCount == 32'd200;
 | 
					  //assign DelayFlag = RstCount == 32'd200;
 | 
				
			||||||
 | 
					   assign DelayFlag = RstCount == 32'd0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  flopenr #(187+(3*P.XLEN) + MAX_CSRS*(P.XLEN+12)) rvvireg(m_axi_aclk, ~m_axi_aresetn, valid, rvvi, rvviDelay);
 | 
					  flopenr #(187+(3*P.XLEN) + MAX_CSRS*(P.XLEN+12)) rvvireg(m_axi_aclk, ~m_axi_aresetn, valid, rvvi, rvviDelay);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user