You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
570 B
Verilog

module lm(
input wire [7:0] x,
input wire [7:0] y,
// f20 f19 b20 c20 j16 k16 m18 m17 l17 l16 l15 l14 m15 m14 n16 n15
// x4 x2 x1 x3 x6 x7 x5 x8
// y2 y3 y5 y8 y7 y1 y6 y4
output wire o1, o2, o3, o4, o5, o6, o7, o8, o16,o15,o14,o13,o12,o11,o10,o9
);
// wire [7:0] x = 8'b1111_1111;
// wire [7:0] y = 8'b1111_1111;
assign {o9, o14, o8, o12, o1, o7, o2, o5} = x;
assign {o16, o15, o11, o6, o10, o4, o3, o13} = ~y;
endmodule