diff options
| author | uvok | 2026-01-18 11:49:48 +0100 |
|---|---|---|
| committer | uvok | 2026-01-18 11:49:48 +0100 |
| commit | 8929f093d0fa4ec66bd2e2f05ba9ef10df8518e8 (patch) | |
| tree | 947d8addf649cb271df19f5b9f765275dc2b948e /eater_cpu/eater_computer.sv | |
| parent | 51c6118e85f912e3847ee24fd201dcdef5d5ce03 (diff) | |
eater: Test more signals
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]; |
