data/full_repos/permissive/408955603/Sesion2/circuitoEj1Tema3PuertasNAND.v
1: b'%Error: data/full_repos/permissive/408955603/Sesion2/circuitoEj1Tema3PuertasNAND.v:16: Unsupported or unknown PLI call: $monitor\n  $monitor($time, " | %b %b %b %b | %b", r[3], r[2], r[1], r[0], salida);\n  ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/408955603/Sesion2/circuitoEj1Tema3PuertasNAND.v:18: Unsupported: Ignoring delay on this delayed statement.\n  while(r != \'b1111) #5 r += 1;\n                     ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 error(s), 1 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module Ej1T3NAND;
	reg [3:0] r;

	wire salida, na1s, na2s, na3s, na4s, na5s;


	nand na1(na1s, r[3]);
	nand na2(na2s, na1s, r[2]);
	nand na3(na3s, r[1]);
	nand na4(na4s, na3s, na2s);
	nand na5(na5s, na4s, r[0]);
	nand na6(salida, na5s);

	initial
	begin
		$monitor($time, " | %b %b %b %b | %b", r[3], r[2], r[1], r[0], salida);
		r = 0;
		while(r != 'b1111) #5 r += 1;
	end
endmodule
module Ej1T3NAND;

	reg [3:0] r;

	wire salida, na1s, na2s, na3s, na4s, na5s;


	nand na1(na1s, r[3]);
	nand na2(na2s, na1s, r[2]);
	nand na3(na3s, r[1]);
	nand na4(na4s, na3s, na2s);
	nand na5(na5s, na4s, r[0]);
	nand na6(salida, na5s);

	initial
	begin
		$monitor($time, " | %b %b %b %b | %b", r[3], r[2], r[1], r[0], salida);
		r = 0;
		while(r != 'b1111) #5 r += 1;
	end
endmodule