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