data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/upmain_sample.v
1: b"%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/upmain_sample.v:213: Cannot find file containing module: 'rwsgen'\nrwsgen rwsgen311 (clk311,rst_,eupce_,euprnw,upws_311,uprs_311,scanmode);\n^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro,data/full_repos/permissive/530013823/rwsgen\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro,data/full_repos/permissive/530013823/rwsgen.v\n             data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro,data/full_repos/permissive/530013823/rwsgen.sv\n             rwsgen\n             rwsgen.v\n             rwsgen.sv\n             obj_dir/rwsgen\n             obj_dir/rwsgen.v\n             obj_dir/rwsgen.sv\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/upmain_sample.v:217: Cannot find file containing module: 'rwsgen'\nrwsgen rwsgen155 (clk155,rst_,eupce_,euprnw,upws_155,uprs_155,scanmode);\n^~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/upmain_sample.v:221: Cannot find file containing module: 'rwsgen'\nrwsgen rwsgen208 (clk208,rst_,eupce_,euprnw,upws_208,uprs_208,scanmode);\n^~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/upmain_sample.v:322: Cannot find file containing module: 'rdygen'\nrdygen rdygen311 (rst_,clk311,eupce_,scanmode,uprdy_311,uprdygen[0]);\n^~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/upmain_sample.v:323: Cannot find file containing module: 'rdygen'\nrdygen rdygen115 (rst_,clk155,eupce_,scanmode,uprdy_155,uprdygen[1]);\n^~~~~~\n%Error: data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/macro/upmain_sample.v:324: Cannot find file containing module: 'rdygen'\nrdygen rdygen208 (rst_,clk208,eupce_,scanmode,uprdy_208,uprdygen[2]);\n^~~~~~\n%Error: Exiting due to 6 error(s)\n"
module upmain
    (

     rst_,
     clk311,
     clk155,
     clk208,
     

     eupa,       
     eupce_,
     euprnw,
     eupdi,
     eupdo,
     eupack,
     eupint,


     


     upa,
     upactive,
     updi,


     uprs_311,
     upws_311,
     

     uprs_155,
     upws_155,
     

     uprs_208,
     upws_208,


     upen_xdemap_311,
     upen_xdemap_155,
     upen_xdemap_208,
     upen_xplp_311,
     upen_xplp_155,
     upen_xplp1,
     upen_xplp2,
     upen_xif,
     upen_pmap_311,
     upen_pmap_155,
     upen_pplp_311,
     upen_pplp_155,
     upen_pif,
     

     updo_xdemap_311,
     uprdy_xdemap_311,
     upint_xdemap_311,
     updo_xdemap_155,
     uprdy_xdemap_155,
     upint_xdemap_155,
     updo_xdemap_208,
     uprdy_xdemap_208,
     upint_xdemap_208,
     updo_xplp_311,
     uprdy_xplp_311,
     upint_xplp_311,
     updo_xplp_155,
     uprdy_xplp_155,
     upint_xplp_155,
     updo_xif,
     uprdy_xif,
     upint_xif,

     updo_pmap_311,
     uprdy_pmap_311,
     upint_pmap_311,
     updo_pmap_155,
     uprdy_pmap_155,
     upint_pmap_155,
     updo_pplp_311,
     uprdy_pplp_311,
     upint_pplp_311,
     updo_pplp_155,
     uprdy_pplp_155,
     upint_pplp_155,
     updo_pif,
     uprdy_pif,
     upint_pif,


     scanmode

     );





input           rst_;
input           clk311;
input           clk155;
input           clk208;


input [23:0]    eupa;
input           eupce_;
input           euprnw;
input [31:0]    eupdi;
output [31:0]   eupdo;
output          eupack;
output          eupint;


     


output [23:0]   upa;
output          upactive;
output [31:0]   updi;


output          uprs_311;
output          upws_311;
     

output          uprs_155;
output          upws_155;
     

output          uprs_208;
output          upws_208;
     

output          upen_xdemap_311;
output          upen_xdemap_155;
output          upen_xdemap_208;
output          upen_xplp_311;
output          upen_xplp_155;
output          upen_xplp1;
output          upen_xplp2;
output          upen_xif;
output          upen_pmap_311;
output          upen_pmap_155;
output          upen_pplp_311;
output          upen_pplp_155;
output          upen_pif;


input [31:0]    updo_xdemap_311;
input           uprdy_xdemap_311;
input           upint_xdemap_311;
input [31:0]    updo_xdemap_155;
input           uprdy_xdemap_155;
input           upint_xdemap_155;
input [31:0]    updo_xdemap_208;
input           uprdy_xdemap_208;
input           upint_xdemap_208;
input [31:0]    updo_xplp_311;
input           uprdy_xplp_311;
input           upint_xplp_311;
input [31:0]    updo_xplp_155;
input           uprdy_xplp_155;
input           upint_xplp_155;
input [31:0]    updo_xif;
input           uprdy_xif;
input           upint_xif;

input [31:0]    updo_pmap_311;
input           uprdy_pmap_311;
input           upint_pmap_311;
input [31:0]    updo_pmap_155;
input           uprdy_pmap_155;
input           upint_pmap_155;
input [31:0]    updo_pplp_311;
input           uprdy_pplp_311;
input           upint_pplp_311;
input [31:0]    updo_pplp_155;
input           uprdy_pplp_155;
input           upint_pplp_155;
input [31:0]    updo_pif;
input           uprdy_pif;
input           upint_pif;

input           scanmode;
         


wire            uprs;
wire            upws;
wire            upen_main;


assign upa      = eupa;
assign updi     = eupdi;



wire            eupce311_;
rwsgen rwsgen311 (clk311,rst_,eupce_,euprnw,upws_311,uprs_311,scanmode);


wire            eupce155_;
rwsgen rwsgen155 (clk155,rst_,eupce_,euprnw,upws_155,uprs_155,scanmode);


wire            eupce208_;
rwsgen rwsgen208 (clk208,rst_,eupce_,euprnw,upws_208,uprs_208,scanmode);


wire            upen_xdemap;
wire            upen_xplp;
wire            upen_pmap;
wire            upen_pplp;
assign upen_main    = upa[23:21] == 3'b000;
assign upen_xdemap  = upa[23:21] == 3'b000;
assign upen_xplp    = upa[23:21] == 3'b001;
assign upen_xplp1   = (upa[23:21] == 3'b001) & (upa[20:19] == 2'b01);
assign upen_xplp2   = (upa[23:21] == 3'b001) & (upa[20:19] == 2'b10);
assign upen_xif     = upa[23:21] == 3'b010;
assign upen_pmap    = upa[23:21] == 3'b100;
assign upen_pplp    = upa[23:21] == 3'b101;
assign upen_pif     = upa[23:21] == 3'b110;

assign upen_xdemap_311  = upen_xdemap & (upa[20:19] == 2'b00);
assign upen_xdemap_155  = upen_xdemap & (upa[20:19] == 2'b01);
assign upen_xdemap_208  = upen_xdemap & (upa[20:19] == 2'b10);
assign upen_xplp_311    = upen_xplp & (!upa[20]);
assign upen_xplp_155    = upen_xplp & upa[20];
assign upen_pmap_311    = upen_pmap & (!upa[20]);
assign upen_pmap_155    = upen_pmap & upa[20];
assign upen_pplp_311    = upen_pplp & (!upa[20]);
assign upen_pplp_155    = upen_pplp & upa[20];



wire            upint_311,upint_155,upint_208,upint_main;
wire            uprdy_311,uprdy_155,uprdy_208,uprdy_main;
wire [31:0]     updo_311,updo_155,updo_208,updo_main;

assign upint_main   = 1'b0;
assign uprdy_main   = 1'b0;
assign updo_main    = 32'b0;

assign upint_311    = upint_xdemap_311 | upint_xplp_311 | 
                      upint_pmap_311   | upint_pplp_311 | upint_pif |
                      upint_main;




assign uprdy_311    = upen_xdemap_311   ? uprdy_xdemap_311  :
                      upen_xplp_311     ? uprdy_xplp_311    :
                      upen_pmap_311     ? uprdy_pmap_311    :
                      upen_pplp_311     ? uprdy_pplp_311    :
                      upen_pif          ? uprdy_pif         :
                                          uprdy_main;
assign updo_311     = upen_xdemap_311   ? updo_xdemap_311   :
                      upen_xplp_311     ? updo_xplp_311     :
                      upen_pmap_311     ? updo_pmap_311     :
                      upen_pplp_311     ? updo_pplp_311     :
                      upen_pif          ? updo_pif          :
                                          updo_main;








assign upint_155    = upint_xdemap_155 | upint_xplp_155 |
                      upint_pmap_155   | upint_pplp_155;




assign uprdy_155    = upen_xdemap_155   ? uprdy_xdemap_155  :
                      upen_xplp_155     ? uprdy_xplp_155    :
                      upen_pmap_155     ? uprdy_pmap_155    :
                                          uprdy_pplp_155;
assign updo_155     = upen_xdemap_155   ? updo_xdemap_155   :
                      upen_xplp_155     ? updo_xplp_155     :
                      upen_pmap_155     ? updo_pmap_155     :
                                          updo_pplp_155;






assign upint_208    = upint_xdemap_208 | upint_xif;





assign uprdy_208    = upen_xdemap_208   ? uprdy_xdemap_208  :
                                          uprdy_xif;
assign updo_208     = upen_xdemap_208   ? updo_xdemap_208   :
                                          updo_xif;






wire [2:0]  uprdygen;
rdygen rdygen311 (rst_,clk311,eupce_,scanmode,uprdy_311,uprdygen[0]);
rdygen rdygen115 (rst_,clk155,eupce_,scanmode,uprdy_155,uprdygen[1]);
rdygen rdygen208 (rst_,clk208,eupce_,scanmode,uprdy_208,uprdygen[2]);

wire        eupack;
assign eupack       = |uprdygen;


wire        eupint;
assign eupdo    = updo_311 | updo_155 | updo_208;
assign eupint   = upint_311 | upint_155 | upint_208;


assign upactive = 1'b0;


endmodule
module upmain
    (

     rst_,
     clk311,
     clk155,
     clk208,
     

     eupa,       
     eupce_,
     euprnw,
     eupdi,
     eupdo,
     eupack,
     eupint,


     


     upa,
     upactive,
     updi,


     uprs_311,
     upws_311,
     

     uprs_155,
     upws_155,
     

     uprs_208,
     upws_208,


     upen_xdemap_311,
     upen_xdemap_155,
     upen_xdemap_208,
     upen_xplp_311,
     upen_xplp_155,
     upen_xplp1,
     upen_xplp2,
     upen_xif,
     upen_pmap_311,
     upen_pmap_155,
     upen_pplp_311,
     upen_pplp_155,
     upen_pif,
     

     updo_xdemap_311,
     uprdy_xdemap_311,
     upint_xdemap_311,
     updo_xdemap_155,
     uprdy_xdemap_155,
     upint_xdemap_155,
     updo_xdemap_208,
     uprdy_xdemap_208,
     upint_xdemap_208,
     updo_xplp_311,
     uprdy_xplp_311,
     upint_xplp_311,
     updo_xplp_155,
     uprdy_xplp_155,
     upint_xplp_155,
     updo_xif,
     uprdy_xif,
     upint_xif,

     updo_pmap_311,
     uprdy_pmap_311,
     upint_pmap_311,
     updo_pmap_155,
     uprdy_pmap_155,
     upint_pmap_155,
     updo_pplp_311,
     uprdy_pplp_311,
     upint_pplp_311,
     updo_pplp_155,
     uprdy_pplp_155,
     upint_pplp_155,
     updo_pif,
     uprdy_pif,
     upint_pif,


     scanmode

     );






input           rst_;
input           clk311;
input           clk155;
input           clk208;


input [23:0]    eupa;
input           eupce_;
input           euprnw;
input [31:0]    eupdi;
output [31:0]   eupdo;
output          eupack;
output          eupint;


     


output [23:0]   upa;
output          upactive;
output [31:0]   updi;


output          uprs_311;
output          upws_311;
     

output          uprs_155;
output          upws_155;
     

output          uprs_208;
output          upws_208;
     

output          upen_xdemap_311;
output          upen_xdemap_155;
output          upen_xdemap_208;
output          upen_xplp_311;
output          upen_xplp_155;
output          upen_xplp1;
output          upen_xplp2;
output          upen_xif;
output          upen_pmap_311;
output          upen_pmap_155;
output          upen_pplp_311;
output          upen_pplp_155;
output          upen_pif;


input [31:0]    updo_xdemap_311;
input           uprdy_xdemap_311;
input           upint_xdemap_311;
input [31:0]    updo_xdemap_155;
input           uprdy_xdemap_155;
input           upint_xdemap_155;
input [31:0]    updo_xdemap_208;
input           uprdy_xdemap_208;
input           upint_xdemap_208;
input [31:0]    updo_xplp_311;
input           uprdy_xplp_311;
input           upint_xplp_311;
input [31:0]    updo_xplp_155;
input           uprdy_xplp_155;
input           upint_xplp_155;
input [31:0]    updo_xif;
input           uprdy_xif;
input           upint_xif;

input [31:0]    updo_pmap_311;
input           uprdy_pmap_311;
input           upint_pmap_311;
input [31:0]    updo_pmap_155;
input           uprdy_pmap_155;
input           upint_pmap_155;
input [31:0]    updo_pplp_311;
input           uprdy_pplp_311;
input           upint_pplp_311;
input [31:0]    updo_pplp_155;
input           uprdy_pplp_155;
input           upint_pplp_155;
input [31:0]    updo_pif;
input           uprdy_pif;
input           upint_pif;

input           scanmode;
         


wire            uprs;
wire            upws;
wire            upen_main;


assign upa      = eupa;
assign updi     = eupdi;



wire            eupce311_;
rwsgen rwsgen311 (clk311,rst_,eupce_,euprnw,upws_311,uprs_311,scanmode);


wire            eupce155_;
rwsgen rwsgen155 (clk155,rst_,eupce_,euprnw,upws_155,uprs_155,scanmode);


wire            eupce208_;
rwsgen rwsgen208 (clk208,rst_,eupce_,euprnw,upws_208,uprs_208,scanmode);


wire            upen_xdemap;
wire            upen_xplp;
wire            upen_pmap;
wire            upen_pplp;
assign upen_main    = upa[23:21] == 3'b000;
assign upen_xdemap  = upa[23:21] == 3'b000;
assign upen_xplp    = upa[23:21] == 3'b001;
assign upen_xplp1   = (upa[23:21] == 3'b001) & (upa[20:19] == 2'b01);
assign upen_xplp2   = (upa[23:21] == 3'b001) & (upa[20:19] == 2'b10);
assign upen_xif     = upa[23:21] == 3'b010;
assign upen_pmap    = upa[23:21] == 3'b100;
assign upen_pplp    = upa[23:21] == 3'b101;
assign upen_pif     = upa[23:21] == 3'b110;

assign upen_xdemap_311  = upen_xdemap & (upa[20:19] == 2'b00);
assign upen_xdemap_155  = upen_xdemap & (upa[20:19] == 2'b01);
assign upen_xdemap_208  = upen_xdemap & (upa[20:19] == 2'b10);
assign upen_xplp_311    = upen_xplp & (!upa[20]);
assign upen_xplp_155    = upen_xplp & upa[20];
assign upen_pmap_311    = upen_pmap & (!upa[20]);
assign upen_pmap_155    = upen_pmap & upa[20];
assign upen_pplp_311    = upen_pplp & (!upa[20]);
assign upen_pplp_155    = upen_pplp & upa[20];



wire            upint_311,upint_155,upint_208,upint_main;
wire            uprdy_311,uprdy_155,uprdy_208,uprdy_main;
wire [31:0]     updo_311,updo_155,updo_208,updo_main;

assign upint_main   = 1'b0;
assign uprdy_main   = 1'b0;
assign updo_main    = 32'b0;

assign upint_311    = upint_xdemap_311 | upint_xplp_311 | 
                      upint_pmap_311   | upint_pplp_311 | upint_pif |
                      upint_main;




assign uprdy_311    = upen_xdemap_311   ? uprdy_xdemap_311  :
                      upen_xplp_311     ? uprdy_xplp_311    :
                      upen_pmap_311     ? uprdy_pmap_311    :
                      upen_pplp_311     ? uprdy_pplp_311    :
                      upen_pif          ? uprdy_pif         :
                                          uprdy_main;
assign updo_311     = upen_xdemap_311   ? updo_xdemap_311   :
                      upen_xplp_311     ? updo_xplp_311     :
                      upen_pmap_311     ? updo_pmap_311     :
                      upen_pplp_311     ? updo_pplp_311     :
                      upen_pif          ? updo_pif          :
                                          updo_main;








assign upint_155    = upint_xdemap_155 | upint_xplp_155 |
                      upint_pmap_155   | upint_pplp_155;




assign uprdy_155    = upen_xdemap_155   ? uprdy_xdemap_155  :
                      upen_xplp_155     ? uprdy_xplp_155    :
                      upen_pmap_155     ? uprdy_pmap_155    :
                                          uprdy_pplp_155;
assign updo_155     = upen_xdemap_155   ? updo_xdemap_155   :
                      upen_xplp_155     ? updo_xplp_155     :
                      upen_pmap_155     ? updo_pmap_155     :
                                          updo_pplp_155;






assign upint_208    = upint_xdemap_208 | upint_xif;





assign uprdy_208    = upen_xdemap_208   ? uprdy_xdemap_208  :
                                          uprdy_xif;
assign updo_208     = upen_xdemap_208   ? updo_xdemap_208   :
                                          updo_xif;






wire [2:0]  uprdygen;
rdygen rdygen311 (rst_,clk311,eupce_,scanmode,uprdy_311,uprdygen[0]);
rdygen rdygen115 (rst_,clk155,eupce_,scanmode,uprdy_155,uprdygen[1]);
rdygen rdygen208 (rst_,clk208,eupce_,scanmode,uprdy_208,uprdygen[2]);

wire        eupack;
assign eupack       = |uprdygen;


wire        eupint;
assign eupdo    = updo_311 | updo_155 | updo_208;
assign eupint   = upint_311 | upint_155 | upint_208;


assign upactive = 1'b0;


endmodule