1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-05 23:54:41 +00:00

Archie: transfer hsync to cpuclk domain for using in MEMC

This commit is contained in:
Gyorgy Szombathelyi
2019-10-21 19:52:32 +02:00
parent 40e8f7e844
commit 434ea845de
2 changed files with 7 additions and 5 deletions

View File

@@ -125,6 +125,7 @@ module archimedes_top(
(*KEEP="TRUE"*)wire rom_low_cs/* synthesis keep */ ;
wire [5:0] ioc_cin, ioc_cout;
wire hsync_cpu;
a23_core ARM(
@@ -182,7 +183,7 @@ memc MEMC(
.mem_cti_o ( MEM_CTI_O ),
// vidc interface
.hsync ( HSYNC ),
.hsync ( hsync_cpu ),
.flybk ( vid_flybk ),
.vidrq ( vid_req ),
.vidak ( vid_ack ),
@@ -211,7 +212,8 @@ vidc VIDC(
.cpu_dat ( cpu_dat_o ),
// memc
.flybk ( vid_flybk ),
.flybk ( vid_flybk ),
.hsync_cpu ( hsync_cpu ),
.vidak ( vid_ack ),
.vidrq ( vid_req ),
.sndak ( snd_ack ),
@@ -303,7 +305,7 @@ podules PODULES(
.wb_dat_o ( pod_dat_o ),
.wb_dat_i ( cpu_dat_o[15:0] ),
.wb_adr ( cpu_address[15:2] ),
.wb_adr ( cpu_address[15:2] )
);
wire [7:0] floppy_dat_o;

View File

@@ -46,7 +46,8 @@ module vidc(
output sndrq,
output flybk,
output reg hsync_cpu,
// video outputs
output hsync,
output vsync,
@@ -102,7 +103,6 @@ wire snd_load;
// internal data request lines
wire currq_int;
wire vidrq_int;
reg hsync_cpu;
reg cepix;