data/full_repos/permissive/133043770/tableSquarewave.v
data/verilator_xmls/7511bf3e-7dfa-48b8-a7d8-59c89737c16c.xml
module tableSquarewave(phaseTopBit, squarewave);
parameter USE_UNSIGNED_TABLES = 0;
input phaseTopBit;
output reg [11:0] squarewave = 0;
always @(phaseTopBit) begin

	if (USE_UNSIGNED_TABLES)


		squarewave = (phaseTopBit) ? 12'h0 : 12'hfff; 
	else


		squarewave = (phaseTopBit) ? 12'h7ff : 12'h801;
		
end
endmodule
module tableSquarewave(phaseTopBit, squarewave);

parameter USE_UNSIGNED_TABLES = 0;
input phaseTopBit;
output reg [11:0] squarewave = 0;
always @(phaseTopBit) begin

	if (USE_UNSIGNED_TABLES)


		squarewave = (phaseTopBit) ? 12'h0 : 12'hfff; 
	else


		squarewave = (phaseTopBit) ? 12'h7ff : 12'h801;
		
end
endmodule