Move fetch2 <-> icache definitions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Sep 2019 01:26:36 +0000 (11:26 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 30 Sep 2019 01:34:33 +0000 (11:34 +1000)
To a more logical place before decode related ones

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
common.vhdl

index 8f30d95b7990777624ed1a45aebb62add37f2601..bb898a0736e47fd4173156ca6f809b9ff1e2de9b 100644 (file)
@@ -16,6 +16,16 @@ package common is
            nia: std_ulogic_vector(63 downto 0);
        end record;
 
+       type Fetch2ToIcacheType is record
+               req: std_ulogic;
+               addr: std_ulogic_vector(63 downto 0);
+       end record;
+
+       type IcacheToFetch2Type is record
+               ack: std_ulogic;
+               insn: std_ulogic_vector(31 downto 0);
+       end record;
+
        type Fetch2ToDecode1Type is record
                valid: std_ulogic;
                stop_mark : std_ulogic;
@@ -33,16 +43,6 @@ package common is
        end record;
        constant Decode1ToDecode2Init : Decode1ToDecode2Type := (valid => '0', stop_mark => '0', decode => decode_rom_init, others => (others => '0'));
 
-       type Fetch2ToIcacheType is record
-               req: std_ulogic;
-               addr: std_ulogic_vector(63 downto 0);
-       end record;
-
-       type IcacheToFetch2Type is record
-               ack: std_ulogic;
-               insn: std_ulogic_vector(31 downto 0);
-       end record;
-
        type Decode2ToExecute1Type is record
                valid: std_ulogic;
                insn_type: insn_type_t;