rlindsberg / 1331IL-VHDL-Design

Microprocessor AR 4003
GNU General Public License v3.0
0 stars 0 forks source link

program_count => program_count + 1; is in the wrong place. #41

Closed gitgnmn closed 6 years ago

gitgnmn commented 6 years ago

Right now the LOGIC process will loop on every clock cycle making the program_counter go up when not intended to. We need to move the incrementation of program_count out from the LOGIC process or at least make it independent of it.

Maybe use a old_program_counter signal like we do with pres_state/new_state?

gitgnmn commented 6 years ago

fixed in https://github.com/rlindsberg/1331IL-VHDL-Design/pull/43/commits/1b99dbbe99d7091361e1696b99e7e38a22d4c645