aboutsummaryrefslogtreecommitdiffstats
path: root/examples/smtbmc/demo6.v
blob: 62a72e2a85c69c823123ec89f8380605e3077b98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Demo for assertpmux

module demo6 (input A, B, C, D, E, output reg Y);
	always @* begin
		Y = 0;
		if (A != B) begin
			(* parallel_case *)
			case (C)
				A: Y = D;
				B: Y = E;
			endcase
		end
	end
endmodule
Software Foundation, 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. with Ghdlmain; with Ghdllocal; with Ghdlprint; with Ghdlrun; with Ghdlvpi; with Ghdlxml; with Ortho_Jit; procedure Ghdl_Jit is begin -- Manual elaboration so that the order is known (because it is the order -- used to display help). Ghdlmain.Version_String := new String'(Ortho_Jit.Get_Jit_Name & " code generator"); Ghdlrun.Register_Commands; Ghdllocal.Register_Commands; Ghdlprint.Register_Commands; Ghdlvpi.Register_Commands; Ghdlxml.Register_Commands; Ghdlmain.Register_Commands; Ghdlmain.Main; end Ghdl_Jit;