wire [5:0] output_stuff = { buttons, tos_good };
always @(*)
data_output = output_stuff[current_bit[2:0]];
TOS_Detect detect[3:0](.xtal(xtal), .tos_input(tos_inputs), .tos_good(tos_good));
wire [5:0] output_stuff = { buttons, tos_good };
always @(*)
data_output = output_stuff[current_bit[2:0]];
TOS_Detect detect[3:0](.xtal(xtal), .tos_input(tos_inputs), .tos_good(tos_good));
- POS_Serial serinput(.xtal(xtal), .serial(serial), .data_reg(data), .current_bit(current_bit), .data_good(data_good));
+ POS_Serial serinput(.xtal(xtal), .serial(serial), .data_reg(data), .current_bit(current_bit), .data_good(data_good), .edge_counter(edge_counter));
input serial,
output reg [11:0] data_reg = 0,
output reg [3:0] current_bit = 0,
input serial,
output reg [11:0] data_reg = 0,
output reg [3:0] current_bit = 0,