summaryrefslogtreecommitdiff
path: root/eater_cpu/bus_writer.sv
blob: fe34202255a29f9d8535674e4e6e11e5872dce59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Debugging the Ben Eater bus, by manually writing data to it.

`timescale 1us/1us

module bus_writer (
    input wire [7:0] in_value,
    input wire in_write_to_output,
    output wire [7:0] out_value
);

assign out_value = in_write_to_output ? in_value : 8'bZ;

endmodule