Fix ghdlsynth issue in register file
authorAnton Blanchard <anton@linux.ibm.com>
Sat, 11 Jan 2020 03:29:39 +0000 (14:29 +1100)
committerAnton Blanchard <anton@ozlabs.org>
Sat, 11 Jan 2020 03:29:39 +0000 (14:29 +1100)
We need to drive sim_dump_done to keep ghdlsynth happy.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
register_file.vhdl

index 2caa4b5536581b39949ccf3302721ea9c8432e49..6a4c9899df992b613c47478f490dcd2253237b97 100644 (file)
@@ -92,4 +92,9 @@ begin
        end process;
     end generate;
 
+    -- Keep GHDL synthesis happy
+    sim_dump_test_synth: if not SIM generate
+        sim_dump_done <= '0';
+    end generate;
+
 end architecture behaviour;