emu-russia / dmgcpu

DMG CPU Reverse Engineering
Creative Commons Zero v1.0 Universal
29 stars 4 forks source link

HDL Solidification #142

Closed ogamespec closed 2 years ago

ogamespec commented 2 years ago

Once the entire HDL is implemented, you need to shake it up, optimize it, document it in places and make sure it is moving at all.

ogamespec commented 2 years ago

For some reason IR = xx.

image

This causes Decoder to return xx too and the Sequencer to go crazy.

ogamespec commented 2 years ago

image

Stabilized the simulation by delays, but now for some reason the CLK is off

ogamespec commented 2 years ago

Fixed posedge DFF / rs_latch. Revisited DataBridge.

Better

image

ogamespec commented 2 years ago

Added abus/bbus bus keepers (transparent DLatches).

image

ogamespec commented 2 years ago

Added cbus/dbus bus keepers.

ogamespec commented 2 years ago

It got much better and stabilized, but still Addr does not increase during NOP (0x00). Closing this Issue in favor of others.

image