mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Merge branch 'master' into struct
This commit is contained in:
		
						commit
						0d3f7ea011
					
				
					 154 changed files with 4100 additions and 2459 deletions
				
			
		
							
								
								
									
										6
									
								
								tests/svtypes/logic_rom.sv
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								tests/svtypes/logic_rom.sv
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| module top(input [3:0] addr, output [7:0] data); | ||||
|     logic [7:0] mem[0:15]; | ||||
|     assign data = mem[addr]; | ||||
|     integer i; | ||||
|     initial for(i = 0; i < 16; i = i + 1) mem[i] = i; | ||||
| endmodule | ||||
							
								
								
									
										3
									
								
								tests/svtypes/logic_rom.ys
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								tests/svtypes/logic_rom.ys
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| read_verilog -sv logic_rom.sv | ||||
| prep -top top | ||||
| select -assert-count 1 t:$mem r:SIZE=16 %i r:WIDTH=8 %i | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue