mirror of
				https://github.com/YosysHQ/sby.git
				synced 2025-11-03 22:29:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			360 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			360 B
		
	
	
	
		
			Text
		
	
	
	
	
	
[options]
 | 
						|
mode bmc
 | 
						|
depth 1
 | 
						|
expect fail
 | 
						|
 | 
						|
[engines]
 | 
						|
smtbmc
 | 
						|
 | 
						|
[script]
 | 
						|
read -formal test.v
 | 
						|
prep -top top
 | 
						|
cutpoint -blackbox
 | 
						|
 | 
						|
[file test.v]
 | 
						|
(* blackbox *)
 | 
						|
module submod(a, b);
 | 
						|
	input [7:0] a;
 | 
						|
	output [7:0] b;
 | 
						|
endmodule
 | 
						|
 | 
						|
module top;
 | 
						|
	(*anyconst*) wire [7:0] a;
 | 
						|
	wire [7:0] b;
 | 
						|
 | 
						|
	submod submod(
 | 
						|
		.a(a),
 | 
						|
		.b(b)
 | 
						|
	);
 | 
						|
 | 
						|
	always @* begin
 | 
						|
		assert(~a == b);
 | 
						|
	end
 | 
						|
endmodule
 |