// This file is generated by topld.pl // Please don't edit it. // Input Pins // Output Pins module M706 (clock8_baud, clr_flg1, clr_flg2, enable, i_o_clear, n3v3, n_t_14x, n_t_15x, n_t_16x, n_t_17x, n_t_18x, n_t_19x, n_t_20x, n_t_21x, n_t_31x, n_t_37x, n_t_47x, n_t_49x, n_t_50x, n_t_53x, n_t_57x, n_t_62x, n_t_63x, read_buffer, serial_in, skip_strobe, active_low, bit1, bit2, bit3, bit4, bit5, bit6, bit7, bit8, buffer_strobe, i_o_skip, irq_low, n_t_11x, n_t_25x, n_t_35x, n_t_36x, n_t_46x, n_t_4x, n_t_52x, n_t_59x, n_t_60x, preset, serial, shift); input clock8_baud; input clr_flg1; input clr_flg2; input enable; input i_o_clear; input n3v3; input n_t_14x; input n_t_15x; input n_t_16x; input n_t_17x; input n_t_18x; input n_t_19x; input n_t_20x; input n_t_21x; input n_t_31x; input n_t_37x; input n_t_47x; input n_t_49x; input n_t_50x; input n_t_53x; input n_t_57x; input n_t_62x; input n_t_63x; input read_buffer; input serial_in; input skip_strobe; inout active_low; output bit1; output bit2; output bit3; output bit4; output bit5; output bit6; output bit7; output bit8; inout buffer_strobe; output i_o_skip; output irq_low; inout n_t_11x; inout n_t_25x; inout reg n_t_35x; inout n_t_36x; output n_t_46x; inout reg n_t_4x; inout reg n_t_52x; output n_t_59x; output reg n_t_60x; inout preset; inout serial; inout shift; reg active_m; reg flag_m; reg in_last_m; reg n2^0_m; reg n_t_2x_m; reg n_t_34x_m; reg n_t_35x_m; reg n_t_3x_m; reg n_t_4x_m; reg n_t_52x_m; reg n_t_5x_m; reg n_t_60x_m; reg n_t_61x_m; reg n_t_6x_m; reg n_t_7x_m; reg n_t_8x_m; reg n_t_9x_m; reg spike_m; reg n2^0; reg flag; reg n_t_8x; reg n_t_9x; reg n_t_5x; reg n_t_6x; reg n_t_7x; reg n_t_2x; reg n_t_3x; reg spike; reg active; reg in_last; reg n_t_34x; reg n_t_61x; // Internal nodes wire io_clear_low; wire n_t_10x; wire n_t_12x; wire n_t_23x; wire n_t_24x; wire n_t_27x; wire n_t_28x; wire n_t_29x; wire n_t_33x; wire n_t_42x; wire n_t_43x; wire n_t_45x; wire n_t_58x; wire reader_run_low; wire serial_low; wire set_flag; wire start; // Code nodes // Equations // c1: c_us // c2: c_us // c3: c_us // c4: c_us // c5: c_us // c6: c_us // c7: c_us // c8: c_us // c9: c_us // c10: c_us // c11: c_us // c12: c_us // c13: c_us // c14: c_us // c15: c_us // c16: c_us // c17: c_us // c18: c_us // c19: c_us // c20: c_us // c21: c_us // c22: c_us // c23: c_us // c24: c_us // c25: c_us // c26: c_us // c27: c_us // c28: c_us // e1: sn7430 assign n_t_10x = ~n_t_15x & n_t_21x & n_t_20x & n_t_19x & n_t_18x & n_t_17x & n3v3 & n3v3; // e2: sn7474 always @(clock8_baud, n3v3, n3v3, n_t_27x) if (~n3v3) begin n2^0_m <= 1'b0; end else if (~n3v3) begin n2^0_m <= 1'b1; end else if (~(clock8_baud)) begin n2^0_m <= n_t_27x; end always @(clock8_baud, n3v3, n3v3, n20_m) if (~n3v3) begin n2^0 <= 1'b0; end else if (~n3v3) begin n2^0 <= 1'b1; end else if (clock8_baud) begin n2^0 <= n2^0_m; end assign n_t_33x = ~n2^0; always @(shift, n_t_11x, n3v3, set_flag) if (~n_t_11x) begin flag_m <= 1'b0; end else if (~n3v3) begin flag_m <= 1'b1; end else if (~(shift)) begin flag_m <= set_flag; end always @(shift, n_t_11x, n3v3, flag_m) if (~n_t_11x) begin flag <= 1'b0; end else if (~n3v3) begin flag <= 1'b1; end else if (shift) begin flag <= flag_m; end assign irq_low = ~flag; // e3: sn7400 assign n_t_11x = ~n_t_12x; assign n_t_23x = ~n_t_16x & n_t_10x; assign buffer_strobe = ~(~n_t_23x & read_buffer); // e4: sn7400 assign bit4 = ~n_t_6x & buffer_strobe; assign bit2 = ~n_t_9x & buffer_strobe; assign bit6 = ~n_t_4x & buffer_strobe; assign bit5 = ~buffer_strobe & n_t_7x; // e5: sn7474 always @(shift, n3v3, preset, n_t_9x) if (~n3v3) begin n_t_8x_m <= 1'b0; end else if (~preset) begin n_t_8x_m <= 1'b1; end else if (~(shift)) begin n_t_8x_m <= n_t_9x; end always @(shift, n3v3, preset, n_t_8x_m) if (~n3v3) begin n_t_8x <= 1'b0; end else if (~preset) begin n_t_8x <= 1'b1; end else if (shift) begin n_t_8x <= n_t_8x_m; end assign set_flag = ~n_t_8x; always @(shift, n3v3, preset, n_t_5x) if (~n3v3) begin n_t_9x_m <= 1'b0; end else if (~preset) begin n_t_9x_m <= 1'b1; end else if (~(shift)) begin n_t_9x_m <= n_t_5x; end always @(shift, n3v3, preset, n_t_9x_m) if (~n3v3) begin n_t_9x <= 1'b0; end else if (~preset) begin n_t_9x <= 1'b1; end else if (shift) begin n_t_9x <= n_t_9x_m; end // e6: sn7474 always @(shift, n3v3, preset, n_t_6x) if (~n3v3) begin n_t_5x_m <= 1'b0; end else if (~preset) begin n_t_5x_m <= 1'b1; end else if (~(shift)) begin n_t_5x_m <= n_t_6x; end always @(shift, n3v3, preset, n_t_5x_m) if (~n3v3) begin n_t_5x <= 1'b0; end else if (~preset) begin n_t_5x <= 1'b1; end else if (shift) begin n_t_5x <= n_t_5x_m; end always @(shift, n3v3, preset, n_t_7x) if (~n3v3) begin n_t_6x_m <= 1'b0; end else if (~preset) begin n_t_6x_m <= 1'b1; end else if (~(shift)) begin n_t_6x_m <= n_t_7x; end always @(shift, n3v3, preset, n_t_6x_m) if (~n3v3) begin n_t_6x <= 1'b0; end else if (~preset) begin n_t_6x <= 1'b1; end else if (shift) begin n_t_6x <= n_t_6x_m; end // e7: sn7400 assign bit3 = ~n_t_5x & buffer_strobe; assign bit7 = ~buffer_strobe & n_t_2x; assign bit8 = ~buffer_strobe & n_t_3x; assign bit1 = ~n_t_8x & buffer_strobe; // e8: sn7474 always @(shift, n3v3, preset, n_t_31x) if (~n3v3) begin n_t_7x_m <= 1'b0; end else if (~preset) begin n_t_7x_m <= 1'b1; end else if (~(shift)) begin n_t_7x_m <= n_t_31x; end always @(shift, n3v3, preset, n_t_7x_m) if (~n3v3) begin n_t_7x <= 1'b0; end else if (~preset) begin n_t_7x <= 1'b1; end else if (shift) begin n_t_7x <= n_t_7x_m; end always @(shift, n3v3, preset, n_t_2x) if (~n3v3) begin n_t_4x_m <= 1'b0; end else if (~preset) begin n_t_4x_m <= 1'b1; end else if (~(shift)) begin n_t_4x_m <= n_t_2x; end always @(shift, n3v3, preset, n_t_4x_m) if (~n3v3) begin n_t_4x <= 1'b0; end else if (~preset) begin n_t_4x <= 1'b1; end else if (shift) begin n_t_4x <= n_t_4x_m; end // e9: sn7410 assign n_t_12x = ~n_t_24x & io_clear_low & n_t_25x; assign n_t_29x = ~io_clear_low & n_t_28x; // e10: sn7474 always @(shift, n3v3, preset, n_t_3x) if (~n3v3) begin n_t_2x_m <= 1'b0; end else if (~preset) begin n_t_2x_m <= 1'b1; end else if (~(shift)) begin n_t_2x_m <= n_t_3x; end always @(shift, n3v3, preset, n_t_2x_m) if (~n3v3) begin n_t_2x <= 1'b0; end else if (~preset) begin n_t_2x <= 1'b1; end else if (shift) begin n_t_2x <= n_t_2x_m; end always @(shift, n3v3, preset, n_t_14x) if (~n3v3) begin n_t_3x_m <= 1'b0; end else if (~preset) begin n_t_3x_m <= 1'b1; end else if (~(shift)) begin n_t_3x_m <= n_t_14x; end always @(shift, n3v3, preset, n_t_3x_m) if (~n3v3) begin n_t_3x <= 1'b0; end else if (~preset) begin n_t_3x <= 1'b1; end else if (shift) begin n_t_3x <= n_t_3x_m; end // e11: sn7410 assign i_o_skip = ~skip_strobe & n_t_23x & flag; assign n_t_25x = ~n_t_23x & n3v3 & clr_flg2; assign n_t_28x = ~shift & serial & spike; // e12: sn7400 assign n_t_42x = ~in_last & n_t_43x; assign io_clear_low = ~i_o_clear & n3v3; assign n_t_24x = ~n3v3 & clr_flg1; // e13: sn7474 always @(preset, n_t_50x, 1'b0) if (~preset) begin n_t_52x_m <= 1'b0; end else if (~n_t_50x) begin n_t_52x_m <= 1'b1; end else if (~(1'b0)) begin n_t_52x_m <= 1'b0; end always @(preset, n_t_50x, n_t_52x_m) if (~preset) begin n_t_52x <= 1'b0; end else if (~n_t_50x) begin n_t_52x <= 1'b1; end else if (1'b0) begin n_t_52x <= n_t_52x_m; end assign reader_run_low = ~n_t_52x; always @(n_t_43x, io_clear_low, preset, 1'b0) if (~io_clear_low) begin spike_m <= 1'b0; end else if (~preset) begin spike_m <= 1'b1; end else if (~(n_t_43x)) begin spike_m <= 1'b0; end always @(n_t_43x, io_clear_low, preset, spike_m) if (~io_clear_low) begin spike <= 1'b0; end else if (~preset) begin spike <= 1'b1; end else if (n_t_43x) begin spike <= spike_m; end // e14: sn7474 always @(n_t_42x, n_t_29x, start, 1'b0) if (n_t_29x) begin active_m <= 1'b0; end else if (~start) begin active_m <= 1'b1; end else if (~(~n_t_42x)) begin active_m <= 1'b0; end always @(n_t_42x, n_t_29x, start, active_m) if (n_t_29x) begin active <= 1'b0; end else if (~start) begin active <= 1'b1; end else if (~n_t_42x) begin active <= active_m; end assign active_low = ~active; always @(shift, n_t_57x, n3v3, set_flag) if (~n_t_57x) begin in_last_m <= 1'b0; end else if (~n3v3) begin in_last_m <= 1'b1; end else if (~(shift)) begin in_last_m <= set_flag; end always @(shift, n_t_57x, n3v3, in_last_m) if (~n_t_57x) begin in_last <= 1'b0; end else if (~n3v3) begin in_last <= 1'b1; end else if (shift) begin in_last <= in_last_m; end // e15: sn7440 assign preset = ~n_t_49x; assign n_t_58x = ~active_low & n3v3 & n3v3 & n3v3; // e16: sn7400 assign n_t_43x = ~active & n_t_63x; assign shift = ~(~n_t_53x); assign n_t_45x = ~(~in_last & active_low); // e17: sn7474 always @(n_t_34x, n_t_45x, n3v3, n_t_36x) if (~n_t_45x) begin n_t_35x_m <= 1'b0; end else if (~n3v3) begin n_t_35x_m <= 1'b1; end else if (~(n_t_34x)) begin n_t_35x_m <= n_t_36x; end always @(n_t_34x, n_t_45x, n3v3, n_t_35x_m) if (~n_t_45x) begin n_t_35x <= 1'b0; end else if (~n3v3) begin n_t_35x <= 1'b1; end else if (n_t_34x) begin n_t_35x <= n_t_35x_m; end assign n_t_36x = ~n_t_35x; always @(n_t_33x, n3v3, n_t_45x, n_t_34x) if (~n3v3) begin n_t_34x_m <= 1'b0; end else if (~n_t_45x) begin n_t_34x_m <= 1'b1; end else if (~(n_t_33x)) begin n_t_34x_m <= ~n_t_34x; end always @(n_t_33x, n3v3, n_t_45x, n_t_34x_m) if (~n3v3) begin n_t_34x <= 1'b0; end else if (~n_t_45x) begin n_t_34x <= 1'b1; end else if (n_t_33x) begin n_t_34x <= n_t_34x_m; end // e18: sn7460 // !serial_low = !serial_in; // serial_low = serial_low; // !serial_low = !serial_low; // serial_low = serial_low; // e19: sn7474 always @(n_t_37x, preset, n_t_62x, active_low) if (~preset) begin n_t_61x_m <= 1'b0; end else if (~n_t_62x) begin n_t_61x_m <= 1'b1; end else if (~(n_t_37x)) begin n_t_61x_m <= active_low; end always @(n_t_37x, preset, n_t_62x, n_t_61x_m) if (~preset) begin n_t_61x <= 1'b0; end else if (~n_t_62x) begin n_t_61x <= 1'b1; end else if (n_t_37x) begin n_t_61x <= n_t_61x_m; end assign n_t_59x = ~n_t_61x; always @(n_t_37x, n_t_62x, preset, n_t_61x) if (~n_t_62x) begin n_t_60x_m <= 1'b0; end else if (~preset) begin n_t_60x_m <= 1'b1; end else if (~(n_t_37x)) begin n_t_60x_m <= ~n_t_61x; end always @(n_t_37x, n_t_62x, preset, n_t_60x_m) if (~n_t_62x) begin n_t_60x <= 1'b0; end else if (~preset) begin n_t_60x <= 1'b1; end else if (n_t_37x) begin n_t_60x <= n_t_60x_m; end // e20: sn7440 assign start = ~(enable & ~n_t_45x & serial_low & clock8_baud); // e21: sn7400 assign n_t_27x = ~(n2^0 & n_t_45x); assign n_t_46x = ~n_t_47x & buffer_strobe; assign serial = ~serial_low; // q1: dec6b // r1: r_us_ // r2: r_us_ // r3: r_us_ // r4: r_us_ // r5: r_us_ // r6: r_us_ // r7: r_us_ // r8: r_us_ // r9: r_us_ // r10: r_us_ // Open collector 'wire-or's assign serial_low = serial_in | serial_low; endmodule