Skip to content

Commit

Permalink
[*] rtlgen code generator implements sorting modules by vhdl library …
Browse files Browse the repository at this point in the history
…which is valid for vhdl code only, but some header order a bit changed in systemc and sv too. No funcitonal changes
  • Loading branch information
sergeykhbr committed Nov 24, 2023
1 parent 3a3acbd commit c0d8720
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion sc/rtl/riscv_soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include "ambalib/types_bus0.h"
#include "ambalib/types_bus1.h"
#include "riverlib/river_cfg.h"
#include "sdctrl/sdctrl_cfg.h"
#include "riverlib/types_river.h"
#include "sdctrl/sdctrl_cfg.h"
#include "../prj/impl/asic/target_cfg.h"
#include "ambalib/axictrl_bus0.h"
#include "ambalib/axi2apb_bus1.h"
Expand Down
2 changes: 1 addition & 1 deletion sc/rtl/riverlib/l2cache/l2_amba.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#pragma once

#include <systemc.h>
#include "../river_cfg.h"
#include "../../ambalib/types_amba.h"
#include "../river_cfg.h"
#include "../types_river.h"

namespace debugger {
Expand Down
2 changes: 1 addition & 1 deletion sc/rtl/riverlib/l2cache/l2_dst.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#pragma once

#include <systemc.h>
#include "../river_cfg.h"
#include "../../ambalib/types_amba.h"
#include "../river_cfg.h"
#include "../types_river.h"

namespace debugger {
Expand Down
2 changes: 1 addition & 1 deletion sc/rtl/riverlib/l2cache/l2serdes.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#pragma once

#include <systemc.h>
#include "../river_cfg.h"
#include "../../ambalib/types_amba.h"
#include "../river_cfg.h"
#include "../types_river.h"

namespace debugger {
Expand Down
2 changes: 1 addition & 1 deletion sc/rtl/riverlib/river_amba.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#pragma once

#include <systemc.h>
#include "river_cfg.h"
#include "../ambalib/types_amba.h"
#include "river_cfg.h"
#include "types_river.h"
#include "../../prj/impl/asic/target_cfg.h"
#include "river_top.h"
Expand Down
2 changes: 1 addition & 1 deletion sc/rtl/riverlib/types_river.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#pragma once

#include <systemc.h>
#include "river_cfg.h"
#include "../ambalib/types_amba.h"
#include "river_cfg.h"

namespace debugger {

Expand Down
2 changes: 1 addition & 1 deletion sc/rtl/riverlib/workgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
#pragma once

#include <systemc.h>
#include "river_cfg.h"
#include "../ambalib/types_amba.h"
#include "../ambalib/types_pnp.h"
#include "river_cfg.h"
#include "types_river.h"
#include "../../prj/impl/asic/target_cfg.h"
#include "dmi/dmidebug.h"
Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riscv_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ import types_pnp_pkg::*;
import types_bus0_pkg::*;
import types_bus1_pkg::*;
import river_cfg_pkg::*;
import sdctrl_cfg_pkg::*;
import types_river_pkg::*;
import sdctrl_cfg_pkg::*;
import target_cfg_pkg::*;
import riscv_soc_pkg::*;

Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riscv_soc_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import types_pnp_pkg::*;
import types_bus0_pkg::*;
import types_bus1_pkg::*;
import river_cfg_pkg::*;
import sdctrl_cfg_pkg::*;
import types_river_pkg::*;
import sdctrl_cfg_pkg::*;
import target_cfg_pkg::*;


Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/l2cache/l2_amba.sv
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ module L2Amba #(
output types_river_pkg::axi4_l2_out_type o_msto
);

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;
import l2_amba_pkg::*;

Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/l2cache/l2_amba_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
//
package l2_amba_pkg;

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;

localparam bit [1:0] idle = 2'h0;
Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/l2cache/l2_dst.sv
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ module L2Destination #(
output logic [river_cfg_pkg::L1CACHE_BYTES_PER_LINE-1:0] o_req_wstrb
);

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;
import l2_dst_pkg::*;

Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/l2cache/l2_dst_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
//
package l2_dst_pkg;

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;

localparam bit [2:0] Idle = 3'h0;
Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/l2cache/l2serdes.sv
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ module L2SerDes #(
output types_amba_pkg::axi4_master_out_type o_msto
);

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;
import l2serdes_pkg::*;

Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/l2cache/l2serdes_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
//
package l2serdes_pkg;

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;

localparam int linew = L2CACHE_LINE_BITS;
Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/river_amba.sv
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ module RiverAmba #(
input logic [(32 * river_cfg_pkg::CFG_PROGBUF_REG_TOTAL)-1:0] i_progbuf// progam buffer
);

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;
import target_cfg_pkg::*;
import river_amba_pkg::*;
Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/river_amba_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
//
package river_amba_pkg;

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;
import target_cfg_pkg::*;

Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/types_river_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
//
package types_river_pkg;

import river_cfg_pkg::*;
import types_amba_pkg::*;
import river_cfg_pkg::*;



Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/workgroup.sv
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ module Workgroup #(
output logic o_dmreset // reset everything except DMI debug interface
);

import river_cfg_pkg::*;
import types_amba_pkg::*;
import types_pnp_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;
import target_cfg_pkg::*;
import workgroup_pkg::*;
Expand Down
2 changes: 1 addition & 1 deletion sv/rtl/riverlib/workgroup_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
//
package workgroup_pkg;

import river_cfg_pkg::*;
import types_amba_pkg::*;
import types_pnp_pkg::*;
import river_cfg_pkg::*;
import types_river_pkg::*;
import target_cfg_pkg::*;

Expand Down

0 comments on commit c0d8720

Please sign in to comment.