Remove SIM generic from execute1
authorMichael Neuling <mikey@neuling.org>
Thu, 24 Oct 2019 06:07:58 +0000 (17:07 +1100)
committerMichael Neuling <mikey@neuling.org>
Thu, 24 Oct 2019 23:10:34 +0000 (10:10 +1100)
This does nothing, so remove.

Signed-off-by: Michael Neuling <mikey@neuling.org>
core.vhdl
execute1.vhdl

index 5a269a25278bb625aade7bc47a781e573f8a2560..572e18b1e6cfcf0d14fba80adf64228b2a411bb0 100644 (file)
--- a/core.vhdl
+++ b/core.vhdl
@@ -195,9 +195,6 @@ begin
             );
 
     execute1_0: entity work.execute1
-        generic map (
-            SIM => SIM
-            )
         port map (
             clk => clk,
             flush_out => flush,
index de18a3754cf075ca542935a73ab12b7751f5d8ee..b048c25e7ddef3c514a975ab0db0bea4a88ca025 100644 (file)
@@ -11,9 +11,6 @@ use work.insn_helpers.all;
 use work.ppc_fx_insns.all;
 
 entity execute1 is
-    generic (
-       SIM   : boolean := false
-       );
     port (
        clk   : in std_logic;
 
@@ -334,11 +331,7 @@ begin
            when OP_SIM_CONFIG =>
                -- bit 0 was used to select the microwatt console, which
                -- we no longer support.
-               if SIM = true then
-                   result := x"0000000000000000";
-               else
-                   result := x"0000000000000000";
-               end if;
+               result := x"0000000000000000";
                result_en := '1';
 
            when OP_TDI =>