data/full_repos/permissive/46989236/instruction_decoder/instr_dec.v
1: b'%Error: data/full_repos/permissive/46989236/instruction_decoder/instr_dec.v:10: Cannot find include file: attributes.v\n`include "attributes.v" \n         ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/46989236/instruction_decoder,data/full_repos/permissive/46989236/attributes.v\n             data/full_repos/permissive/46989236/instruction_decoder,data/full_repos/permissive/46989236/attributes.v.v\n             data/full_repos/permissive/46989236/instruction_decoder,data/full_repos/permissive/46989236/attributes.v.sv\n             attributes.v\n             attributes.v.v\n             attributes.v.sv\n             obj_dir/attributes.v\n             obj_dir/attributes.v.v\n             obj_dir/attributes.v.sv\n%Error: data/full_repos/permissive/46989236/instruction_decoder/instr_dec.v:2: Define or directive not defined: \'`INSTR_WIDTH\'\ninput [`INSTR_WIDTH-1:0] instr,\n       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/46989236/instruction_decoder/instr_dec.v:5: Define or directive not defined: \'`REG_WIDTH\'\noutput reg [`REG_WIDTH-1:0]b,c,\n            ^~~~~~~~~~\n%Error: data/full_repos/permissive/46989236/instruction_decoder/instr_dec.v:6: Define or directive not defined: \'`OP_WIDTH\'\noutput reg [`OP_WIDTH-1:0]opcode\n            ^~~~~~~~~\n%Error: Exiting due to 4 error(s)\n'
module instr_dec(
input [`INSTR_WIDTH-1:0] instr,
input triggered,check_busy,
output reg trigger,indicate_busy,
output reg [`REG_WIDTH-1:0]b,c,
output reg [`OP_WIDTH-1:0]opcode
);

initial begin
`include "attributes.v"
end

always @ (triggered)
begin
if (triggered)
begin
indicate_busy = 1'b1;
{opcode,b,c} = instr;
end
else
$display("Waiting");
end

always @ (check_busy)
if (check_busy)
trigger = 1'b0;
else
begin
trigger = 1'b1;
indicate_busy = 1'b0;
end
endmodule
module instr_dec(
input [`INSTR_WIDTH-1:0] instr,
input triggered,check_busy,
output reg trigger,indicate_busy,
output reg [`REG_WIDTH-1:0]b,c,
output reg [`OP_WIDTH-1:0]opcode
);


initial begin
`include "attributes.v"
end

always @ (triggered)
begin
if (triggered)
begin
indicate_busy = 1'b1;
{opcode,b,c} = instr;
end
else
$display("Waiting");
end

always @ (check_busy)
if (check_busy)
trigger = 1'b0;
else
begin
trigger = 1'b1;
indicate_busy = 1'b0;
end
endmodule