mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2024-09-27 18:56:28 +00:00
Added a register for Din which resolved issue on Beeb, upped version to 0.26
Change-Id: Ic23e4a212675ca58a4e1ad1ea09a020f54b8fdc3
This commit is contained in:
parent
6d732a01ec
commit
2599920e75
@ -113,7 +113,7 @@ char *triggerStrings[NUM_TRIGGERS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define VERSION "0.25"
|
#define VERSION "0.26"
|
||||||
|
|
||||||
#ifdef EMBEDDED_6502
|
#ifdef EMBEDDED_6502
|
||||||
#define NUM_CMDS 24
|
#define NUM_CMDS 24
|
||||||
|
@ -155,8 +155,14 @@ begin
|
|||||||
Addr <= memory_addr when (memory_rd = '1' or memory_wr = '1') else Addr_int;
|
Addr <= memory_addr when (memory_rd = '1' or memory_wr = '1') else Addr_int;
|
||||||
Sync <= Sync_int;
|
Sync <= Sync_int;
|
||||||
|
|
||||||
Din <= Data;
|
data_latch : process(Phi0)
|
||||||
memory_din <= Data;
|
begin
|
||||||
|
if falling_edge(Phi0) then
|
||||||
|
Din <= Data;
|
||||||
|
memory_din <= Data;
|
||||||
|
end if;
|
||||||
|
end process;
|
||||||
|
|
||||||
Data <= memory_dout when cpu_clk = '0' and memory_wr = '1' else
|
Data <= memory_dout when cpu_clk = '0' and memory_wr = '1' else
|
||||||
Dout when cpu_clk = '0' and R_W_n_int = '0' and memory_rd = '0' else
|
Dout when cpu_clk = '0' and R_W_n_int = '0' and memory_rd = '0' else
|
||||||
(others => 'Z');
|
(others => 'Z');
|
||||||
|
Loading…
Reference in New Issue
Block a user