data/full_repos/permissive/153023217/mfp_ahb.v
1: b'%Error: data/full_repos/permissive/153023217/mfp_ahb.v:10: Cannot find include file: mfp_ahb_const.vh\n`include "mfp_ahb_const.vh" \n         ^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/153023217,data/full_repos/permissive/153023217/mfp_ahb_const.vh\n             data/full_repos/permissive/153023217,data/full_repos/permissive/153023217/mfp_ahb_const.vh.v\n             data/full_repos/permissive/153023217,data/full_repos/permissive/153023217/mfp_ahb_const.vh.sv\n             mfp_ahb_const.vh\n             mfp_ahb_const.vh.v\n             mfp_ahb_const.vh.sv\n             obj_dir/mfp_ahb_const.vh\n             obj_dir/mfp_ahb_const.vh.v\n             obj_dir/mfp_ahb_const.vh.sv\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:31: Define or directive not defined: \'`MFP_N_SW\'\n    input      [`MFP_N_SW-1 :0] IO_Switch,\n                ^~~~~~~~~\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:32: Define or directive not defined: \'`MFP_N_PB\'\n    input      [`MFP_N_PB-1 :0] IO_PB,\n                ^~~~~~~~~\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:33: Define or directive not defined: \'`MFP_N_LED\'\n    output     [`MFP_N_LED-1:0] IO_LED,\n                ^~~~~~~~~~\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:81: Define or directive not defined: \'`H_RAM_RESET_ADDR_Match\'\n  assign HSEL[0] = (HADDR[28:22] == `H_RAM_RESET_ADDR_Match);  \n                                    ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:81: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n  assign HSEL[0] = (HADDR[28:22] == `H_RAM_RESET_ADDR_Match);  \n                                                           ^\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:82: Define or directive not defined: \'`H_RAM_ADDR_Match\'\n  assign HSEL[1] = (HADDR[28]    == `H_RAM_ADDR_Match);        \n                                    ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:82: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n  assign HSEL[1] = (HADDR[28]    == `H_RAM_ADDR_Match);        \n                                                     ^\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:83: Define or directive not defined: \'`H_LED_ADDR_Match\'\n  assign HSEL[2] = (HADDR[28:22] == `H_LED_ADDR_Match);        \n                                    ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:83: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n  assign HSEL[2] = (HADDR[28:22] == `H_LED_ADDR_Match);        \n                                                     ^\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:84: Define or directive not defined: \'`H_SEVEN_SEG_ADDR_Match\'\n  assign HSEL[3] = (HADDR[28:22] == `H_SEVEN_SEG_ADDR_Match);   \n                                    ^~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/153023217/mfp_ahb.v:84: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n  assign HSEL[3] = (HADDR[28:22] == `H_SEVEN_SEG_ADDR_Match);   \n                                                           ^\n%Error: Exiting due to 12 error(s)\n'
module ahb_decoder
(
    input  [31:0] HADDR,
    output [ 3:0] HSEL
);


  assign HSEL[0] = (HADDR[28:22] == `H_RAM_RESET_ADDR_Match);
  assign HSEL[1] = (HADDR[28]    == `H_RAM_ADDR_Match);
  assign HSEL[2] = (HADDR[28:22] == `H_LED_ADDR_Match);
  assign HSEL[3] = (HADDR[28:22] == `H_SEVEN_SEG_ADDR_Match);
endmodule
module ahb_decoder
(
    input  [31:0] HADDR,
    output [ 3:0] HSEL
);



  assign HSEL[0] = (HADDR[28:22] == `H_RAM_RESET_ADDR_Match);
  assign HSEL[1] = (HADDR[28]    == `H_RAM_ADDR_Match);
  assign HSEL[2] = (HADDR[28:22] == `H_LED_ADDR_Match);
  assign HSEL[3] = (HADDR[28:22] == `H_SEVEN_SEG_ADDR_Match);
endmodule