diff options
Diffstat (limited to 'eater_cpu/eater_computer.sv')
| -rw-r--r-- | eater_cpu/eater_computer.sv | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/eater_cpu/eater_computer.sv b/eater_cpu/eater_computer.sv index 7e49f2b..4985306 100644 --- a/eater_cpu/eater_computer.sv +++ b/eater_cpu/eater_computer.sv @@ -48,18 +48,27 @@ eater_register B ( // .data(bus) ); -assign bus[3:0] = INS_out[3:0]; +wire [7:0] INS_out_full; eater_register INS ( .clk_in(clk_in), .en_store_in(bus_to_INS), .en_output_in(INS_to_bus), .data_in(bus), - .bus_out(INS_out), - .always_out() + .bus_out(), + .always_out(INS_out_full) // .data(INS_out) ); +// 4 LSB go from INS to BUS +wire [7:0] INS_to_bus_interm = {4'b0, INS_out_full[3:0]}; + +zbuffer INS_to_bus_buffer ( + .data_in(INS_to_bus_interm), + .en_output_in(INS_to_bus), + .data_out(bus) +); + tri [7:0] MEM_ADR_out; tri [3:0] RAM_adr_in = MEM_ADR_out[3:0]; |
