data/full_repos/permissive/445695969/src_rtl/unprotected/romulus_datapath.v
1: b'%Error: data/full_repos/permissive/445695969/src_rtl/unprotected/romulus_datapath.v:8: Cannot find include file: romulus_config_pkg.v\n`include "romulus_config_pkg.v" \n         ^~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/445695969/src_rtl/unprotected,data/full_repos/permissive/445695969/romulus_config_pkg.v\n             data/full_repos/permissive/445695969/src_rtl/unprotected,data/full_repos/permissive/445695969/romulus_config_pkg.v.v\n             data/full_repos/permissive/445695969/src_rtl/unprotected,data/full_repos/permissive/445695969/romulus_config_pkg.v.sv\n             romulus_config_pkg.v\n             romulus_config_pkg.v.v\n             romulus_config_pkg.v.sv\n             obj_dir/romulus_config_pkg.v\n             obj_dir/romulus_config_pkg.v.v\n             obj_dir/romulus_config_pkg.v.sv\n%Error: data/full_repos/permissive/445695969/src_rtl/unprotected/romulus_datapath.v:180: Cannot find include file: romulus_config_pkg.v\n`include "romulus_config_pkg.v" \n         ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/445695969/src_rtl/unprotected/romulus_datapath.v:254: Cannot find include file: romulus_config_pkg.v\n`include "romulus_config_pkg.v" \n         ^~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/445695969/src_rtl/unprotected/romulus_datapath.v:295: Cannot find include file: romulus_config_pkg.v\n`include "romulus_config_pkg.v" \n         ^~~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n'
module lfsr_gf56 (

   so,

   si, domain
   ) ;
   output [127:0] so;
   input [127:0]  si;
   input [7:0]   domain;

   wire [55:0]   lfsr, lfsrs, lfsrn;

   assign lfsr = {
                  si[ 7+64+8: 0+64+8],
		              si[15+64+8: 8+64+8],
		              si[23+64+8:16+64+8],
		              si[31+64+8:24+64+8],
		              si[39+64+8:32+64+8],
		              si[47+64+8:40+64+8],
		              si[55+64+8:48+64+8]
		              };

   assign lfsrs = {lfsr[54:0],lfsr[55]};
   assign lfsrn = lfsrs ^ {lfsr[55],2'b0,lfsr[55],1'b0,lfsr[55],2'b0};

   assign so = {lfsrn[7:0],
		            lfsrn[15:8],
		            lfsrn[23:16],
		            lfsrn[31:24],
		            lfsrn[39:32],
		            lfsrn[47:40],
		            lfsrn[55:48],
		            domain,
                64'h00};

endmodule
module lfsr_gf56 (

   so,

   si, domain
   ) ;

   output [127:0] so;
   input [127:0]  si;
   input [7:0]   domain;

   wire [55:0]   lfsr, lfsrs, lfsrn;

   assign lfsr = {
                  si[ 7+64+8: 0+64+8],
		              si[15+64+8: 8+64+8],
		              si[23+64+8:16+64+8],
		              si[31+64+8:24+64+8],
		              si[39+64+8:32+64+8],
		              si[47+64+8:40+64+8],
		              si[55+64+8:48+64+8]
		              };

   assign lfsrs = {lfsr[54:0],lfsr[55]};
   assign lfsrn = lfsrs ^ {lfsr[55],2'b0,lfsr[55],1'b0,lfsr[55],2'b0};

   assign so = {lfsrn[7:0],
		            lfsrn[15:8],
		            lfsrn[23:16],
		            lfsrn[31:24],
		            lfsrn[39:32],
		            lfsrn[47:40],
		            lfsrn[55:48],
		            domain,
                64'h00};

endmodule