Altera_Forum
Honored Contributor
13 years agoMy First CPU but.. one problem
Hello to all,
I completed my first CPU in VHDL, an incredibly satisfying feeling! : D I simulated successfully but I did not understand what it means to a signal colored red in ModelSim: http://imageshack.us/a/img824/7039/modelsimproblem.png (http://imageshack.us/photo/my-images/824/modelsimproblem.png/) I notice the signal that is in red has a change of more bits at the same time, it is perhaps hazard or something? How can I eliminate the problem in the case? The register in question is an SRAM synthesized with normal flip-flop, the writing of a data element in memory involves a change of more bits and seems to require two clock pulses to stabilize the signal .. VHDL code is attached