mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Removed now obsolete test cases
This commit is contained in:
		
							parent
							
								
									f71e27dbf1
								
							
						
					
					
						commit
						7eaad2218d
					
				
					 3 changed files with 0 additions and 72 deletions
				
			
		|  | @ -1,2 +0,0 @@ | |||
| This directory contains test cases that can't be tested using Icarus Verilog | ||||
| because they exceed the Verilog subset that is supported by Icarus Verilog. | ||||
|  | @ -1,25 +0,0 @@ | |||
| 
 | ||||
| module test01(a, b, y); | ||||
| 
 | ||||
| input [3:0] a, b; | ||||
| output [3:0] y; | ||||
| 
 | ||||
| assign temp1 = a + b; | ||||
| assign temp2 = ~temp1; | ||||
| assign y = temp2; | ||||
| 
 | ||||
| endmodule | ||||
| 
 | ||||
| // ------------------------------ | ||||
| 
 | ||||
| module test02(a, b, y); | ||||
| 
 | ||||
| input [3:0] a, b; | ||||
| output [3:0] y; | ||||
| 
 | ||||
| test01 test01_cell(A, B, Y); | ||||
| 
 | ||||
| assign A = a, B = b, y = Y; | ||||
| 
 | ||||
| endmodule | ||||
| 
 | ||||
|  | @ -1,45 +0,0 @@ | |||
| 
 | ||||
| module test01(a, b, x, y, z); | ||||
| 
 | ||||
| input [7:0] a; | ||||
| input [2:0] b; | ||||
| output [7:0] x, y; | ||||
| output z; | ||||
| 
 | ||||
| assign x = a >> b; | ||||
| assign y = a[b+7:b]; | ||||
| assign z = a[b]; | ||||
| 
 | ||||
| endmodule | ||||
| 
 | ||||
| module test02(clk, a, b, x, y, z); | ||||
| 
 | ||||
| input clk; | ||||
| input [7:0] a; | ||||
| input [2:0] b; | ||||
| output reg [7:0] x, y; | ||||
| output reg z; | ||||
| 
 | ||||
| always @(posedge clk) begin | ||||
| 	x <= a >> b; | ||||
| 	y <= a[b+7:b]; | ||||
| 	z <= a[b]; | ||||
| end | ||||
| 
 | ||||
| endmodule | ||||
| 
 | ||||
| module test03(clk, a, b, x, y); | ||||
| 
 | ||||
| input clk; | ||||
| input [2:0] a, b; | ||||
| output reg [7:0] x; | ||||
| output reg [9:0] y; | ||||
| 
 | ||||
| always @(posedge clk) | ||||
| 	y[b] <= a; | ||||
| 
 | ||||
| always @(posedge clk) | ||||
| 	y[b+2:b] <= a; | ||||
| 
 | ||||
| endmodule | ||||
| 
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue